# 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.56" name = "peekable" version = "0.2.3" description = "Peekable reader and async reader, which enhance your network programming experience." homepage = "https://github.com/al8n/peekable" documentation = "https://docs.rs/peekable" readme = "README.md" keywords = [ "peek", "io", "async", "tokio", "futures", ] categories = [ "asynchronous", "network-programming", "development-tools", ] license = "MIT OR Apache-2.0" repository = "https://github.com/al8n/peekable" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.bytes] version = "1" optional = true [dependencies.futures-util] version = "=0.3.29" features = ["io"] optional = true [dependencies.pin-project-lite] version = "0.2" optional = true [dependencies.smallvec] version = "1" optional = true [dependencies.tokio] version = "1" features = ["io-util"] optional = true default-features = false [dev-dependencies.futures] version = "0.3" features = ["executor"] [dev-dependencies.tokio] version = "1" features = ["full"] [features] default = ["smallvec"] future = [ "futures-util", "pin-project-lite", ] tokio = [ "dep:tokio", "pin-project-lite", "bytes", ]