Cargo Features
[dependencies]
gzlib = { version = "0.2.84", default-features = false, features = ["id", "proto"] }
- default = id, proto
-
These default features are set whenever
gzlib
is added without
somewhere in the dependency tree.default-features = false - id default
-
Affects
gzlib::id
… - proto default = futures, prost, tokio, tonic
-
Affects
gzlib::proto
…
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.
- futures proto
- prost proto
-
Enables prost ^0.7
- tokio proto
- tonic proto
-
Enables tonic ^0.4.1