[package] name = "fetchy" version = "0.2.2" license = "Apache-2.0 OR BSL-1.0 OR MIT" edition = "2021" description = "Async HTTPS fetch API built on pasts." repository = "https://github.com/ardaku/fetchy" documentation = "https://docs.rs/fetchy" homepage = "https://github.com/ardaku/fetchy/blob/stable/CHANGELOG.md" include = ["/src/**", "/examples/**", "/README.md"] keywords = ["futures", "fetch", "pasts", "io", "net"] categories = [ "asynchronous", "wasm", "hardware-support", "os", "web-programming::http-client" ] readme = "README.md" [package.metadata.docs.rs] features = ["web"] [dependencies.js-sys] version = "0.3" optional = true [dependencies.pasts] version = "0.14" # [dependencies.rustls] # version = "0.20" # optional = true [dependencies.wasm-bindgen] version = "0.2" optional = true [dependencies.wasm-bindgen-futures] version = "0.4" optional = true [dependencies.web-sys] version = "0.3" features = [ "Blob", "console", "Headers", "ReadableStream", "Response", "Request", "RequestInit", "Window", ] optional = true [features] default = [] # "rustls"] web = [ "pasts/web", "dep:web-sys", "dep:wasm-bindgen-futures", "dep:wasm-bindgen", "dep:js-sys", ]