Cargo Features
[dependencies]
ya-ring-buf = { version = "0.1.0", default-features = false, features = ["std", "async"] }
- default = std
-
The
std
feature is set by default wheneverya-ring-buf
is added without
somewhere in the dependency tree.default-features = false - std default
-
Affects
ya-ring-buf::new_blocking
,tests::std
,tests::r#async
… - async = atomic-waker
-
Affects
ya-ring-buf::new_async
,tests::r#async
…
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.