Files
zed/crates/http_proxy/Cargo.toml
T
Lukas Wirth 2c2f737ab2 gpui: Add sendable foreground execution for web HTTP clients (#66165)
## Summary

This cleans up the gpui_platform code a bit, and in combination the way
we set up the http client for the web. This does introduce a
`ForegroundExecutor` variant that it itself is Send-able, allowing to
dispatch foreground futures from background workers (by requiring the
future to be Send, unlike `ForegroundExecutor`), which is a requirement
for web fetch.

a31c7b54c60738b82524e4e4c12aec2f6caf101d fixes a bunch of warnings with
our binary names

Release Notes:

- [gpui] N/A
2026-10-29 09:12:10 +00:00

35 lines
993 B
TOML

[package]
name = "http_proxy"
version = "0.1.0"
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]
workspace = true
[lib]
path = "src/http_proxy.rs"
doctest = false
[features]
# Compiles in the `ZED_SANDBOX_PROXY_ALLOW_LOCAL_IPS` escape hatch that lets the
# proxy reach loopback/private/link-local addresses. This disables the proxy's
# DNS-rebinding/SSRF protection, so it must NEVER be enabled in a real Zed
# build (debug or release) — it exists solely for the NixOS sandbox integration
# tests, whose echo servers live on the VM's private network. Enabled only via
# `sandbox/nixos-test` when building `bwrap-test-helper`.
nixos-integration-tests = []
[dependencies]
anyhow.workspace = true
base64.workspace = true
futures.workspace = true
httparse.workspace = true
idna.workspace = true
log = { workspace = true, features = ["serde"] }
percent-encoding.workspace = true
proxyvars.workspace = true
thiserror.workspace = true
url.workspace = true