uv/crates/uv-cli
Zanie Blue 6799cc883a
Allow configuring the toolchain fetch strategy (#4601)
Adds a `toolchain-fetch` option alongside `toolchain-preference` with
`automatic` (default) and `manual` values allowing automatic toolchain
fetches to be disabled (replaces
https://github.com/astral-sh/uv/pull/4425). When `manual`, toolchains
must be installed with `uv toolchain install`.

Note this was previously implemented with `if-necessary`, `always`,
`never` variants but the interaction between this and
`toolchain-preference` was too confusing. By reducing to a binary
option, things should be clearer. The `if-necessary` behavior moved to
`toolchain-preference=installed`. See
https://github.com/astral-sh/uv/pull/4601#discussion_r1657839633 and
https://github.com/astral-sh/uv/pull/4601#discussion_r1658658755
2024-07-02 01:54:24 +00:00
..
src Allow configuring the toolchain fetch strategy (#4601) 2024-07-02 01:54:24 +00:00
build.rs Add standalone CLI crate (#4456) 2024-06-24 06:16:22 -04:00
Cargo.toml Add standalone CLI crate (#4456) 2024-06-24 06:16:22 -04:00