stringmap 0.1.0

An immutable string map with pointers into frozen memory that can be shared between C, Ruby, Python and Rust.
1
2
3
4
5
6
7
8
9
10
11
extern crate cheddar;
use cheddar::Cheddar;


fn main() {
    Cheddar::new().expect("Could not read manifest!")
        .module("c").expect("Malformed module path!")
        .run_build("target/include/stringmap.h");
    std::fs::copy("target/include/stringmap.h", "bindings/stringmap.h")
        .expect("Malformed module path!");
}