sort, more: remove ctrlc or signal-hook from dependency tree
Open
Nobody has claimed this yet.
U - more
U - sort
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
I noticed that both of signal-hook and ctrlc is used just once:
$ cargo tree -i signal-hook
signal-hook v0.3.18
├── crossterm v0.29.0
│ └── uu_more v0.9.0 (/tmp/coreutils/src/uu/more)
│ └── coreutils v0.9.0 (/tmp/coreutils)
└── signal-hook-mio v0.2.5
└── crossterm v0.29.0 (*)
$ cargo tree -i ctrlc
ctrlc v3.5.2
└── uu_sort v0.9.0 (/tmp/coreutils/src/uu/sort)
└── coreutils v0.9.0 (/tmp/coreutils)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the dependency declarations and usage in uu_more and uu_sort, then run the cargo tree commands shown in the issue to confirm how signal-hook and ctrlc enter the tree. Determine whether either dependency can be removed without changing command behavior; done means the intended dependency no longer appears in the relevant tree and the affected commands still build and test successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, cli
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100