Julio Biason
3 years ago
5 changed files with 49 additions and 0 deletions
@ -0,0 +1 @@
|
||||
Subproject commit 685db3a3c400a2830457d5d326f00fa4b4cf2e7b |
@ -0,0 +1,16 @@
|
||||
snippet header |
||||
+++ |
||||
title = "$1" |
||||
date = `strftime('%Y-%m-%d')` |
||||
|
||||
[taxonomies] |
||||
tags = ["$2"] |
||||
|
||||
[extra.changelog] |
||||
`strftime('%Y-%m-%d')` = "Initial version" |
||||
+++ |
||||
|
||||
$0 |
||||
|
||||
snippet date |
||||
`strftime('%Y-%m-%d')` |
@ -0,0 +1,16 @@
|
||||
snippet match |
||||
match ${1:condition} { |
||||
${2:arm} => $0 |
||||
} |
||||
|
||||
snippet envinit |
||||
env_logger::init(); |
||||
$0 |
||||
|
||||
snippet VERSION |
||||
const VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION"); |
||||
$0 |
||||
|
||||
snippet start |
||||
log::info!("Starting up ${1:name} v{}...", VERSION.unwrap_or("???"); |
||||
$0 |
Loading…
Reference in new issue