[package]
edition = "2024"
name = "agentty-gpui-http-client"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A HTTP client library for Zed and GPUI"
readme = false
license = "Apache-2.0"
repository = "https://github.com/empty-user77/agentty-gpui"
resolver = "2"
[features]
test-support = ["dep:log"]
[lib]
name = "http_client"
path = "src/http_client.rs"
test = false
doctest = false
[dependencies.anyhow]
version = "1.0.86"
[dependencies.bytes]
version = "1.0"
[dependencies.futures]
version = "0.3.34"
[dependencies.http]
version = "1.1"
[dependencies.http-body]
version = "1.0"
[dependencies.log]
version = "0.4"
features = ["std"]
optional = true
default-features = false
[dependencies.parking_lot]
version = "0.12.1"
[dependencies.serde]
version = "1.0"
features = ["rc"]
[dependencies.serde_json]
version = "1.0.144"
features = [
"preserve_order",
"raw_value",
]
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.url]
version = "2.2"
[lints.clippy]
dbg_macro = "deny"
declare_interior_mutable_const = "deny"
disallowed_methods = "deny"
large_enum_variant = "allow"
let_underscore_future = "allow"
nonminimal_bool = "allow"
redundant_clone = "deny"
single_range_in_vec_init = "allow"
todo = "deny"
too_many_arguments = "allow"
type_complexity = "allow"
[lints.clippy.style]
level = "allow"
priority = -1
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0