Cargo Features

open-coroutine has no features set by default.

[dependencies]
open-coroutine = { version = "0.6.10", features = ["log", "preemptive", "net", "io_uring", "syscall"] }
default

These default features are set whenever open-coroutine is added without default-features = false somewhere in the dependency tree.

Enables open-coroutine-core and open-coroutine-hook

log

Print some help log.
Enable for default.

Enables log of open-coroutine-core and open-coroutine-hook

preemptive

Provide preemptive scheduling implementation.
Enable for default.

Enables preemptive of open-coroutine-core and open-coroutine-hook

net

Provide net API abstraction and implementation.

Enables net of open-coroutine-core and open-coroutine-hook

io_uring

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

Enables io_uring of open-coroutine-core and open-coroutine-hook

syscall

Provide syscall implementation.

Enables syscall of open-coroutine-core and open-coroutine-hook