1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

chore: cleanup workspace crates (#8058)

* chore: cleanup workspace crates

* properly add all crates to the workspace cargo.toml as members
  * except `fuzz` because it still has some issues, TBD
* use quotes around `true` and `false` to ensure there is no bool confusion
* remove a few leftover readme comments
* mark all unpublishable crates as `publish = false` to avoid accidental publishing
* Add `uutests` to the main workspace

* grammar

* a bit more cleanup based on feedback

* revert true/false

* Update tests/benches/factor dependencies
This commit is contained in:
Yuri Astrakhan 2025-06-06 07:56:08 -04:00 committed by GitHub
parent 4d40671d79
commit 60c55d7c07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 206 additions and 23 deletions

View file

@ -256,6 +256,20 @@ feat_os_windows_legacy = [
# * bypass/override ~ translate 'test' feature name to avoid dependency collision with rust core 'test' crate (o/w surfaces as compiler errors during testing)
test = ["uu_test"]
[workspace]
resolver = "3"
members = [
".",
"src/uu/*",
"src/uu/stdbuf/src/libstdbuf",
"src/uucore",
"src/uucore_procs",
"src/uuhelp_parser",
"tests/benches/factor",
"tests/uutests",
# "fuzz", # TODO
]
[workspace.package]
authors = ["uutils developers"]
categories = ["command-line-utilities"]
@ -370,7 +384,7 @@ uucore = { version = "0.1.0", package = "uucore", path = "src/uucore" }
uucore_procs = { version = "0.1.0", package = "uucore_procs", path = "src/uucore_procs" }
uu_ls = { version = "0.1.0", path = "src/uu/ls" }
uu_base32 = { version = "0.1.0", path = "src/uu/base32" }
uutests = { version = "0.1.0", package = "uutests", path = "tests/uutests/" }
uutests = { version = "0.1.0", package = "uutests", path = "tests/uutests" }
[dependencies]
clap = { workspace = true }
@ -528,8 +542,8 @@ nix = { workspace = true, features = ["process", "signal", "user", "term"] }
rlimit = "0.10.1"
xattr = { workspace = true }
# Specifically used in test_uptime::test_uptime_with_file_containing_valid_boot_time_utmpx_record
# to deserialize a utmpx struct into a binary file
# Used in test_uptime::test_uptime_with_file_containing_valid_boot_time_utmpx_record
# to deserialize an utmpx struct into a binary file
[target.'cfg(all(target_family= "unix",not(target_os = "macos")))'.dev-dependencies]
serde = { version = "1.0.202", features = ["derive"] }
bincode = { version = "2.0.1", features = ["serde"] }