Cargo Features
[dependencies]
native_db = { version = "0.6.1", default-features = false, features = ["upgrade_0_5_x", "uuid", "chrono", "tokio"] }
- default = upgrade_0_5_x
-
The
upgrade_0_5_x
feature is set by default whenevernative_db
is added without
somewhere in the dependency tree.default-features = false - upgrade_0_5_x default = redb1
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.
- redb1 upgrade_0_5_x
-
Enables redb =1.5.1
Affects
key::inner_key_value_redb1
… - uuid implicit feature
-
Enables uuid
uuid:
A library to generate and parse UUIDs
- chrono implicit feature
-
Enables chrono
chrono:
Date and time library for Rust
- tokio implicit feature
-
Enables tokio
Optional tokio support
Affects
watch::MpscSender
,watch::MpscReceiver
…