bite-gp-http-client 1.25.202

A HTTP client library for Zed and GPUI
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "bite-gp-http-client"
version = "1.25.202"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A HTTP client library for Zed and GPUI"
homepage = "https://bite-gpui.github.io/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/bite-gpui/bite-gpui"
resolver = "2"

[package.metadata.bite]
source = "https://github.com/bite-gpui/bite-gpui.git"
branch = "bite_v1.25.x"
commit = "19271206c7e12504f1a0b3879a85c90df5d9b4c4"
upstream = "1.25.2"
amendment = 2
original = "http_client"

[features]
github-download = [
    "dep:async-compression",
    "dep:async-fs",
    "dep:async-tar",
    "dep:sha2",
    "dep:tempfile",
    "dep:util",
]
test-support = ["dep:log"]

[lib]
name = "http_client"
path = "src/http_client.rs"
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.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-compression]
version = "0.4"
features = [
    "bzip2",
    "gzip",
    "futures-io",
]
optional = true

[target.'cfg(not(target_family = "wasm"))'.dependencies.async-fs]
version = "2.1"
optional = true

[target.'cfg(not(target_family = "wasm"))'.dependencies.async-tar]
version = "0.6.1"
optional = true
package = "async-tar"

[target.'cfg(not(target_family = "wasm"))'.dependencies.log]
version = "0.4"
features = ["std"]
default-features = false

[target.'cfg(not(target_family = "wasm"))'.dependencies.sha2]
version = "0.10"
optional = true

[target.'cfg(not(target_family = "wasm"))'.dependencies.tempfile]
version = "3.20.0"
optional = true

[target.'cfg(not(target_family = "wasm"))'.dependencies.util]
version = "1.25.202"
optional = true
package = "bite-gp-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