Cargo Features
[dependencies]
spacetimedb-lib = { version = "0.8.2", default-features = false, features = ["serde", "cli", "proptest"] }
- default = serde
-
The
serde
feature is set by default wheneverspacetimedb-lib
is added without
somewhere in the dependency tree.default-features = false - serde default
-
Enables serde and serde_with, serde of chrono, serde of spacetimedb-sats
Affects
spacetimedb-lib::recovery
… - cli = clap
-
Affects
spacetimedb-lib::util
… - proptest
-
Allows using
Arbitrary
impls defined in this crate.Enables proptest and proptest-derive
proptest:
For the 'proptest' feature.
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.