Cargo Features
[dependencies]
hubrt = { version = "0.1.2", default-features = false, features = ["async", "sync"] }
- default = sync
-
The
sync
feature is set by default wheneverhubrt
is added without
somewhere in the dependency tree.default-features = false - async = async-channel, tokio
-
Affects
hubrt::client_async
,hubrt::hub_async
,hubrt::prelude_async
… - sync default = crossbeam
-
Affects
hubrt::client
,hubrt::hub
,hubrt::prelude
…
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.