# 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 = "http-lib" version = "0.1.0" authors = ["soywod "] description = "High-level, asynchronous API for ureq, a safe HTTP client" homepage = "https://pimalaya.org/" documentation = "https://docs.rs/http-lib/latest/http/" readme = "README.md" keywords = [ "http", "https", "async", "client", "ureq", ] categories = [ "api-bindings", "asynchronous", "network-programming", ] license = "MIT" repository = "https://github.com/pimalaya/core/tree/master/http/" [package.metadata.docs.rs] features = [] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "http" [dependencies.async-std] version = "1.13" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.23" features = ["rt"] optional = true default-features = false [dependencies.tracing] version = "0.1" [dependencies.ureq] version = "3.0.0-rc.2" features = [ "gzip", "platform-verifier", ] default-features = false [dev-dependencies.async-std] version = "1.13" features = ["attributes"] [dev-dependencies.test-log] version = "0.2" features = [ "color", "trace", ] default-features = false [dev-dependencies.tokio] version = "1.23" features = ["full"] [features] async-std = ["dep:async-std"] default = [ "tokio", "rustls", ] native-tls = ["ureq/native-tls"] rustls = ["ureq/rustls"] tokio = ["dep:tokio"] vendored = []