[package]
edition = "2024"
name = "open-gpui-http-client"
version = "0.1.0"
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP client abstractions used by Open GPUI."
homepage = "https://github.com/Latias94/open-gpui"
documentation = "https://docs.rs/open-gpui"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Latias94/open-gpui"
resolver = "2"
[features]
test-support = []
[lib]
name = "open_gpui_http_client"
path = "src/http_client.rs"
doctest = true
[dependencies.anyhow]
version = "1.0.86"
[dependencies.async-compression]
version = "0.4"
features = [
"bzip2",
"gzip",
"futures-io",
]
[dependencies.bytes]
version = "1.0"
[dependencies.derive_more]
version = "2.1.1"
features = [
"add",
"add_assign",
"deref",
"deref_mut",
"display",
"from_str",
"mul",
"mul_assign",
"not",
]
[dependencies.futures]
version = "0.3.32"
[dependencies.http]
version = "1.1"
[dependencies.http-body]
version = "1.0"
[dependencies.log]
version = "0.4.16"
features = [
"kv_unstable_serde",
"serde",
]
[dependencies.parking_lot]
version = "0.12.1"
[dependencies.serde]
version = "1.0.221"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0.144"
features = [
"preserve_order",
"raw_value",
]
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.url]
version = "2.2"
[target.'cfg(not(target_family = "wasm"))'.dependencies.async-fs]
version = "2.1"
[target.'cfg(not(target_family = "wasm"))'.dependencies.async-tar]
version = "0.5.1"
[target.'cfg(not(target_family = "wasm"))'.dependencies.open_gpui_util]
version = "0.1.0"
package = "open-gpui-util"
[target.'cfg(not(target_family = "wasm"))'.dependencies.sha2]
version = "0.10"
[target.'cfg(not(target_family = "wasm"))'.dependencies.tempfile]
version = "3.20.0"
[lints.clippy]
dbg_macro = "deny"
todo = "deny"
unwrap_used = "warn"
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rust_analyzer)"]