objectid

Crates.ioobjectid
lib.rsobjectid
version0.2.0
sourcesrc
created_at2016-12-14 23:48:54.731024
updated_at2017-02-20 23:51:48.257762
descriptionA Rust implementation of a BSON ObjectId.
homepagehttps://github.com/fengcen/objectid
repositoryhttps://github.com/fengcen/objectid.git
max_upload_size
id7581
size12,711
fvm-crate-owners (github:filecoin-project:fvm-crate-owners)

documentation

https://docs.rs/objectid

README

objectid

docs

A Rust implementation of a BSON ObjectId.

Based on zonyitoo/bson-rs

Modifications:

  1. Improve performance.

  2. Add serde serialize 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.

Commit count: 0

cargo fmt