Crates.io | objectid |
lib.rs | objectid |
version | 0.2.0 |
source | src |
created_at | 2016-12-14 23:48:54.731024 |
updated_at | 2017-02-20 23:51:48.257762 |
description | A Rust implementation of a BSON ObjectId. |
homepage | https://github.com/fengcen/objectid |
repository | https://github.com/fengcen/objectid.git |
max_upload_size | |
id | 7581 |
size | 12,711 |
A Rust implementation of a BSON ObjectId.
Based on zonyitoo/bson-rs
Modifications:
Improve performance.
Add serde
serialize and deserialize support.
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;
objectid is primarily distributed under the terms of the MIT license. See LICENSE for details.