Cargo Features

open-coroutine-hook has no features set by default.

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

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

Enables open-coroutine-core

log

Print some help log.
Enable for default.

Enables log of open-coroutine-core

ci

This feature only used in open-coroutine inner, don't use it in your project.

Enables ci of open-coroutine-core

preemptive

Provide preemptive scheduling implementation.
Enable for default.

Enables preemptive of open-coroutine-core

net

Provide net API abstraction and implementation.

Enables net of open-coroutine-core

io_uring

Provide io_uring adaptation, this feature only works in linux.

Enables io_uring of open-coroutine-core

syscall

Provide syscall implementation.

Enables syscall of open-coroutine-core