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 Jan 24, 2022

#1030 in Rust patterns

Download history 13/week @ 2025-02-10 3/week @ 2025-02-17 4/week @ 2025-02-24 6/week @ 2025-03-03 126/week @ 2025-03-31

126 downloads per month
Used in 3 crates

Custom license

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