Skip to content
Open
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
4 changes: 4 additions & 0 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ jobs:
unset CARGO_FEATURES_OPTION
if [ -n "${{ matrix.job.features }}" ]; then CARGO_FEATURES_OPTION='--features "${{ matrix.job.features }}"' ; fi
outputs CARGO_FEATURES_OPTION
- name: Check uucore without default features
run: |
cargo check -p uucore --no-default-features --lib --locked
cargo check -p uucore --no-default-features --features fs --lib --locked
- name: Confirm MinSRV compatible '*/Cargo.lock'
shell: bash
run: |
Expand Down
3 changes: 2 additions & 1 deletion src/uucore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ dns-lookup = { workspace = true, optional = true }
rustix = { workspace = true, optional = true }

[target.'cfg(unix)'.dependencies]
# Core error conversions and signal setup use nix even without optional features.
nix = { workspace = true, features = ["signal"] }
# utmpx is unix-only, so its dependencies must not be pulled into other targets
# (the uptime feature enables utmpx and now builds on windows too).
nix = { workspace = true, optional = true }
time = { workspace = true, optional = true, features = [
"formatting",
"local-offset",
Expand Down
Loading