# 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 = "pi_awc" version = "0.1.0" authors = [ "Nikolay Kim ", "fakeshadow <24548779@qq.com>", ] description = "Async HTTP and WebSocket client library" homepage = "https://actix.rs" readme = "README.md" keywords = [ "actix", "http", "framework", "async", "web", ] categories = [ "network-programming", "asynchronous", "web-programming::http-client", "web-programming::websocket", ] license = "MIT OR Apache-2.0" repository = "https://github.com/GaiaWorld/pi_net.git" resolver = "1" [package.metadata.docs.rs] features = [ "rustls", "compress-brotli", "compress-gzip", "compress-zstd", "cookies", ] [lib] name = "awc" path = "src/lib.rs" [[example]] name = "client" required-features = ["rustls"] [dependencies.actix-codec] version = "0.5" [dependencies.actix-http] version = "3" features = [ "http2", "ws", ] [dependencies.actix-rt] version = "2.1" default-features = false [dependencies.actix-service] version = "2" [dependencies.actix-tls] version = "3" features = [ "connect", "uri", ] [dependencies.actix-utils] version = "3" [dependencies.ahash] version = "0.7" [dependencies.base64] version = "0.13" [dependencies.bytes] version = "1" [dependencies.cfg-if] version = "1" [dependencies.cookie] version = "0.16" features = ["percent-encode"] optional = true [dependencies.derive_more] version = "0.99.5" [dependencies.futures-core] version = "0.3" features = ["alloc"] default-features = false [dependencies.futures-util] version = "0.3" features = [ "alloc", "sink", ] default-features = false [dependencies.h2] version = "0.3.9" [dependencies.http] version = "0.2.5" [dependencies.itoa] version = "1" [dependencies.log] version = " 0.4" [dependencies.mime] version = "0.3" [dependencies.percent-encoding] version = "2.1" [dependencies.pin-project-lite] version = "0.2" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.serde_urlencoded] version = "0.7" [dependencies.tls-rustls] version = "0.20.0" features = ["dangerous_configuration"] optional = true package = "rustls" [dependencies.tokio] version = "1.8.4" features = ["sync"] [dependencies.trust-dns-resolver] version = "0.20.0" optional = true [dev-dependencies.actix-http] version = "3" [dev-dependencies.actix-http-test] version = "3.0.0-beta.13" [dev-dependencies.actix-server] version = "2" [dev-dependencies.actix-test] version = "0.1.0-beta.13" [dev-dependencies.actix-tls] version = "3" [dev-dependencies.actix-utils] version = "3" [dev-dependencies.actix-web] version = "4" [dev-dependencies.brotli] version = "3.3.3" [dev-dependencies.const-str] version = "0.3" [dev-dependencies.env_logger] version = "0.9" [dev-dependencies.flate2] version = "1.0.13" [dev-dependencies.futures-util] version = "0.3.7" default-features = false [dev-dependencies.rcgen] version = "0.8" [dev-dependencies.rustls-pemfile] version = "0.2" [dev-dependencies.static_assertions] version = "1.1" [dev-dependencies.tokio] version = "1.13.1" features = [ "rt-multi-thread", "macros", ] [dev-dependencies.zstd] version = "0.10" [features] __compress = [] compress-brotli = [ "actix-http/compress-brotli", "__compress", ] compress-gzip = [ "actix-http/compress-gzip", "__compress", ] compress-zstd = [ "actix-http/compress-zstd", "__compress", ] cookies = ["cookie"] dangerous-h2c = [] default = [ "compress-brotli", "compress-gzip", "compress-zstd", "cookies", ] rustls = [ "tls-rustls", "actix-tls/rustls", ] trust-dns = ["trust-dns-resolver"]