Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
181 changes: 177 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 17 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is very rarely used, why list it here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this forces all crates to still be part of the regular compilation / validation / linting, use the same dependencies, gets regular updates, etc. I.e. prevent bitrot - unless it is not needed and should be deleted?

"tests/uutests",
# "fuzz", # TODO
]

[workspace.package]
authors = ["uutils developers"]
categories = ["command-line-utilities"]
Expand Down Expand Up @@ -369,7 +383,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 }
Expand Down Expand Up @@ -527,8 +541,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"] }
Expand Down
9 changes: 5 additions & 4 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ version = "0.0.0"
description = "uutils ~ 'core' uutils fuzzers"
repository = "https://github.com/uutils/coreutils/tree/main/fuzz/"
edition.workspace = true
license.workspace = true
publish = false

# Prevent this from interfering with workspaces
[workspace]
members = ["."]

[workspace.package]
edition = "2024"
license = "MIT"
Expand All @@ -32,10 +37,6 @@ uu_tr = { path = "../src/uu/tr/" }
uu_env = { path = "../src/uu/env/" }
uu_cksum = { path = "../src/uu/cksum/" }

# Prevent this from interfering with workspaces
[workspace]
members = ["."]

[[bin]]
name = "fuzz_date"
path = "fuzz_targets/fuzz_date.rs"
Expand Down
1 change: 0 additions & 1 deletion fuzz/uufuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ version = "0.1.0"
edition.workspace = true
license.workspace = true


[dependencies]
console = "0.15.0"
libc = "0.2.153"
Expand Down
1 change: 0 additions & 1 deletion src/uucore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
name = "uucore"
description = "uutils ~ 'core' uutils code library (cross-platform)"
repository = "https://github.com/uutils/coreutils/tree/main/src/uucore"
# readme = "README.md"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
1 change: 0 additions & 1 deletion src/uucore_procs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ name = "uucore_procs"
description = "uutils ~ 'uucore' proc-macros"
authors = ["Roy Ivy III <rivy.dev@gmail.com>"]
repository = "https://github.com/uutils/coreutils/tree/main/src/uucore_procs"
# readme = "README.md"
keywords = ["cross-platform", "proc-macros", "uucore", "uutils"]
# categories = ["os"]
edition.workspace = true
Expand Down
Loading
Loading