From 520a862e77e758e4931a0bba48393587ebef348d Mon Sep 17 00:00:00 2001 From: benbenbang Date: Sun, 29 Mar 2026 20:16:42 +0200 Subject: [PATCH] fix(workspace): convert to Cargo workspace and bump version to 2.6.0 This pull request restructures the project into a Cargo workspace configuration and updates the version across all packages. The main changes consolidate shared package metadata and establish a multi-crate workspace structure. **Workspace configuration:** * Converted root `Cargo.toml` to a workspace configuration with "adds-on" as a member crate * Defined shared workspace package metadata including version (2.6.0), edition (2024), and license (MIT) * Moved repository and authors fields to workspace-level configuration for reuse across member crates **Package updates:** * Updated `adds-on/Cargo.toml` to use workspace-inherited values for version, edition, and license fields * Updated root package `uv-shell` to reference workspace-level metadata fields * Bumped version from 1.0.0 to 2.6.0 across all packages in `Cargo.lock` --- Cargo.lock | 6 +++++- Cargo.toml | 18 ++++++++++++++---- adds-on/Cargo.toml | 6 +++--- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 53bf5df..401d6c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,10 @@ # It is not intended for manual editing. version = 4 +[[package]] +name = "uv" +version = "2.6.0" + [[package]] name = "uv-shell" -version = "1.0.0" +version = "2.6.0" diff --git a/Cargo.toml b/Cargo.toml index da371c3..2e07178 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,20 @@ -[package] -name = "uv-shell" -version = "1.0.0" +[workspace] +members = ["adds-on"] + +[workspace.package] +version = "2.6.0" edition = "2024" license = "MIT" -description = "Create and activate Python virtual environments with uv" repository = "https://github.com/benbenbang/uv-shell" authors = ["benbenbang "] +[package] +name = "uv-shell" +version.workspace = true +edition.workspace = true +license.workspace = true +description = "Create and activate Python virtual environments with uv" +repository.workspace = true +authors.workspace = true + [dependencies] diff --git a/adds-on/Cargo.toml b/adds-on/Cargo.toml index 680077b..3b634e3 100644 --- a/adds-on/Cargo.toml +++ b/adds-on/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "uv" -version = "0.1.0" -edition = "2024" +version.workspace = true +edition.workspace = true description = "uv wrapper with plugin discovery (uv-xxx → uv xxx)" -license = "MIT" +license.workspace = true [dependencies]