#variables #tera #context #bmbp

bmbp_ctx_vars

BMBP TERA CONTEXT VARS

2 releases

0.1.1 Aug 7, 2024
0.1.0 Aug 7, 2024

#180 in Template engine

30 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