My own configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
278 B

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