Cargo Features
[dependencies]
tycho = { version = "0.1.2", default-features = false, features = ["partial", "partial_state", "async_tokio", "serde_types", "compression", "serde"] }
- default = serde, serde_optimise, serde_types
-
These default features are set whenever
tycho
is added without
somewhere in the dependency tree.default-features = false - partial
-
Affects
tycho::partial
… - partial_state
- async_tokio = async-trait, futures, tokio, tokio-byteorder
- serde_optimise serde_types default
- compression = flate2
-
Affects
into::compression
,types::PartialCompressionAsync.element_async
…
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.
- async-trait async_tokio?
- flate2 compression?
- futures async_tokio?
- serde default
-
Affects
uuid::UuidBytes
,uuid::UuidVisitor
… - tokio async_tokio?
- tokio-byteorder async_tokio?