Cargo Features
[dependencies]
spacetimedb-commitlog = { version = "1.1.1", default-features = false, features = ["streaming", "test", "serde"] }
- default = serde
-
The
serde
feature is set by default wheneverspacetimedb-commitlog
is added without
somewhere in the dependency tree.default-features = false - streaming
-
Enables async-stream, bytes, futures, tokio, and tokio-util
Affects
spacetimedb-commitlog::stream
… - test
-
Enable types + impls useful for testing
Enables env_logger ^0.10
For the 'test' 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.
- serde default