Skip to content

Commit

Permalink
chore: every crate should have its own version (#557)
Browse files Browse the repository at this point in the history
Previously we were using `version.workspace = true` for every crate.
This meant that every crate would have the same version. However, we
want every version to be able to have its own version. This PR changes
the version behavior.
  • Loading branch information
baszalmstra authored Mar 5, 2024
1 parent 7b7c33a commit e0b9840
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 15 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ resolver = "2"
opt-level = 3

[workspace.package]
version = "0.19.0"
categories = ["conda"]
homepage = "https://github.com/mamba-org/rattler"
repository = "https://github.com/mamba-org/rattler"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler-bin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler-bin"
version.workspace = true
version = "0.1.0"
edition.workspace = true
authors = ["Bas Zalmstra <zalmstra.bas@gmail.com>"]
description = "Rust binary for common Conda operations"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Bas Zalmstra <zalmstra.bas@gmail.com>"]
description = "Rust library to install conda environments"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_conda_types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_conda_types"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Bas Zalmstra <zalmstra.bas@gmail.com>"]
description = "Rust data types for common types used within the Conda ecosystem"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_digest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_digest"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Bas Zalmstra <zalmstra.bas@gmail.com>"]
description = "An simple crate used by rattler crates to compute different hashes from different sources"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_index/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_index"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = []
description = "A crate that indexes directories containing conda packages to create local conda channels"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_libsolv_c/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_libsolv_c"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Bas Zalmstra <zalmstra.bas@gmail.com>"]
description = "Bindings for libsolv"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_lock/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_lock"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Bas Zalmstra <zalmstra.bas@gmail.com>"]
description = "Rust data types for conda lock"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_macros"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Wolf Vollprecht <w.vollprecht@gmail.com>"]
description = "A crate that provideds some procedural macros for the rattler project"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_networking/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_networking"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Wolf Vollprecht <w.vollprecht@gmail.com>"]
description = "Authenticated requests in the conda ecosystem"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_package_streaming/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_package_streaming"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Bas Zalmstra <zalmstra.bas@gmail.com>"]
description = "Extract and stream of Conda package archives"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_repodata_gateway/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_repodata_gateway"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Bas Zalmstra <zalmstra.bas@gmail.com>"]
description = "A crate to interact with Conda repodata"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_shell/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_shell"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Wolf Vollprecht <w.vollprecht@gmail.com>"]
description = "A crate to help with activation and deactivation of a conda environment"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_solve/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_solve"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Bas Zalmstra <zalmstra.bas@gmail.com>"]
description = "A crate to solve conda environments"
Expand Down
2 changes: 1 addition & 1 deletion crates/rattler_virtual_packages/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rattler_virtual_packages"
version.workspace = true
version = "0.19.0"
edition.workspace = true
authors = ["Bas Zalmstra <zalmstra.bas@gmail.com>"]
description = "Library to work with and detect Conda virtual packages"
Expand Down

0 comments on commit e0b9840

Please sign in to comment.