2 unstable releases
Uses old Rust 2015
| 0.2.0 | Feb 20, 2017 |
|---|---|
| 0.1.0 | Dec 14, 2016 |
#38 in #bson
100 downloads per month
Used in arthas
12KB
284 lines
objectid
A Rust implementation of a BSON ObjectId.
Based on zonyitoo/bson-rs
Modifications:
- Improve performance.
- Add
serdeserialize and deserialize support.
Document
Usage
Add dependency to Cargo.toml
[dependencies]
objectid = "^0.2"
If you want serde support, enable the serde feature:
[dependencies]
objectid = { version = "^0.2", features = ["serde"] }
In your main.rs or lib.rs:
extern crate objectid;
License
objectid is primarily distributed under the terms of the MIT license. See LICENSE for details.
Dependencies
~4MB
~59K SLoC