3 releases (1 stable)
new 1.0.0 | Apr 2, 2025 |
---|---|
0.1.6 | Jun 8, 2022 |
0.1.5 | Feb 23, 2022 |
0.1.1 |
|
#1030 in Rust patterns
126 downloads per month
Used in 3 crates
6KB
139 lines
singlemap
rust singlemap
#[macro_use]
extern crate singlemap;
#[test]
fn test_map(){
single_push!("a",Box::new("aaaa".to_string()));
let straa = single_get_unwrap!("a",String);
println!("rustl:{:?}",straa);
}
Dependencies
~1.3–6MB
~26K SLoC