[package] name = "acril-http" version.workspace = true edition.workspace = true description.workspace = true repository.workspace = true license.workspace = true [dependencies] log = "0.4.11" pin-project = "1.0.2" futures = {workspace=true} async-tls = "0.12" http-types = {workspace=true} async-std = "1.12" [target.'cfg(target_arch = "wasm32")'.dependencies] js-sys = { version = "0.3.25" } wasm-bindgen = { version = "0.2.48" } wasm-bindgen-futures = { version = "0.4.5" } send_wrapper = { version = "0.6.0", features = ["futures"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] async-channel = "2" async-dup = "1" async-global-executor = "2" async-io = "2" httparse = "1" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3.25" features = [ "AbortSignal", "Headers", "ObserverCallback", "ReferrerPolicy", "Request", "RequestCache", "RequestCredentials", "RequestInit", "RequestMode", "RequestRedirect", "Response", "Window", "WorkerGlobalScope", ]