# 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 = "monoio" version = "0.2.4" authors = [ "ChiHai ", "XuShuai ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A thread per core runtime based on iouring." readme = "README.md" keywords = [ "runtime", "iouring", "async", ] categories = [ "asynchronous", "network-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/bytedance/monoio" [lib] name = "monoio" path = "src/lib.rs" [[test]] name = "buf_writter" path = "tests/buf_writter.rs" [[test]] name = "ctrlc_legacy" path = "tests/ctrlc_legacy.rs" [[test]] name = "ctrlc_uring" path = "tests/ctrlc_uring.rs" [[test]] name = "fs_create_dir" path = "tests/fs_create_dir.rs" [[test]] name = "fs_file" path = "tests/fs_file.rs" [[test]] name = "fs_metadata" path = "tests/fs_metadata.rs" [[test]] name = "fs_rename" path = "tests/fs_rename.rs" [[test]] name = "fs_unlink" path = "tests/fs_unlink.rs" [[test]] name = "tcp_accept" path = "tests/tcp_accept.rs" [[test]] name = "tcp_connect" path = "tests/tcp_connect.rs" [[test]] name = "tcp_echo" path = "tests/tcp_echo.rs" [[test]] name = "tcp_into_split" path = "tests/tcp_into_split.rs" [[test]] name = "tcp_split" path = "tests/tcp_split.rs" [[test]] name = "udp" path = "tests/udp.rs" [[test]] name = "uds_cred" path = "tests/uds_cred.rs" [[test]] name = "uds_split" path = "tests/uds_split.rs" [[test]] name = "uds_stream" path = "tests/uds_stream.rs" [[test]] name = "unix_datagram" path = "tests/unix_datagram.rs" [[test]] name = "unix_seqpacket" path = "tests/unix_seqpacket.rs" [[test]] name = "zero_copy" path = "tests/zero_copy.rs" [dependencies.auto-const-array] version = "0.2" [dependencies.bytes] version = "1" optional = true [dependencies.ctrlc] version = "3" optional = true [dependencies.flume] version = "0.11" optional = true [dependencies.fxhash] version = "0.2" [dependencies.lazy_static] version = "1" optional = true [dependencies.libc] version = "0.2" [dependencies.memchr] version = "2.7" [dependencies.mio] version = "0.8" features = [ "net", "os-poll", "os-ext", ] optional = true [dependencies.monoio-macros] version = "0.1.0" optional = true [dependencies.once_cell] version = "1.19.0" optional = true [dependencies.pin-project-lite] version = "0.2" [dependencies.socket2] version = "0.5" features = ["all"] [dependencies.threadpool] version = "1" optional = true [dependencies.tokio] version = "1" optional = true default-features = false [dependencies.tracing] version = "0.1" features = ["std"] optional = true default-features = false [dev-dependencies.futures] version = "0.3" [dev-dependencies.local-sync] version = "0.0.5" [dev-dependencies.tempfile] version = "3.2" [features] async-cancel = [] debug = ["tracing"] default = [ "async-cancel", "bytes", "iouring", "legacy", "macros", "utils", ] iouring = ["io-uring"] legacy = ["mio"] macros = ["monoio-macros"] mkdirat = [] poll-io = [ "tokio", "mio", ] renameat = [] signal = [ "ctrlc", "sync", ] signal-termination = [ "signal", "ctrlc/termination", ] splice = [] sync = [ "flume", "threadpool", "once_cell", ] tokio-compat = ["tokio"] unlinkat = [] unstable = [] utils = ["nix"] zero-copy = [] [target.'cfg(target_os = "linux")'.dependencies.io-uring] version = "0.6" optional = true [target."cfg(unix)".dependencies.nix] version = "0.26" optional = true [target."cfg(windows)".dependencies.windows-sys] version = "0.48.0" features = [ "Win32_Foundation", "Win32_Networking_WinSock", "Win32_System_IO", "Win32_Storage_FileSystem", "Win32_Security", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(loom)"]