# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "open-coroutine" version = "0.6.10" authors = ["zhangzicheng@apache.org"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "The open-coroutine is a simple, efficient and generic stackful-coroutine library." readme = "README.md" keywords = [ "coroutine", "fiber", "stackful", "hook", ] categories = [ "data-structures", "concurrency", "asynchronous", "web-programming", "wasm", ] license = "Apache-2.0" repository = "https://github.com/acl-dev/open-coroutine" [lib] name = "open_coroutine" path = "src/lib.rs" [[example]] name = "file_co" path = "examples/file_co.rs" [[example]] name = "file_not_co" path = "examples/file_not_co.rs" [[example]] name = "scalable_stack" path = "examples/scalable_stack.rs" [[example]] name = "sleep_co" path = "examples/sleep_co.rs" [[example]] name = "sleep_not_co" path = "examples/sleep_not_co.rs" [[example]] name = "socket_co" path = "examples/socket_co.rs" [[example]] name = "socket_co_client" path = "examples/socket_co_client.rs" [[example]] name = "socket_co_server" path = "examples/socket_co_server.rs" [[example]] name = "socket_not_co" path = "examples/socket_not_co.rs" [[test]] name = "file_co" path = "tests/file_co.rs" [[test]] name = "file_not_co" path = "tests/file_not_co.rs" [[test]] name = "scalable_stack" path = "tests/scalable_stack.rs" [[test]] name = "sleep_co" path = "tests/sleep_co.rs" [[test]] name = "sleep_not_co" path = "tests/sleep_not_co.rs" [[test]] name = "socket_co" path = "tests/socket_co.rs" [[test]] name = "socket_co_client" path = "tests/socket_co_client.rs" [[test]] name = "socket_co_server" path = "tests/socket_co_server.rs" [[test]] name = "socket_not_co" path = "tests/socket_not_co.rs" [dependencies.libc] version = "0.2" [dependencies.open-coroutine-core] version = "0.6.0" [dependencies.open-coroutine-hook] version = "0.6.0" [dependencies.open-coroutine-macros] version = "0.6.0" [dev-dependencies.tempfile] version = "3" [build-dependencies.cargo_metadata] version = "0.18" default-features = false [build-dependencies.time] version = "0.3" [build-dependencies.tracing] version = "0.1" default-features = false [build-dependencies.tracing-appender] version = "0.2" default-features = false [build-dependencies.tracing-subscriber] version = "0.3" features = [ "fmt", "local-time", ] default-features = false [features] default = [ "open-coroutine-hook/default", "open-coroutine-core/default", ] io_uring = [ "open-coroutine-hook/io_uring", "open-coroutine-core/io_uring", ] log = [ "open-coroutine-hook/log", "open-coroutine-core/log", ] net = [ "open-coroutine-hook/net", "open-coroutine-core/net", ] preemptive = [ "open-coroutine-hook/preemptive", "open-coroutine-core/preemptive", ] syscall = [ "open-coroutine-hook/syscall", "open-coroutine-core/syscall", ] [target."cfg(windows)".dependencies.windows-sys] version = "0.59" features = [ "Win32_Foundation", "Win32_System_Kernel", "Win32_System_Threading", "Win32_System_SystemInformation", "Win32_System_Diagnostics_Debug", ]