zed/crates/reqwest_client/Cargo.toml
Conrad Irwin 3a5deb5c6f
Replace isahc with async ureq (#18414)
REplace isahc with ureq everywhere gpui is used.

This should allow us to make http requests without libssl; and avoid a
long-tail of panics caused by ishac.

Release Notes:

- (potentially breaking change) updated our http client

---------

Co-authored-by: Mikayla <mikayla@zed.dev>
2024-10-02 12:30:48 -07:00

31 lines
532 B
TOML

[package]
name = "reqwest_client"
version = "0.1.0"
edition = "2021"
publish = false
license = "Apache-2.0"
[lints]
workspace = true
[features]
test-support = []
[lib]
path = "src/reqwest_client.rs"
doctest = true
[[example]]
name = "client"
path = "examples/client.rs"
[dependencies]
anyhow.workspace = true
futures.workspace = true
serde.workspace = true
smol.workspace = true
http_client.workspace = true
tokio.workspace = true
bytes = "1.0"
reqwest = { workspace = true, features = ["rustls-tls-manual-roots", "stream"] }