# 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" rust-version = "1.63" name = "io-extras" version = "0.18.3" authors = ["Dan Gohman "] build = "build.rs" include = [ "src", "build.rs", "Cargo.toml", "COPYRIGHT", "LICENSE*", "/*.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "File/socket handle/descriptor utilities" readme = "README.md" keywords = [ "api", "io", "stream", ] categories = [ "os", "rust-patterns", ] license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/sunfishcode/io-extras" [lib] name = "io_extras" path = "src/lib.rs" [dependencies.async-std] version = "1.13.0" features = ["io_safety"] optional = true [dependencies.io-lifetimes] version = "2.0.0" [dependencies.mio] version = "1.0.2" optional = true [dependencies.os_pipe] version = "1.2.1" optional = true [dependencies.socket2] version = "0.5.7" optional = true [dependencies.tokio] version = "1.6.0" features = [ "io-std", "fs", "net", "process", ] optional = true [dev-dependencies.os_pipe] version = "1.0.0" [features] default = [] use_async_std = ["async-std"] use_mio_net = [ "mio", "mio/net", ] use_mio_os_ext = [ "mio", "mio/os-ext", ] use_os_pipe = ["os_pipe"] use_socket2 = ["socket2"] use_tokio = ["tokio"] [target."cfg(windows)".dependencies.windows-sys] version = "0.52.0" features = [ "Win32_Foundation", "Win32_Networking_WinSock", "Win32_System_Console", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(can_vector)", "cfg(write_all_vectored)", ]