diff --git a/crates/uv-static/src/env_vars.rs b/crates/uv-static/src/env_vars.rs index 06bfc3cc2..5566c6fc4 100644 --- a/crates/uv-static/src/env_vars.rs +++ b/crates/uv-static/src/env_vars.rs @@ -474,6 +474,9 @@ impl EnvVars { /// General proxy for all network requests. pub const ALL_PROXY: &'static str = "ALL_PROXY"; + /// Comma-separated list of hostnames (e.g., `example.com`) and/or patterns (e.g., `192.168.1.0/24`) that should bypass the proxy. + pub const NO_PROXY: &'static str = "NO_PROXY"; + /// Timeout (in seconds) for HTTP requests. (default: 30 s) pub const UV_HTTP_TIMEOUT: &'static str = "UV_HTTP_TIMEOUT"; diff --git a/docs/reference/environment.md b/docs/reference/environment.md index bf902a4fd..7537af535 100644 --- a/docs/reference/environment.md +++ b/docs/reference/environment.md @@ -671,6 +671,10 @@ Disables colored output (takes precedence over `FORCE_COLOR`). See [no-color.org](https://no-color.org). +### `NO_PROXY` + +Comma-separated list of hostnames (e.g., `example.com`) and/or patterns (e.g., `192.168.1.0/24`) that should bypass the proxy. + ### `NU_VERSION` Used to detect `NuShell` usage.