[dependencies.futures-channel]
optional = true
version = "0.3"
[dependencies.futures-core]
optional = true
version = "0.3"
[dependencies.futures-io]
optional = true
version = "0.3"
[dependencies.futures-sink]
optional = true
version = "0.3"
[dependencies.gloo-utils]
default-features = false
version = "0.2"
[dependencies.http]
version = "0.2.9"
[dependencies.js-sys]
version = "0.3"
[dependencies.pin-project]
optional = true
version = "1.0"
[dependencies.serde]
optional = true
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.wasm-bindgen]
version = "0.2"
[dependencies.wasm-bindgen-futures]
version = "0.4"
[dependencies.web-sys]
version = "0.3"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.once_cell]
version = "1"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies.wasm-bindgen-test]
version = "0.3"
[features]
default = ["json", "websocket", "http", "eventsource"]
eventsource = ["futures-channel", "futures-core", "pin-project", "web-sys/Event", "web-sys/EventTarget", "web-sys/EventSource", "web-sys/MessageEvent"]
http = ["web-sys/Headers", "web-sys/UrlSearchParams", "web-sys/Url", "web-sys/Request", "web-sys/RequestInit", "web-sys/RequestMode", "web-sys/Response", "web-sys/ResponseInit", "web-sys/ResponseType", "web-sys/Window", "web-sys/RequestCache", "web-sys/RequestCredentials", "web-sys/ObserverCallback", "web-sys/RequestRedirect", "web-sys/ReferrerPolicy", "web-sys/AbortSignal", "web-sys/ReadableStream", "web-sys/Blob", "web-sys/FormData", "web-sys/WorkerGlobalScope"]
io-util = ["futures-io"]
json = ["serde", "serde_json", "gloo-utils/serde"]
websocket = ["web-sys/WebSocket", "web-sys/AddEventListenerOptions", "web-sys/ErrorEvent", "web-sys/FileReader", "web-sys/MessageEvent", "web-sys/ProgressEvent", "web-sys/CloseEvent", "web-sys/CloseEventInit", "web-sys/BinaryType", "web-sys/Blob", "futures-channel", "futures-core", "futures-sink", "pin-project"]
[package]
authors = ["Rust and WebAssembly Working Group", "Muhammad Hamza <muhammadhamza1311@gmail.com>"]
categories = ["wasm", "web-programming::http-client", "api-bindings"]
description = "HTTP requests library for WASM Apps"
edition = "2021"
keywords = ["requests", "http", "wasm", "websockets"]
license = "MIT OR Apache-2.0"
name = "gloo-net"
readme = "README.md"
repository = "https://github.com/rustwasm/gloo"
rust-version = "1.64"
version = "0.5.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]