[package]
edition = "2024"
name = "boltz-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 GPUI"
readme = false
license = "Apache-2.0"
repository = "https://github.com/boltz-one/rust-dex"
resolver = "2"
[features]
test-support = []
[lib]
name = "boltz_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.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.sha2]
version = "0.10"
[target.'cfg(not(target_family = "wasm"))'.dependencies.tempfile]
version = "3.20.0"
[target.'cfg(not(target_family = "wasm"))'.dependencies.util]
version = "0.1.0"
package = "boltz-util"
[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