Skip to content

Commit 0376881

Browse files
committed
build: use workspace.package properties in Cargo.toml
1 parent 09c4b28 commit 0376881

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

Cargo.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "rustup"
3-
version = "1.27.1"
4-
edition = "2021"
3+
version.workspace = true
4+
edition.workspace = true
5+
license.workspace = true
56
description = "Manage multiple rust installations with ease"
67
homepage = "https://github.com/rust-lang/rustup"
78
keywords = ["rustup", "multirust", "install", "proxy"]
8-
license = "MIT OR Apache-2.0"
99
readme = "README.md"
1010
repository = "https://github.com/rust-lang/rustup"
1111
build = "build.rs"
@@ -133,6 +133,11 @@ regex = "1"
133133
[workspace]
134134
members = ["download"]
135135

136+
[workspace.package]
137+
version = "1.27.1"
138+
edition = "2021"
139+
license = "MIT OR Apache-2.0"
140+
136141
[workspace.dependencies]
137142
anyhow = "1.0.69"
138143
fs_at = "0.2.1"

download/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "download"
3-
version = "1.27.1"
4-
edition = "2021"
5-
license = "MIT OR Apache-2.0"
3+
version.workspace = true
4+
edition.workspace = true
5+
license.workspace = true
66

77
[features]
88
default = ["reqwest-backend", "reqwest-rustls-tls", "reqwest-native-tls"]

0 commit comments

Comments
 (0)