Skip to content

Commit bd8a934

Browse files
Document NO_PROXY support (#15816)
Closes #15785.
1 parent 9153d1a commit bd8a934

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

crates/uv-static/src/env_vars.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,9 @@ impl EnvVars {
474474
/// General proxy for all network requests.
475475
pub const ALL_PROXY: &'static str = "ALL_PROXY";
476476

477+
/// Comma-separated list of hostnames (e.g., `example.com`) and/or patterns (e.g., `192.168.1.0/24`) that should bypass the proxy.
478+
pub const NO_PROXY: &'static str = "NO_PROXY";
479+
477480
/// Timeout (in seconds) for HTTP requests. (default: 30 s)
478481
pub const UV_HTTP_TIMEOUT: &'static str = "UV_HTTP_TIMEOUT";
479482

docs/reference/environment.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,10 @@ Disables colored output (takes precedence over `FORCE_COLOR`).
671671

672672
See [no-color.org](https://no-color.org).
673673

674+
### `NO_PROXY`
675+
676+
Comma-separated list of hostnames (e.g., `example.com`) and/or patterns (e.g., `192.168.1.0/24`) that should bypass the proxy.
677+
674678
### `NU_VERSION`
675679

676680
Used to detect `NuShell` usage.

0 commit comments

Comments
 (0)