stringmap

Crates.iostringmap
lib.rsstringmap
version0.1.0
sourcesrc
created_at2016-12-16 05:48:19.447558
updated_at2016-12-16 05:48:19.447558
descriptionAn immutable string map with pointers into frozen memory that can be shared between C, Ruby, Python and Rust.
homepagehttps://gitlab.com/solidsnack/stringmap/
repositoryhttps://gitlab.com/solidsnack/stringmap.git
max_upload_size
id7615
size11,326
Jason Dusek (solidsnack)

documentation

https://docs.rs/stringmap

README

Provides an immutable map that can be shared between Rust, C, and languages that bind to C in any combination. Python (using cffi) and Ruby (using ffi) bindings are included.

Both the keys and values are returned as pointers to C strings, in memory managed by the map. Callers do not need to free said pointers.

The Ruby (bindings/stringmap.rb) and Python (bindings/stringmap.py) provide examples of usage. In the Python case, the map has been made to conform to the standard mapping interface.

Commit count: 6

cargo fmt