diff --git a/Cargo.lock b/Cargo.lock index a515c9dc939c..049a71768dcf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4560,7 +4560,7 @@ dependencies = [ ] [[package]] -name = "uv-build" +name = "uv-build-frontend" version = "0.0.1" dependencies = [ "anstream", @@ -4779,7 +4779,7 @@ dependencies = [ "pypi-types", "rustc-hash", "tracing", - "uv-build", + "uv-build-frontend", "uv-cache", "uv-client", "uv-configuration", diff --git a/Cargo.toml b/Cargo.toml index 41ea24236fe5..7d47f24cf123 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ platform-tags = { path = "crates/platform-tags" } pypi-types = { path = "crates/pypi-types" } requirements-txt = { path = "crates/requirements-txt" } uv-auth = { path = "crates/uv-auth" } -uv-build = { path = "crates/uv-build" } +uv-build-frontend = { path = "crates/uv-build-frontend" } uv-cache = { path = "crates/uv-cache" } uv-cache-info = { path = "crates/uv-cache-info" } uv-cli = { path = "crates/uv-cli" } diff --git a/crates/README.md b/crates/README.md index e4c937c809f0..f2b80912188b 100644 --- a/crates/README.md +++ b/crates/README.md @@ -48,7 +48,7 @@ Functionality for parsing and inferring Python platform tags as per Command-line interface for the uv package manager. -## [uv-build](./uv-build) +## [uv-build-frontend](./uv-build-frontend) A [PEP 517](https://www.python.org/dev/peps/pep-0517/)-compatible build frontend for uv. diff --git a/crates/uv-build/.gitignore b/crates/uv-build-frontend/.gitignore similarity index 100% rename from crates/uv-build/.gitignore rename to crates/uv-build-frontend/.gitignore diff --git a/crates/uv-build/Cargo.toml b/crates/uv-build-frontend/Cargo.toml similarity index 97% rename from crates/uv-build/Cargo.toml rename to crates/uv-build-frontend/Cargo.toml index 698ab4a8a4bd..23d44d88dbd1 100644 --- a/crates/uv-build/Cargo.toml +++ b/crates/uv-build-frontend/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "uv-build" +name = "uv-build-frontend" version = "0.0.1" description = "Build wheels from source distributions" edition = { workspace = true } diff --git a/crates/uv-build/src/error.rs b/crates/uv-build-frontend/src/error.rs similarity index 100% rename from crates/uv-build/src/error.rs rename to crates/uv-build-frontend/src/error.rs diff --git a/crates/uv-build/src/lib.rs b/crates/uv-build-frontend/src/lib.rs similarity index 100% rename from crates/uv-build/src/lib.rs rename to crates/uv-build-frontend/src/lib.rs diff --git a/crates/uv-dispatch/Cargo.toml b/crates/uv-dispatch/Cargo.toml index e8994bdc1663..424e07d83a14 100644 --- a/crates/uv-dispatch/Cargo.toml +++ b/crates/uv-dispatch/Cargo.toml @@ -17,7 +17,7 @@ workspace = true distribution-types = { workspace = true } install-wheel-rs = { workspace = true } pypi-types = { workspace = true } -uv-build = { workspace = true } +uv-build-frontend = { workspace = true } uv-cache = { workspace = true } uv-client = { workspace = true } uv-configuration = { workspace = true } diff --git a/crates/uv-dispatch/src/lib.rs b/crates/uv-dispatch/src/lib.rs index 7eadb584cca8..f6885deceeab 100644 --- a/crates/uv-dispatch/src/lib.rs +++ b/crates/uv-dispatch/src/lib.rs @@ -16,7 +16,7 @@ use distribution_types::{ SourceDist, VersionOrUrlRef, }; use pypi_types::Requirement; -use uv_build::{SourceBuild, SourceBuildContext}; +use uv_build_frontend::{SourceBuild, SourceBuildContext}; use uv_cache::Cache; use uv_client::RegistryClient; use uv_configuration::{ diff --git a/crates/uv-types/src/traits.rs b/crates/uv-types/src/traits.rs index a7dbcc337c97..1caa4c121c11 100644 --- a/crates/uv-types/src/traits.rs +++ b/crates/uv-types/src/traits.rs @@ -49,7 +49,7 @@ use uv_python::PythonEnvironment; /// ``` /// /// Put in a different way, the types here allow `uv-resolver` to depend on `uv-build` and -/// `uv-build` to depend on `uv-resolver` without having actual crate dependencies between +/// `uv-build-frontend` to depend on `uv-resolver` without having actual crate dependencies between /// them. pub trait BuildContext { type SourceDistBuilder: SourceBuildTrait;