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