# 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 = "reqwest-cross" version = "0.4.2" authors = ["One "] description = "Wrapper around reqwest for use in both native and wasm" documentation = "https://docs.rs/reqwest-cross" readme = "README.md" keywords = [ "http", "wasm", "native", "web", "request", ] categories = [ "web-programming::http-client", "wasm", ] license = "MIT OR Apache-2.0" repository = "https://github.com/c-git/reqwest-cross" [[example]] name = "loop_yield" required-features = ["yield_now"] [dependencies.futures] version = "0.3.28" [dependencies.reqwest] version = "0.12.3" default-features = false [dev-dependencies.reqwest] version = "0.12.3" [dev-dependencies.wasm-bindgen-test] version = "0.3.34" [features] default = ["native-tokio"] native-tokio = ["dep:tokio"] yield_now = [ "dep:js-sys", "web-sys", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio] version = "1" optional = true default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.tokio] version = "1.27.0" features = [ "macros", "rt-multi-thread", ] default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3.69" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4.34" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.69" optional = true