|
|
|
@ -4,13 +4,10 @@ snippet match
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
snippet envinit |
|
|
|
|
env_logger::init(); |
|
|
|
|
$0 |
|
|
|
|
env_logger::init();$0 |
|
|
|
|
|
|
|
|
|
snippet VERSION |
|
|
|
|
const VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION"); |
|
|
|
|
$0 |
|
|
|
|
const VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION");$0 |
|
|
|
|
|
|
|
|
|
snippet start |
|
|
|
|
log::info!("Starting up ${1:name} v{}...", VERSION.unwrap_or("???"); |
|
|
|
|
$0 |
|
|
|
|
log::info!("Starting up ${1:name} v{}...", VERSION.unwrap_or("???"));$0 |
|
|
|
|