Cargo Features
[dependencies]
protocol = { version = "3.4.0", default-features = false, features = ["derive", "high-level-trait", "impl-box", "middleware-compression", "uuid"] }
- default = derive, high-level-trait, middleware-compression, uuid
-
These default features are set whenever
protocol
is added without
somewhere in the dependency tree.default-features = false - derive default = protocol-derive
- high-level-trait default
-
The HighLevel trait is slated to be deprecated. it is horribly designed. sorry.
- impl-box
-
Should be enabled by default but it conflicts with 'high-level-trait' for now.
- middleware-compression default = flate2
-
Affects
middleware::compression
…
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.
- protocol-derive derive
-
Enables protocol-derive
Used in examples
- flate2 middleware-compression
- uuid default
-
Enables uuid ^0.8