Commit graph

329 commits

Author SHA1 Message Date
Terts Diepraam 6708284603
Merge pull request #4448 from Joining7943/sleep-replace-uucore-from-str-with-fundu
`sleep`: Replace uucore::parse_time::from_str with fundu
2023-03-12 23:42:23 +01:00
Daniel Hofstetter a585d7f3a7 Bump terminal_size from 0.2.2 to 0.2.5 2023-03-12 16:26:56 +01:00
Joining7943 946aab37ed Cargo: Bump fundu version v0.3.0 -> v0.4.2. Adjust test in test_tail. 2023-03-12 15:37:44 +01:00
Daniel Hofstetter 3198fe5417 Bump procfs from 0.14.1 to 0.15.1 2023-03-12 14:08:19 +01:00
Terts Diepraam 3982fc58fd
Merge pull request #4478 from cakebaker/bump_clap_to_4.1
Bump clap from 4.0.26 to 4.1.8 & fix broken tests
2023-03-12 13:30:33 +01:00
Daniel Hofstetter d80afe7beb Bump rayon from 1.6.0 to 1.7.0 2023-03-11 15:57:10 +01:00
Daniel Hofstetter 4d3097be36 Bump tempfile from 3.3.0 to 3.4.0 2023-03-09 10:30:35 +01:00
Daniel Hofstetter 817a832f33 Bump clap from 4.0.26 to 4.1.8 2023-03-09 10:02:48 +01:00
Sylvestre Ledru 79d18ab656 generate manpages 2023-03-04 19:42:28 +01:00
Koutheir Attouchi e6027f82d6 Updated selinux dependency to version 0.4. 2023-02-23 18:41:34 -05:00
Terts Diepraam 3554565c82
Merge pull request #4356 from howjmay/cksum-a
cksum: implement -a
2023-02-23 12:18:21 +01:00
Terts Diepraam 6bd42fde6a
Merge pull request #4293 from Joining7943/tests-util-refactor-ucommand-add-run-in-shell
`tests/util`: Small Refactor/Fixes of `UCommand` and add method to run a `UCommand` in a shell platform independently
2023-02-21 22:41:20 +01:00
Guilherme A. de Souza 7d7b9eb49a
Migrate from atty to is-terminal (#4382) 2023-02-21 21:52:18 +01:00
Yang Hau 678a11dcf2 cksum: Implement option -a
Implement option -a --algorithm.
Move digest to src/uucore/src/lib/features and rename it to hash.

fix lint

fix Cargo.toml
2023-02-18 20:58:53 +08:00
Joining7943 2b5b0c82c1 tests/util: Bump rlimit version to 0.9.1 to be able to use prlimit on android 2023-02-17 17:39:30 +01:00
Joining7943 0ed6a9f882 tail: Fix parsing of sleep interval. Use duration parser from fundu crate.
Activate tests for parsing sleep interval
2023-02-12 20:23:55 +01:00
Terts Diepraam bf8e9333f6 tee: use retain_mut from std instead of the deprecated retain_mut crate 2023-02-11 18:54:55 +01:00
Terts Diepraam ae27c82020 Use workspace inheritance for dependencies 2023-02-11 18:54:46 +01:00
Terts Diepraam b10950e383 Bump MSRV to 1.64 2023-02-11 13:59:50 +01:00
Terts Diepraam 357001dabc fix double dependency of memoffset by upgrading nix, libc and ctrlc 2023-02-09 14:02:40 +01:00
Joining7943 c2ad54fe09 tests/util: Add methods in CmdResult to assert the received signal on unix systems
Add tests for these signal methods. Include `signals` feature in Cargo.toml uucore dev-dependencies.
2023-01-22 14:56:19 +01:00
Terts Diepraam 4d3dc78686 Version 0.0.17 2023-01-21 10:38:18 +01:00
Roy Ivy III c3c7054155 build: feature cleanup 2023-01-08 12:42:37 -06:00
Roy Ivy III 9b27cd8cb3 build: uname is WinOS-compatible; move to 'Tier1' feature 2022-12-27 10:55:34 -06:00
Joining7943 83725d1876 tests: Add rstest crate with timeout macro, parameterized tests etc. to development dependencies 2022-12-17 21:41:35 +01:00
Niyaz Nigmatullin 7ca3f0b338 deps: bump textwrap to 0.16 and cargo +1.60.0 update 2022-11-21 10:40:44 +02:00
dependabot[bot] af2833761c build(deps): bump chrono from 0.4.22 to 0.4.23
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.22 to 0.4.23.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.22...v0.4.23)

---
updated-dependencies:
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 14:21:20 +01:00
dependabot[bot] 26489d47a9
build(deps): bump regex from 1.6.0 to 1.7.0
Bumps [regex](https://github.com/rust-lang/regex) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.6.0...1.7.0)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-06 13:55:24 +00:00
Niyaz Nigmatullin 43d85c6489 rand_pcg is used only in unix tests, moved to unix dev-dependencies 2022-10-18 13:18:50 +03:00
Niyaz Nigmatullin 729d97e993 test_sort: use Pcg32 random number generator 2022-10-18 13:18:50 +03:00
Sylvestre Ledru 23b0bb3da4
Merge pull request #3991 from tertsdiepraam/clap-4
Clap 4
2022-10-14 21:49:05 +02:00
dependabot[bot] 2135673fd0
build(deps): bump zip from 0.6.2 to 0.6.3
Bumps [zip](https://github.com/zip-rs/zip) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/zip-rs/zip/releases)
- [Commits](https://github.com/zip-rs/zip/commits)

---
updated-dependencies:
- dependency-name: zip
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 06:43:49 +00:00
Terts Diepraam 84b7ecd32d coreutils: update to clap 4 2022-10-13 17:51:01 +02:00
Terts Diepraam 696f0f18bb deps: update phf to 0.11.1 2022-10-13 16:18:17 +02:00
Terts Diepraam f8f3ae3c65 bump msrv to 1.60 2022-10-12 12:09:28 +02:00
Terts Diepraam f15c4f2d3e Version 0.0.16 2022-10-11 23:03:39 +02:00
dependabot[bot] 39d9fa31f6
build(deps): bump selinux from 0.2.7 to 0.3.0
Bumps [selinux](https://github.com/koutheir/selinux) from 0.2.7 to 0.3.0.
- [Release notes](https://github.com/koutheir/selinux/releases)
- [Changelog](https://github.com/koutheir/selinux/blob/master/CHANGELOG.md)
- [Commits](https://github.com/koutheir/selinux/commits)

---
updated-dependencies:
- dependency-name: selinux
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 06:46:06 +00:00
Niyaz Nigmatullin 242ec35cfc deps: disable default features of procfs dependencies
It required using `chrono` dependency with features using
old insecure `time` crate version. Plus this change just
makes less dependencies
2022-09-09 17:49:03 +03:00
Sylvestre Ledru d1bbc37bc3 Set the rust-version flag 2022-09-08 20:28:33 +02:00
Sylvestre Ledru a8d1d73465 fix a test on cp counting the number of fd:
The testsuite runs in parallel, we have pipe, sockets
opened by other tests.
So, we take in account the various fd to increase the limit
2022-09-07 21:26:03 +02:00
Niyaz Nigmatullin 306272bf60 unix_sockets is deprecated, use std::os::unix::net instead 2022-08-20 17:02:29 +03:00
Terts Diepraam 15180249fc Version 0.0.15 2022-08-20 13:13:22 +02:00
Sylvestre Ledru 8786bb6541
Merge pull request #3672 from tertsdiepraam/stty
Initial implementation of `stty`
2022-08-20 09:34:08 +02:00
Terts Diepraam 600cab0bd8 starting work on stty 2022-08-18 11:33:04 +02:00
dependabot[bot] e465d0520f
build(deps): bump once_cell from 1.13.0 to 1.13.1
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.0...v1.13.1)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-17 16:20:25 +00:00
Niyaz Nigmatullin 9cd898b885 remove nix 0.24.2 dependency 2022-08-17 13:13:27 +03:00
Daniel Hofstetter fc4544c42b bump clap from 3.1.18 to 3.2.15 2022-07-29 14:05:02 +02:00
dependabot[bot] d15b95533e
build(deps): bump nix from 0.24.1 to 0.24.2
Bumps [nix](https://github.com/nix-rust/nix) from 0.24.1 to 0.24.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.24.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.24.1...v0.24.2)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 06:41:18 +00:00
Sylvestre Ledru 882cd527ff
Merge pull request #3704 from Sciencentistguy/once_cell
Replace lazy_static with once_cell
2022-07-13 16:15:47 +02:00
Jamie Quigley 1a270361c0
Replace lazy_static with once_cell 2022-07-12 14:08:30 +01:00