Skip to content

Commit 895b208

Browse files
committed
Consolidate crate config in workspace
Make all common data like version, edition, license, ... be managed in one central workspace. This makes management much simpler
1 parent 4559e97 commit 895b208

File tree

108 files changed

+759
-959
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+759
-959
lines changed

Cargo.toml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,19 @@
55

66
[package]
77
name = "coreutils"
8-
version = "0.0.30"
9-
authors = ["uutils developers"]
10-
license = "MIT"
118
description = "coreutils ~ GNU coreutils (updated); implemented as universal (cross-platform) utils, written in Rust"
129
default-run = "coreutils"
13-
14-
homepage = "https://github.com/uutils/coreutils"
1510
repository = "https://github.com/uutils/coreutils"
1611
readme = "README.md"
17-
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
18-
categories = ["command-line-utilities"]
1912
rust-version = "1.85.0"
20-
edition = "2024"
21-
2213
build = "build.rs"
14+
version.workspace = true
15+
authors.workspace = true
16+
license.workspace = true
17+
homepage.workspace = true
18+
keywords.workspace = true
19+
categories.workspace = true
20+
edition.workspace = true
2321

2422
[package.metadata.docs.rs]
2523
all-features = true
@@ -264,7 +262,14 @@ feat_os_windows_legacy = [
264262
test = ["uu_test"]
265263

266264
[workspace.package]
265+
authors = ["uutils developers"]
266+
categories = ["command-line-utilities"]
267+
edition = "2024"
268+
homepage = "https://github.com/uutils/coreutils"
269+
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
270+
license = "MIT"
267271
readme = "README.package.md"
272+
version = "0.0.30"
268273

269274
[workspace.dependencies]
270275
ansi-width = "0.1.0"

src/uu/arch/Cargo.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[package]
22
name = "uu_arch"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "arch ~ (uutils) display machine architecture"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/arch"
10-
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
11-
categories = ["command-line-utilities"]
12-
edition = "2024"
13-
5+
version.workspace = true
6+
authors.workspace = true
7+
license.workspace = true
8+
homepage.workspace = true
9+
keywords.workspace = true
10+
categories.workspace = true
11+
edition.workspace = true
1412
readme.workspace = true
1513

1614
[lints]

src/uu/base32/Cargo.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[package]
22
name = "uu_base32"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "base32 ~ (uutils) decode/encode input (base32-encoding)"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/base32"
10-
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
11-
categories = ["command-line-utilities"]
12-
edition = "2024"
13-
5+
version.workspace = true
6+
authors.workspace = true
7+
license.workspace = true
8+
homepage.workspace = true
9+
keywords.workspace = true
10+
categories.workspace = true
11+
edition.workspace = true
1412
readme.workspace = true
1513

1614
[lints]

src/uu/base64/Cargo.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[package]
22
name = "uu_base64"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "base64 ~ (uutils) decode/encode input (base64-encoding)"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/base64"
10-
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
11-
categories = ["command-line-utilities"]
12-
edition = "2024"
13-
5+
version.workspace = true
6+
authors.workspace = true
7+
license.workspace = true
8+
homepage.workspace = true
9+
keywords.workspace = true
10+
categories.workspace = true
11+
edition.workspace = true
1412
readme.workspace = true
1513

1614
[lints]

src/uu/basename/Cargo.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[package]
22
name = "uu_basename"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "basename ~ (uutils) display PATHNAME with leading directory components removed"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/basename"
10-
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
11-
categories = ["command-line-utilities"]
12-
edition = "2024"
13-
5+
version.workspace = true
6+
authors.workspace = true
7+
license.workspace = true
8+
homepage.workspace = true
9+
keywords.workspace = true
10+
categories.workspace = true
11+
edition.workspace = true
1412
readme.workspace = true
1513

1614
[lints]

src/uu/basenc/Cargo.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[package]
22
name = "uu_basenc"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "basenc ~ (uutils) decode/encode input"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/basenc"
10-
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
11-
categories = ["command-line-utilities"]
12-
edition = "2024"
13-
5+
version.workspace = true
6+
authors.workspace = true
7+
license.workspace = true
8+
homepage.workspace = true
9+
keywords.workspace = true
10+
categories.workspace = true
11+
edition.workspace = true
1412
readme.workspace = true
1513

1614
[lints]

src/uu/cat/Cargo.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[package]
22
name = "uu_cat"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "cat ~ (uutils) concatenate and display input"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/cat"
10-
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
11-
categories = ["command-line-utilities"]
12-
edition = "2024"
13-
5+
version.workspace = true
6+
authors.workspace = true
7+
license.workspace = true
8+
homepage.workspace = true
9+
keywords.workspace = true
10+
categories.workspace = true
11+
edition.workspace = true
1412
readme.workspace = true
1513

1614
[lints]

src/uu/chcon/Cargo.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[package]
22
name = "uu_chcon"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "chcon ~ (uutils) change file security context"
7-
homepage = "https://github.com/uutils/coreutils"
84
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/chcon"
95
keywords = ["coreutils", "uutils", "cli", "utility"]
10-
categories = ["command-line-utilities"]
11-
edition = "2024"
12-
6+
version.workspace = true
7+
authors.workspace = true
8+
license.workspace = true
9+
homepage.workspace = true
10+
categories.workspace = true
11+
edition.workspace = true
1312
readme.workspace = true
1413

1514
[lints]

src/uu/chgrp/Cargo.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[package]
22
name = "uu_chgrp"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "chgrp ~ (uutils) change the group ownership of FILE"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/chgrp"
10-
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
11-
categories = ["command-line-utilities"]
12-
edition = "2024"
13-
5+
version.workspace = true
6+
authors.workspace = true
7+
license.workspace = true
8+
homepage.workspace = true
9+
keywords.workspace = true
10+
categories.workspace = true
11+
edition.workspace = true
1412
readme.workspace = true
1513

1614
[lints]

src/uu/chmod/Cargo.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[package]
22
name = "uu_chmod"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "chmod ~ (uutils) change mode of FILE"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/chmod"
10-
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
11-
categories = ["command-line-utilities"]
12-
edition = "2024"
13-
5+
version.workspace = true
6+
authors.workspace = true
7+
license.workspace = true
8+
homepage.workspace = true
9+
keywords.workspace = true
10+
categories.workspace = true
11+
edition.workspace = true
1412
readme.workspace = true
1513

1614
[lints]

0 commit comments

Comments
 (0)