# 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 = "reywen_http" version = "0.1.18" description = "A simple and easy to use HTTPv2 library for Rust (based on tokio/reqwest)" readme = "README.md" license = "GPL-3.0-only" [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.hyper] version = "0.14.27" optional = true [dependencies.hyper-rustls] version = "0.24.0" optional = true [dependencies.hyper-tls] version = "0.5.0" optional = true [dependencies.js-sys] version = "0.3.64" optional = true [dependencies.reqwasm] version = "0.5.0" optional = true [dependencies.reqwest] version = "0.11.22" optional = true [dependencies.serde] version = "1.0.188" optional = true default-features = false [dependencies.serde_json] version = "1.0.107" features = ["std"] optional = true default-features = false [dependencies.tokio] version = "1.32.0" features = ["macros"] [dependencies.url] version = "2.4.1" optional = true [dependencies.urlencoding] version = "2.1.3" optional = true default-features = false [dependencies.wasm-bindgen] version = "0.2.87" optional = true [dependencies.wasm-bindgen-futures] version = "0.4.37" optional = true [dependencies.web-sys] version = "0.3.64" features = ["ReadableStreamDefaultReader"] optional = true [features] encoding = ["dep:urlencoding"] hyper_engine = [ "dep:hyper", "dep:hyper-rustls", "dep:hyper-tls", ] reqwasm_engine = [ "dep:wasm-bindgen", "dep:wasm-bindgen-futures", "dep:web-sys", "dep:js-sys", "dep:reqwasm", ] reqwest_engine = [ "dep:reqwest", "dep:url", ] serde = [ "dep:serde", "dep:serde_json", ] [target."cfg(target_arch = \"wasm32\")".dependencies.tokio] version = "1.32.0" features = [ "macros", "rt", ] [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3.0"