Cargo Features
[dependencies]
blocking-permit = { version = "1.3.3", default-features = false, features = ["tokio-omnibus", "tokio-oneshot", "tokio-threaded", "tokio-semaphore", "cleaver", "yield-stream", "current-thread", "tangential", "futures-channel", "futures-intrusive"] }
- default = futures-channel
-
See src/lib.rs section on Optional Features
- tokio-omnibus = tokio-oneshot, tokio-semaphore, tokio-threaded
- tokio-oneshot tokio-omnibus? = tokio
-
Enables sync of tokio >=1.0.1, <1.13
- tokio-threaded tokio-omnibus? = tokio
-
Enables rt and rt-multi-thread of tokio >=1.0.1, <1.13
- tokio-semaphore tokio-omnibus? = tokio
-
Enables sync of tokio >=1.0.1, <1.13
- cleaver = bytes
- yield-stream
- current-thread
-
testing hack only
- tangential
-
less interesting benchmarks
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.
- bytes cleaver?
-
Enables bytes >=1.0.0, <1.2
- futures-channel default
- futures-intrusive implicit feature
-
Enables futures-intrusive >=0.3.1, <0.5
futures-intrusive:
Futures based on intrusive data structures - for std and no-std environments
- tokio tokio-oneshot? tokio-semaphore? tokio-threaded?
-
Enables tokio >=1.0.1, <1.13