дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 17:47:08 +02:00
Tool downloads run through the system curl, which in Auto proxy mode only got the manual macOS proxy from Matcher::from_system(), never the PAC script, so on a PAC-only network language-server installs went direct while the rest of the IDE followed the PAC. Http::base now asks the same PacResolver the HTTP client uses (ide_http::system_pac_route, evaluated inline with the per-host cache) and passes its proxy to curl as --proxy; while the script loads or fails it answers with the manual proxy, as before. Linux and Windows build the same command as before. Co-authored-by: audichuang <[email protected]>
35 рядки
919 B
TOML
35 рядки
919 B
TOML
[package]
|
|
name = "ide-tools"
|
|
description = "Installer for language servers and debug adapters: registry, detection, download/extract, managed tools dir"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
ide-core.workspace = true
|
|
ide-language.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
specta.workspace = true
|
|
parking_lot.workspace = true
|
|
http = "1"
|
|
hyper-util = { version = "0.1", default-features = false, features = ["client-proxy", "client-proxy-system"] }
|
|
tracing.workspace = true
|
|
which = "8"
|
|
blake3.workspace = true
|
|
flate2 = "1"
|
|
tar = "0.4"
|
|
zip.workspace = true
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
base64.workspace = true
|
|
minisign-verify = "0.3"
|
|
tempfile.workspace = true
|
|
|
|
# The macOS PAC route curl can't read (see `Http::base`).
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
ide-http.workspace = true
|
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
|
libc = "0.2"
|