Repository: astral-sh/uv
File: crates/uv-static/src/env_vars.rs (Rust)

Code before:
    ///
    /// This is a quasi-standard variable, described, e.g., in `ncurses(3x)`.
    #[attr_added_in("0.6.2")]
    pub const COLUMNS: &'static str = "COLUMNS";

    /// The CUDA driver version to assume when inferring the PyTorch backend (e.g., `550.144.03`).
    #[attr_hidden]
    #[attr_added_in("0.6.9")]
    pub const UV_CUDA_DRIVER_VERSION: &'static str = "UV_CUDA_DRIVER_VERSION";

    /// The AMD GPU architecture to assume when inferring the PyTorch backend (e.g., `gfx1100`).
    #[attr_hidden]
    #[attr_added_in("0.7.14")]
    pub const UV_AMD_GPU_ARCHITECTURE: &'static str = "UV_AMD_GPU_ARCHITECTURE";

    /// Equivalent to the `--torch-backend` command-line argument (e.g., `cpu`, `cu126`, or `auto`).
    #[attr_added_in("0.6.9")]
    pub const UV_TORCH_BACKEND: &'static str = "UV_TORCH_BACKEND";

    /// Equivalent to the `--project` command-line argument.
    #[attr_added_in("0.4.4")]
    pub const UV_PROJECT: &'static str = "UV_PROJECT";

    /// Equivalent to the `--directory` command-line argument. `UV_WORKING_DIRECTORY` (added in
    /// v0.9.1) is also supported for backwards compatibility.
    #[attr_added_in("0.9.14")]
    pub const UV_WORKING_DIR: &'static str = "UV_WORKING_DIR";

    /// Equivalent to the `--directory` command-line argument.
    #[attr_hidden]
    #[attr_added_in("0.9.1")]
    pub const UV_WORKING_DIRECTORY: &'static str = "UV_WORKING_DIRECTORY";

    /// Disable GitHub-specific requests that allow uv to skip `git fetch` in some circumstances.
    #[attr_added_in("0.7.13")]
    pub const UV_NO_GITHUB_FAST_PATH: &'static str = "UV_NO_GITHUB_FAST_PATH";

    /// Authentication token for Hugging Face requests. When set, uv will use this token
    /// when making requests to `https://huggingface.co/` and any subdomains.
    #[attr_added_in("0.8.1")]
    pub const HF_TOKEN: &'static str = "HF_TOKEN";

    /// Disable Hugging Face authentication, even if `HF_TOKEN` is set.
    #[attr_added_in("0.8.1")]
    pub const UV_NO_HF_TOKEN: &'static str = "UV_NO_HF_TOKEN";

    /// The URL to treat as an S3-compatible storage endpoint. Requests to this endpoint
    /// will be signed using AWS Signature Version 4 based on the `AWS_ACCESS_KEY_ID`,
    /// `AWS_SECRET_ACCESS_KEY`, `AWS_PROFILE`, and `AWS_CONFIG_FILE` environment variables.
    #[attr_added_in("0.8.21")]
    pub const UV_S3_ENDPOINT_URL: &'static str = "UV_S3_ENDPOINT_URL";

Review comment (suggestion):
Technically you should use this placeholder and we update it on release

```suggestion
    #[attr_added_in("next version")]
```

Code after:
    ///
    /// This is a quasi-standard variable, described, e.g., in `ncurses(3x)`.
    #[attr_added_in("0.6.2")]
    pub const COLUMNS: &'static str = "COLUMNS";

    /// The CUDA driver version to assume when inferring the PyTorch backend (e.g., `550.144.03`).
    #[attr_hidden]
    #[attr_added_in("0.6.9")]
    pub const UV_CUDA_DRIVER_VERSION: &'static str = "UV_CUDA_DRIVER_VERSION";

    /// The AMD GPU architecture to assume when inferring the PyTorch backend (e.g., `gfx1100`).
    #[attr_hidden]
    #[attr_added_in("0.7.14")]
    pub const UV_AMD_GPU_ARCHITECTURE: &'static str = "UV_AMD_GPU_ARCHITECTURE";

    /// Equivalent to the `--torch-backend` command-line argument (e.g., `cpu`, `cu126`, or `auto`).
    #[attr_added_in("0.6.9")]
    pub const UV_TORCH_BACKEND: &'static str = "UV_TORCH_BACKEND";

    /// Equivalent to the `--project` command-line argument.
    #[attr_added_in("0.4.4")]
    pub const UV_PROJECT: &'static str = "UV_PROJECT";

    /// Equivalent to the `--directory` command-line argument. `UV_WORKING_DIRECTORY` (added in
    /// v0.9.1) is also supported for backwards compatibility.
    #[attr_added_in("next version")]
    pub const UV_WORKING_DIR: &'static str = "UV_WORKING_DIR";

    /// Equivalent to the `--directory` command-line argument.
    #[attr_hidden]
    #[attr_added_in("0.9.1")]
    pub const UV_WORKING_DIRECTORY: &'static str = "UV_WORKING_DIRECTORY";

    /// Disable GitHub-specific requests that allow uv to skip `git fetch` in some circumstances.
    #[attr_added_in("0.7.13")]
    pub const UV_NO_GITHUB_FAST_PATH: &'static str = "UV_NO_GITHUB_FAST_PATH";

    /// Authentication token for Hugging Face requests. When set, uv will use this token
    /// when making requests to `https://huggingface.co/` and any subdomains.
    #[attr_added_in("0.8.1")]
    pub const HF_TOKEN: &'static str = "HF_TOKEN";

    /// Disable Hugging Face authentication, even if `HF_TOKEN` is set.
    #[attr_added_in("0.8.1")]
    pub const UV_NO_HF_TOKEN: &'static str = "UV_NO_HF_TOKEN";

    /// The URL to treat as an S3-compatible storage endpoint. Requests to this endpoint
    /// will be signed using AWS Signature Version 4 based on the `AWS_ACCESS_KEY_ID`,
    /// `AWS_SECRET_ACCESS_KEY`, `AWS_PROFILE`, and `AWS_CONFIG_FILE` environment variables.
    #[attr_added_in("0.8.21")]
    pub const UV_S3_ENDPOINT_URL: &'static str = "UV_S3_ENDPOINT_URL";