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 whenever open-coroutine is added without default-features = false somewhere in the dependency tree.

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