# 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 = "io-streams" version = "0.16.3" authors = ["Dan Gohman "] build = "build.rs" exclude = ["/.github"] autobins = false autoexamples = false autotests = false autobenches = false description = "Unbuffered and unlocked I/O streams" readme = "README.md" keywords = ["io"] categories = ["rust-patterns"] license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/sunfishcode/io-streams" [package.metadata.docs.rs] features = [ "use_char_device", "use_socketpair", ] [lib] name = "io_streams" path = "src/lib.rs" [[example]] name = "copy" path = "examples/copy.rs" [[example]] name = "hello-error" path = "examples/hello-error.rs" [[example]] name = "hello-world" path = "examples/hello-world.rs" [[test]] name = "buffered" path = "tests/buffered.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.async-std] version = "1.12.0" optional = true [dependencies.char-device] version = "0.16.0" optional = true [dependencies.duplex] version = "0.16.0" [dependencies.io-extras] version = "0.18.0" features = ["os_pipe"] [dependencies.io-lifetimes] version = "2.0.0" features = ["os_pipe"] default-features = false [dependencies.layered-io] version = "0.23.0" optional = true [dependencies.memchr] version = "2.3.4" [dependencies.parking] version = "2.0.0" [dependencies.socketpair] version = "0.19.0" optional = true [dependencies.system-interface] version = "0.27.0" features = [ "use_os_pipe", "socketpair", ] [dependencies.terminal-io] version = "0.19.0" optional = true [dependencies.tokio] version = "1.8.1" features = [ "fs", "net", ] optional = true [dependencies.utf8-io] version = "0.19.0" optional = true [dev-dependencies.anyhow] version = "1.0.38" [dev-dependencies.cap-tempfile] version = "3.0.0" [dev-dependencies.char-device] version = "0.16.0" [dev-dependencies.duplex] version = "0.16.0" features = ["char-device"] [features] default = [] use_async_std = ["async-std"] use_char_device = [ "char-device", "duplex/char-device", "system-interface/char-device", ] use_socketpair = [ "socketpair", "duplex/socketpair", "system-interface/socketpair", ] use_tokio = [ "tokio", "io-lifetimes/tokio", ] [target.'cfg(not(target_os = "wasi"))'.dependencies.os_pipe] version = "1.0.0" features = ["io_safety"] [target."cfg(not(windows))".dependencies.rustix] version = "0.38.0" features = ["pipe"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(bench)", "cfg(read_initializer)", "cfg(can_vector)", "cfg(clamp)", "cfg(extend_one)", "cfg(pattern)", "cfg(seek_stream_len)", "cfg(shrink_to)", "cfg(toowned_clone_into)", "cfg(try_reserve)", "cfg(unix_socket_peek)", "cfg(windows_by_handle)", "cfg(write_all_vectored)", "cfg(windows_file_type_ext)", ]