Cargo Features
[dependencies]
open-coroutine = { 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
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 and open-coroutine-hooks
- io_uring full
-
Provide io_uring abstraction and implementation.
This feature only works in linux.Enables io_uring of open-coroutine-core and open-coroutine-hooks
- logs full
-
Print some help log.
Enable for default.Enables logs of open-coroutine-core and open-coroutine-hooks
- full default = io_uring, logs, preemptive-schedule
-
Enable all features