You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
f18fde5c77
On some systems the clang include directory cannot be found. This adds the path detected by bindgen's get_include_dir and a manual override via an env var. Thanks to @zerosign for reporting and proposing a solution. |
10 years ago | |
---|---|---|
mongo_c_driver_wrapper | 10 years ago | |
src | 10 years ago | |
.gitignore | 10 years ago | |
Cargo.toml | 10 years ago | |
LICENSE | 10 years ago | |
README.md | 10 years ago |
README.md
Mongo Rust Driver
About
Mongo Rust driver built on top of the Mongo C driver. This drivers aims to be a thin wrapper around the production-ready C driver, while providing a safe and ergonomic Rust interface that handles all the gnarly usage details of the C driver for you.
Bson encoding and decoding is handled by the bson crate, the bindings are generated using bindgen.
The API is experimental, it might change at any time.
Compatibility
The driver currently only builds on Unix, only tested on Mac Os X so far.
Contributing
Contributions are very welcome, only the parts of the C driver we need have been wrapped so far. Please write a test for any behavior you add.