Cargo Features
[dependencies]
tsid = { version = "0.2.0", default-features = false, features = ["debug", "bson_as_string", "serde_as_string", "chrono"] }
- default = debug
-
The
debug
feature is set by default whenevertsid
is added without
somewhere in the dependency tree.default-features = false - debug default
-
Affects
tsid::debug
… - bson_as_string = bson
- serde_as_string = serde
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.
- serde serde_as_string?
-
Affects
tsid::serde
… - bson bson_as_string?
-
Affects
tsid::bson
… - chrono implicit feature
-
Enables chrono
chrono:
Date and time library for Rust
Affects
tsid::chrono
…