# 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 = "2018" name = "salvo-utils" version = "0.0.7" authors = ["Sean McArthur "] description = "hyper utilities" homepage = "https://salvo.rs" documentation = "https://docs.rs/salvo-utils" readme = "README.md" keywords = [ "http", "hyper", "hyperium", ] categories = [ "network-programming", "web-programming::http-client", "web-programming::http-server", ] license = "MIT" repository = "https://github.com/salvo-rs/salvo-utils" [[example]] name = "client" required-features = [ "client", "http1", "tcp", "runtime", ] [dependencies.futures-channel] version = "0.3" [dependencies.futures-util] version = "0.3" default-features = false [dependencies.http] version = "1" [dependencies.hyper] version = "1" [dependencies.once_cell] version = "1.17" [dependencies.pin-project-lite] version = "0.2.4" [dependencies.socket2] version = "0.5" [dependencies.tokio] version = "1" features = [ "net", "rt", "time", ] [dependencies.tower] version = "0.4" features = [ "make", "util", ] [dependencies.tower-service] version = "0.3" [dependencies.tracing] version = "0.1" features = ["std"] default-features = false [dev-dependencies.bytes] version = "1" [dev-dependencies.http-body-util] version = "0.1" [dev-dependencies.tokio] version = "1" features = [ "macros", "test-util", ] [features] __internal_happy_eyeballs_tests = [] client = ["hyper/client"] default = [] full = [ "client", "server", "http1", "http2", "tcp", "runtime", ] http1 = ["hyper/http1"] http2 = ["hyper/http2"] runtime = [] server = ["hyper/server"] tcp = [] [target."cfg(any(target_os = \"linux\", target_os = \"macos\"))".dev-dependencies.pnet_datalink] version = "0.34"