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 whenever open-coroutine-hooks 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

io_uring full

Provide io_uring abstraction and implementation.
This feature only works in linux.

Enables io_uring of open-coroutine-core

logs full = log, simplelog

Print some help log.
Enable for default.

Enables logs of open-coroutine-core

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.

log logs?
simplelog logs?