Cargo Features
[dependencies]
comet-eventbus = { version = "0.1.0-pre-alpha.4", default-features = false, features = ["async", "sync", "sync_parallel", "bridge"] }
- default = async
-
The
async
feature is set by default whenevercomet-eventbus
is added without
somewhere in the dependency tree.default-features = false - async default bridge? = futures, tokio
- sync sync_parallel? = parking_lot
- sync_parallel = rayon, sync
- bridge = async, bincode, prost, serde, tonic, tonic-build
-
Affects
comet-eventbus::bridge
…
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.
- bincode bridge?
- futures async
- parking_lot sync?
- prost bridge?
-
Enables prost ^0.10
- rayon sync_parallel?
- serde bridge?
- tokio async
- tonic bridge?
-
Enables tonic ^0.7
- tonic-build build bridge?
-
Enables tonic-build ^0.7