# 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.75" name = "iroh-io" version = "0.6.1" authors = [ "rklaehn ", "n0 team", ] description = "async local io" readme = "README.md" keywords = [ "io", "async", "http", ] categories = ["asynchronous"] license = "Apache-2.0 OR MIT" repository = "https://github.com/n0-computer/iroh" [package.metadata.docs.rs] features = [ "x-http", "tokio-io", "stats", ] [dependencies.bytes] version = "1" [dependencies.futures-lite] version = "2.3" [dependencies.pin-project] version = "1" [dependencies.reqwest] version = "0.11" features = ["stream"] optional = true default-features = false [dependencies.smallvec] version = "1" optional = true default-features = false [dependencies.tokio] version = "1" features = [ "io-util", "rt", ] optional = true [dependencies.tokio-util] version = "0.7" optional = true default-features = false [dev-dependencies.axum] version = "0.6" [dev-dependencies.hyper] version = "0.14" features = [ "server", "http1", ] default-features = false [dev-dependencies.proptest] version = "1" [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "1" features = [ "rt", "test-util", "macros", ] [features] default = ["tokio-io"] stats = [] tokio-io = [ "tokio", "smallvec", ] x-http = ["reqwest"]