Cargo Features
[dependencies]
kincir = { version = "0.1.6", default-features = false, features = ["logging", "protobuf"] }
- default = logging
-
The
logging
feature is set by default wheneverkincir
is added without
somewhere in the dependency tree.default-features = false - logging default
-
Affects
kafka::KafkaPublisher
,kafka::KafkaSubscriber
,kincir::logging
,router::Router
… - protobuf = prost
-
Affects
kincir::protobuf
…
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.
- prost protobuf?
-
Enables prost ^0.12