Cargo Features
[dependencies]
tdn_storage = { version = "0.1.0", default-features = false, features = ["local", "distributed", "decentralized"] }
- default = local
-
The
local
feature is set by default whenevertdn_storage
is added without
somewhere in the dependency tree.default-features = false - local default = sled
-
Affects
tdn_storage::local
… - distributed
-
Affects
tdn_storage::distributed
… - decentralized
-
Affects
tdn_storage::decentralized
…
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.