Cargo Features

mongod has no features set by default.

mongod = { version = "0.3.5", features = ["blocking", "derive", "chrono"] }

Enables rt and sync of tokio

Affects mongod::blocking

derive = mongod-derive

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

chrono implicit feature

Enables chrono


Date and time library for Rust

mongod-derive derive?