#variables #context #tera #bmbp

bmbp_ctx_vars

BMBP TERA CONTEXT VARS

2 releases

0.1.1 Aug 7, 2024
0.1.0 Aug 7, 2024

#203 in Template engine

29 downloads per month
Used in 2 crates

MIT license

4KB
68 lines

BMBP_CONTEXT_VARS

(&*BMBP_CONTEXT_VARS).set_value("A".to_string(), "B".to_string());
assert_eq!(
   &*BMBP_CONTEXT_VARS.get_value("A".to_string()),
   "B".to_string()
);
assert_eq!(
   &*BMBP_CONTEXT_VARS.get_value("D".to_string()),
   "".to_string()
);

No runtime deps