134 lines
2.4 KiB
TOML
134 lines
2.4 KiB
TOML
# 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.
|
|
#
|
|
# Local copy keeps the registry manifest shape and narrows log features so
|
|
# GPUI and Servo can share the same workspace dependency graph.
|
|
|
|
[package]
|
|
edition = "2024"
|
|
name = "gpui_http_client"
|
|
version = "0.2.2"
|
|
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"
|
|
resolver = "2"
|
|
|
|
[features]
|
|
test-support = []
|
|
|
|
[lib]
|
|
name = "gpui_http_client"
|
|
path = "src/http_client.rs"
|
|
doctest = true
|
|
|
|
[dependencies.anyhow]
|
|
version = "1.0.86"
|
|
|
|
[dependencies.async-compression]
|
|
version = "0.4"
|
|
features = [
|
|
"gzip",
|
|
"futures-io",
|
|
]
|
|
|
|
[dependencies.async-fs]
|
|
version = "2.1"
|
|
|
|
[dependencies.async-tar]
|
|
version = "0.5.0-zed"
|
|
package = "zed-async-tar"
|
|
|
|
[dependencies.bytes]
|
|
version = "1.0"
|
|
|
|
[dependencies.derive_more]
|
|
version = "0.99.17"
|
|
|
|
[dependencies.futures]
|
|
version = "0.3"
|
|
|
|
[dependencies.http]
|
|
version = "1.1"
|
|
|
|
[dependencies.http-body]
|
|
version = "1.0"
|
|
|
|
[dependencies.log]
|
|
version = "0.4.16"
|
|
|
|
[dependencies.parking_lot]
|
|
version = "0.12.1"
|
|
|
|
[dependencies.reqwest]
|
|
version = "0.12.15-zed"
|
|
features = [
|
|
"charset",
|
|
"http2",
|
|
"macos-system-configuration",
|
|
"multipart",
|
|
"rustls-tls-native-roots",
|
|
"socks",
|
|
"stream",
|
|
]
|
|
default-features = false
|
|
package = "zed-reqwest"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.221"
|
|
features = [
|
|
"derive",
|
|
"rc",
|
|
]
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0.144"
|
|
features = [
|
|
"preserve_order",
|
|
"raw_value",
|
|
]
|
|
|
|
[dependencies.sha2]
|
|
version = "0.10"
|
|
|
|
[dependencies.tempfile]
|
|
version = "3.20.0"
|
|
|
|
[dependencies.url]
|
|
version = "2.2"
|
|
|
|
[dependencies.util]
|
|
version = "0.2.2"
|
|
package = "gpui_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
|