Cargo Features
[dependencies]
open-coroutine-hooks = { version = "0.5.0", default-features = false, features = ["preemptive-schedule", "io_uring", "logs", "full"] }
- default = full
-
The
full
feature is set by default wheneveropen-coroutine-hooks
is added without
somewhere in the dependency tree.default-features = false - preemptive-schedule full
-
Provide preemptive scheduling implementation.
Enable for default.Enables preemptive-schedule of open-coroutine-core ^0.5.0
- io_uring full
-
Provide io_uring abstraction and implementation.
This feature only works in linux.Enables io_uring of open-coroutine-core ^0.5.0
- logs full = log, simplelog
-
Print some help log.
Enable for default.Enables logs of open-coroutine-core ^0.5.0
- full default = io_uring, logs, preemptive-schedule
-
Enable all features
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.