# 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 = "alhc" version = "0.3.0-alpha.4" authors = ["Steve Xiao "] description = "Async Lightweight HTTP Client: A async http client library that using system library to reduce binary size if possible. (Currently under heavy development)" homepage = "https://github.com/Steve-xmh/alhc" readme = "README.md" keywords = [ "http", "client", "request", "async", ] categories = [ "web-programming", "web-programming::http-client", ] license = "MIT" repository = "https://github.com/Steve-xmh/alhc" [package.metadata.docs.rs] targets = [ "x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "i686-pc-windows-msvc", "i686-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "aarch64-apple-darwin", ] [profile.release] opt-level = "z" lto = true codegen-units = 1 debug = 0 panic = "abort" strip = true [dependencies.anyhow] version = "1.0" optional = true [dependencies.async_t] version = "0.7" optional = true [dependencies.futures-lite] version = "2.3" [dependencies.pin-project-lite] version = "0.2" [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dev-dependencies.futures] version = "0.3" [dev-dependencies.pollster] version = "0.3" [dev-dependencies.smol] version = "2.0" [dev-dependencies.tracing] version = "0.1.37" [dev-dependencies.tracing-subscriber] version = "0.3.17" [features] anyhow = ["dep:anyhow"] async_t_boxed = [ "dep:async_t", "async_t/boxed", ] default = [] serde = [ "dep:serde", "dep:serde_json", ] [target."cfg(target_os = \"windows\")".dependencies.windows-sys] version = "0.52" features = [ "Win32_Foundation", "Win32_Networking_WinHttp", ] [target."cfg(unix)".dependencies.isahc] version = "1.7" default-features = false [target."cfg(unix)".dependencies.once_cell] version = "1"