Cargo Features
[dependencies]
dittolive-ditto = { version = "4.9.0", default-features = false, features = ["fs-storage", "in-memory-storage", "timeseries", "experimental", "experimental-bus"] }
Note: you'll probably need to update
internal/Cargo.toml
as well.
- default = timeseries
-
These default features are set whenever
dittolive-ditto
is added without
somewhere in the dependency tree.default-features = false Enables dittolive-ditto-sys
- fs-storage
-
Enables fs-storage of dittolive-ditto-sys
- in-memory-storage
-
Enables in-memory-storage of dittolive-ditto-sys
- timeseries default = chrono
-
Affects
store::timeseries
… - experimental experimental-bus?
-
Affects
dittolive-ditto::experimental
… - experimental-bus = dittolive-ditto-base, experimental
-
Enables experimental-bus of dittolive-ditto-base and dittolive-ditto-sys
Affects
experimental::bus
…
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.
Note: you'll probably need to update
internal/Cargo.toml
as well.