Commit graph

891 commits

Author SHA1 Message Date
Daniel Hofstetter
23289e66d2
Merge pull request #4602 from uutils/renovate/fundu-0.x
chore(deps): update rust crate fundu to 0.4.3
2023-03-25 13:51:16 +01:00
Sylvestre Ledru
20cfd299e7
Merge pull request #4493 from tertsdiepraam/shred-expand-buffer-size
`shred`: refactor to clean up code and reduce syscalls
2023-03-24 23:15:13 +01:00
renovate[bot]
61e07e0cbc chore(deps): update rust crate fundu to 0.4.3 2023-03-24 22:26:12 +01:00
Sylvestre Ledru
5825cab627
Merge pull request #4595 from cakebaker/bump_clap_to_4_1_13
Bump clap from 4.1.8 to 4.1.13
2023-03-24 20:34:08 +01:00
Sylvestre Ledru
99f8eb54b2
Merge pull request #4596 from uutils/renovate/blake3-1.x
chore(deps): update rust crate blake3 to 1.3.3
2023-03-24 20:17:51 +01:00
renovate[bot]
e86c94233a
chore(deps): update rust crate chrono to ^0.4.24 2023-03-24 09:34:01 +00:00
renovate[bot]
2ed432ebdc
chore(deps): update rust crate blake3 to 1.3.3 2023-03-24 09:32:18 +00:00
Daniel Hofstetter
0abe42189e Bump clap from 4.1.8 to 4.1.13 2023-03-24 10:21:28 +01:00
Terts Diepraam
ae53b700d4 shred: make dependency on libc explicit 2023-03-13 18:18:42 +01:00
Daniel Hofstetter
f53edbe89a Bump fts-sys to 0.2.4 & selinux-sys to 0.6.2 2023-03-13 10:40:13 +01:00
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
3a28b616d9 sleep: Use fundu instead of uucore::parse_time::from_str 2023-03-12 15:37:44 +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
9322580967 Add checksum algorithm abstractions 2023-02-21 21:14:58 +08:00
Sylvestre Ledru
f88b4f4109
Merge branch 'main' into fs_extra 2023-02-18 17:23:07 +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
cca54089fb tail: Cargo.toml: Remove unneeded features of uucore and the nix dependency 2023-02-16 20:00:38 +01:00
Terts Diepraam
ff5000d4d0
Merge pull request #4239 from Joining7943/tail-fix-parsing-of-sleep-interval
`tail`: fix argument parsing of sleep interval
2023-02-16 15:14:53 +01:00
Guilherme A. de Souza
04b6d806a2
nproc: replace num_cpus crate with thread::available_parallelism (#4352)
* nproc: replace num_cpus crate with std:🧵:available_parallelism

* nproc: unwrap Result for Windows

* nproc: if thread::available_parallelism results in err return 1

* nproc: wrap the call to available_parallelism into a function

* nproc: remove comment in the wrong place

* nproc: fix style violation

* nproc: fix comment, refers to the new function
2023-02-14 22:43:09 +01:00
Sylvestre Ledru
b1392195f6
Merge branch 'main' into fs_extra 2023-02-14 09:31:45 +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
Yang Hau
0b1edd33fc rm: Remove remove_dir_all dependency
Closes #4335
2023-02-11 01:04:30 +08:00
Terts Diepraam
152be8527d update blake2_simd to 1.0.1
This fixes the duplicate constant-time-eq dependency.
2023-02-10 09:56:24 +01:00
Terts Diepraam
357001dabc fix double dependency of memoffset by upgrading nix, libc and ctrlc 2023-02-09 14:02:40 +01:00
Terts Diepraam
efb9cad579 fix double terminal_size dependency via indicatif -> console 2023-02-09 13:48:59 +01:00
Sylvestre Ledru
e3d301220f mv: Update of fs_extra - address the new warnings 2023-02-06 18:11:53 +01:00
dependabot[bot]
204d96b7df
build(deps): bump regex from 1.7.0 to 1.7.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.0 to 1.7.1.
- [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.7.0...1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 06:13:54 +00:00
dependabot[bot]
423ff9fe8b build(deps): bump gcd from 2.1.0 to 2.2.0
Bumps [gcd](https://github.com/frewsxcv/rust-gcd) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/frewsxcv/rust-gcd/releases)
- [Commits](https://github.com/frewsxcv/rust-gcd/compare/2.1.0...2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 21:10:27 +01:00
Terts Diepraam
4d3dc78686 Version 0.0.17 2023-01-21 10:38:18 +01:00
Roy Ivy III
4eb5bc1d2f update Cargo.lock 2023-01-13 22:13:26 -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
Terts Diepraam
e4bed1c087
Merge pull request #4135 from Joining7943/refactor-tail-check-warnings
`tail`: Refactor handling of warnings and early exits
2022-12-14 13:21:54 +01:00
Joining7943
2dc8a1b55e tail: Add gnu's warning when following stdin is ineffective. If no pid support set to 0 in Observer. 2022-12-13 16:16:14 +01:00
Christian
00bbe24639
mv: add progress bar (#4220)
* mv: add progress bar

Similarly to `cp`, adds `-g` and `--progress` flags to enable a progress
bar via indicatif.
2022-12-13 11:46:54 +01:00
Jeffrey Finkelstein
3a5b31a30f dd: correct rendering of SI and IEC byte counts
Adjust the rendering of the concise byte counts in both SI and IEC
units to better match the behavior of GNU dd.

Before this commit,

    $ head -c 1024 /dev/zero | dd > /dev/null
    2+0 records in
    2+0 records out
    1024 bytes (1 KB, 1024 B) copied, 0.0 s, 1.0 MB/s

After this commit,

    $ head -c 1024 /dev/zero | dd > /dev/null
    2+0 records in
    2+0 records out
    1024 bytes (1.0 kB, 1.0 KiB) copied, 0.0 s, 1.0 MB/s

For comparison, GNU dd produces the following:

    $ head -c 1024 /dev/zero | dd > /dev/null
    2+0 records in
    2+0 records out
    1024 bytes (1.0 kB, 1.0 KiB) copied, 0.000332864 s, 3.1 MB/s
2022-12-03 10:14:00 -05:00
dependabot[bot]
f0e0404496 build(deps): bump clap_complete from 4.0.5 to 4.0.6
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.0.5...clap_complete-v4.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-29 22:53:03 +01:00