Skip to content

Commit ddf8bb5

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 bb3b418 commit ddf8bb5

File tree

109 files changed

+760
-960
lines changed

Some content is hidden

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

109 files changed

+760
-960
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+
authors.workspace = true
15+
categories.workspace = true
16+
edition.workspace = true
17+
homepage.workspace = true
18+
keywords.workspace = true
19+
license.workspace = true
20+
version.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"

fuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "uucore-fuzz"
33
version = "0.0.0"
44
publish = false
5-
edition = "2024"
5+
edition.workspace = true
66

77
[package.metadata]
88
cargo-fuzz = true

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
[lib]

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
[lib]

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
[lib]

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
[lib]

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
[lib]

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
[lib]

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
[lib]

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
[lib]

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
[lib]

src/uu/chown/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_chown"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "chown ~ (uutils) change the ownership of FILE"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/chown"
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
[lib]

src/uu/chroot/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_chroot"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "chroot ~ (uutils) run COMMAND under a new root directory"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/chroot"
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
[lib]

src/uu/cksum/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_cksum"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "cksum ~ (uutils) display CRC and size of input"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/cksum"
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
[lib]

src/uu/comm/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_comm"
3-
version = "0.0.30"
4-
authors = ["uutils developers"]
5-
license = "MIT"
63
description = "comm ~ (uutils) compare sorted inputs"
7-
8-
homepage = "https://github.com/uutils/coreutils"
94
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/comm"
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
[lib]

src/uu/cp/Cargo.toml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
[package]
22
name = "uu_cp"
3-
version = "0.0.30"
3+
description = "cp ~ (uutils) copy SOURCE to DESTINATION"
4+
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/cp"
45
authors = [
56
"Jordy Dickinson <[email protected]>",
67
"Joshua S. Miller <[email protected]>",
78
"uutils developers",
89
]
9-
license = "MIT"
10-
description = "cp ~ (uutils) copy SOURCE to DESTINATION"
11-
12-
homepage = "https://github.com/uutils/coreutils"
13-
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/cp"
14-
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
15-
categories = ["command-line-utilities"]
16-
edition = "2024"
17-
10+
license.workspace = true
11+
version.workspace = true
12+
homepage.workspace = true
13+
keywords.workspace = true
14+
categories.workspace = true
15+
edition.workspace = true
1816
readme.workspace = true
1917

2018
[lib]

0 commit comments

Comments
 (0)