Cargo Features
open-coroutine-hook has no features set by default.
[dependencies]
open-coroutine-hook = { version = "0.6.0", features = ["log", "preemptive", "net", "io_uring", "syscall"] }
- log
-
Print some help log.
Enable for default.Enables log 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
- default
-
These default features are set whenever
open-coroutine-hook
is added without
somewhere in the dependency tree.default-features = false Enables open-coroutine-core