diff options
Diffstat (limited to 'src/lib/lib.rs')
-rw-r--r-- | src/lib/lib.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lib/lib.rs b/src/lib/lib.rs deleted file mode 100644 index 311a11f..0000000 --- a/src/lib/lib.rs +++ /dev/null @@ -1,19 +0,0 @@ -const t: &'static str = include_str!("../templates/log.html"); - -pub fn a_fn() -> i32 { - // println!("log.html.tmpl: {}", t); - let template = mustache::compile_str(t).unwrap(); - let _data = mustache::MapBuilder::new() - .insert_str("name", "Venus") - .build(); - - let mut d2 = std::collections::HashMap::new(); - d2.insert("a", "b"); - template.render(&mut std::io::stdout(), &d2). unwrap(); - - 0 -} - -#[test] -fn a_test() { -} |