Rename uv-interpreter crate to uv-toolchain (#4120)

In preparation for managed toolchains #2607, just renames the crate to
something broader.

See #4121 and https://github.com/astral-sh/uv/pull/4138 to see the final
intent.
This commit is contained in:
Zanie Blue 2024-06-07 14:59:14 -04:00 committed by GitHub
parent 2803a8c475
commit 325982c418
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
78 changed files with 117 additions and 117 deletions

View file

@ -15,8 +15,8 @@ use uv_configuration::{
};
use uv_dispatch::BuildDispatch;
use uv_git::GitResolver;
use uv_interpreter::PythonEnvironment;
use uv_resolver::{FlatIndex, InMemoryIndex};
use uv_toolchain::PythonEnvironment;
use uv_types::{BuildContext, BuildIsolation, InFlight};
#[derive(Parser)]

View file

@ -3,7 +3,7 @@ use std::path::PathBuf;
use clap::Parser;
use tracing::info;
use uv_cache::{Cache, CacheArgs};
use uv_interpreter::PythonEnvironment;
use uv_toolchain::PythonEnvironment;
#[derive(Parser)]
pub(crate) struct CompileArgs {

View file

@ -13,8 +13,8 @@ use tokio::time::Instant;
use tracing::{info, info_span, Instrument};
use uv_fs::Simplified;
use uv_interpreter::downloads::{DownloadResult, Error, PythonDownload, PythonDownloadRequest};
use uv_interpreter::managed::InstalledToolchains;
use uv_toolchain::downloads::{DownloadResult, Error, PythonDownload, PythonDownloadRequest};
use uv_toolchain::managed::InstalledToolchains;
#[derive(Parser, Debug)]
pub(crate) struct FetchPythonArgs {