1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-05 07:27:46 +00:00
Commit graph

15884 commits

Author SHA1 Message Date
renovate[bot]
611a320396
chore(deps): update rust crate fts-sys to v0.2.16 2025-03-25 13:25:38 +00:00
Nicolas Boichat
4a959d4bdd .pre-commit-config.yaml: Also run cspell
That cuaght me a few times... I think it's reasonable to ask devs
to install cspell locally if they want to use the pre-commit hook.
2025-03-25 13:57:08 +01:00
Daniel Hofstetter
db8b84fc06 deny.toml: remove two crates from skip list
bindgen & rustc-hash
2025-03-25 13:46:32 +01:00
renovate[bot]
bde8165f7f
chore(deps): update rust crate selinux to v0.5.1 2025-03-25 12:39:47 +00:00
Daniel Hofstetter
3530c4c41b
Merge pull request #7424 from uutils/renovate/selinux-sys-0.x
chore(deps): update rust crate selinux-sys to v0.6.14
2025-03-25 13:38:28 +01:00
Sylvestre Ledru
2488e17aef
Merge pull request #7571 from cakebaker/hostid_use_libc
hostid: use `gethostid` from Rust `libc`
2025-03-25 13:20:24 +01:00
Sylvestre Ledru
765a8b54bc
Merge pull request #7573 from drinkcat/uudoc-fix
uudoc: Fix for edition 2024
2025-03-25 13:11:01 +01:00
Nicolas Boichat
5d53da9f3e uudoc: Fix for edition 2024
This change is documented here: https://doc.rust-lang.org/nightly/edition-guide/rust-2024/match-ergonomics.html

I'm... not sure to understand everything, but this change is what
`cargo fix --edition --features="uudoc" --allow-dirty`
suggests.

Fixes #7572.
2025-03-25 12:16:28 +01:00
Daniel Hofstetter
b0e0059251
Merge pull request #7568 from uutils/sylvestre-patch-5
flake.nix: bump minial rust version
2025-03-25 10:55:54 +01:00
renovate[bot]
4a3b034457
chore(deps): update rust crate selinux-sys to v0.6.14 2025-03-25 09:55:08 +00:00
Daniel Hofstetter
df7427b834
Merge pull request #7343 from uutils/renovate/hex-literal-1.x
chore(deps): update rust crate hex-literal to v1
2025-03-25 10:53:27 +01:00
Daniel Hofstetter
2a0bfb8bd5 hostid: use gethostid from Rust libc 2025-03-25 10:40:51 +01:00
Sylvestre Ledru
0522576ae6
flake.nix: bump minial rust version 2025-03-25 10:00:07 +01:00
renovate[bot]
944cd4f72c
chore(deps): update rust crate hex-literal to v1 2025-03-25 08:37:05 +00:00
Daniel Hofstetter
f038d3e716
Merge pull request #7423 from sylvestre/rust-2024
bump to Rust edition 2024 & min = 1.85
2025-03-25 09:30:03 +01:00
Lewis Boon
b02e3d587d date: allow negative date offsets
Issue #7515
Clap needs to be specifically configured to allow values
with a leading hyphen.
2025-03-24 22:03:38 +00:00
Sylvestre Ledru
22fc5cf16b dd tests: fix 'temporary value dropped while borrowed' 2025-03-24 21:33:16 +01:00
Sylvestre Ledru
b4ac10769d add some missing unsafe 2025-03-24 21:33:16 +01:00
Sylvestre Ledru
85c5d39fd7 add setpriority to the spell ignore 2025-03-24 21:33:16 +01:00
Sylvestre Ledru
d671849b7f uucore: set the unsafe at the right place 2025-03-24 21:33:16 +01:00
Sylvestre Ledru
a85539f530 Run cargo fmt on the tree 2025-03-24 21:33:12 +01:00
Sylvestre Ledru
36dd968c9a head: fix an iterator 2025-03-24 21:03:58 +01:00
Sylvestre Ledru
39f5c394a7 Fix 'does not live long enough' 2025-03-24 21:03:10 +01:00
Sylvestre Ledru
b1d676d3b5 add missing unsafe around extern 2025-03-24 21:03:00 +01:00
Sylvestre Ledru
5b1b40bfd8 Fix 'binding modifiers may only be written when the default binding mode is' 2025-03-24 21:02:48 +01:00
Sylvestre Ledru
95b2de78e1 Fix 'extern blocks must be unsafe' 2025-03-24 21:02:40 +01:00
Sylvestre Ledru
2739c19330 Fix unsafe attribute used without unsafe 2025-03-24 21:00:53 +01:00
Sylvestre Ledru
e0fbced116 rust edition 2021 => 2024 2025-03-24 21:00:35 +01:00
Sylvestre Ledru
f5eff9517f Bump MSRV to 1.85.0 2025-03-24 21:00:16 +01:00
Sylvestre Ledru
39706be414
Merge pull request #7512 from dlrobertson/issue-7505
printf: trim leading whitespace when parsing numeric values
2025-03-24 19:11:15 +01:00
Dorian Péron
4426d58389
Merge pull request #7524 from sylvestre/ignore-intermittent-pass
ci: if FAIL => PASS but in the intermittent list, show the info
2025-03-24 19:07:18 +01:00
Sylvestre Ledru
1ee8092826
Merge pull request #7525 from sylvestre/thiserror4
Move more programs to thiserror
2025-03-24 19:06:13 +01:00
Sylvestre Ledru
36231f7551
Merge pull request #7562 from drinkcat/seq-perf-1
seq: Directly write separator string, instead of using format
2025-03-24 19:05:14 +01:00
Nicolas Boichat
66745427cb seq: Directly write separator string, instead of using format
Doing `stdout.write_all(separator.as_bytes())?` is quite a bit
faster than using format to do the same operation:
`write!(stdout, "{separator}")?`.

This speeds up by about 10% on simple cases.

We do the same for the terminator even though this has no measurable
performance impact.
2025-03-24 18:02:06 +01:00
Daniel Hofstetter
7574794a6e
Merge pull request #7561 from uutils/renovate/chrono-tz-0.x-lockfile
chore(deps): update rust crate chrono-tz to v0.10.3
2025-03-24 17:50:40 +01:00
Dan Robertson
1a0bc30f17 printf: trim leading whitespace when parsing numeric values
Trim leading whitespace from numeric input to printf.
2025-03-24 16:27:58 +00:00
renovate[bot]
ee09b7934c
chore(deps): update rust crate chrono-tz to v0.10.3 2025-03-24 15:55:34 +00:00
Daniel Hofstetter
af7411a933
Merge pull request #7560 from lbellomo/fix-ghost-link-doc
doc: escape RE with backticks (`)
2025-03-24 16:54:19 +01:00
lbellomo
d561ee8f16 doc: escape RE with '`' 2025-03-24 12:01:16 -03:00
Sylvestre Ledru
ffe8762ee6 Fix the GNU test
Co-authored-by: Dorian Péron <72708393+RenjiSann@users.noreply.github.com>
2025-03-24 14:22:25 +01:00
Sylvestre Ledru
5e1677bb9e adjust cargo.lock 2025-03-24 14:22:25 +01:00
Sylvestre Ledru
305be09403 ls: move to thiserror 2025-03-24 14:22:25 +01:00
Sylvestre Ledru
9d123febb3 install: move to thiserror 2025-03-24 14:22:25 +01:00
Sylvestre Ledru
c1bb57fd1e ln: move to thiserror 2025-03-24 14:22:25 +01:00
Sylvestre Ledru
d0e6a6271c join: move to thiserror 2025-03-24 14:22:25 +01:00
Daniel Hofstetter
cce6e4922b
Merge pull request #7557 from AspadaX/patch-1
Update installation.md
2025-03-24 10:30:27 +01:00
Sylvestre Ledru
99de7bf30c
Merge pull request #7551 from lbellomo/fix-broken-links-doc
doc: fix broken links on mdbook
2025-03-24 09:50:11 +01:00
Xinyu Bao
cfced1b7d2
Update installation.md
Appended `--locked` flag to the Cargo installation commands.
2025-03-24 16:37:06 +08:00
Daniel Hofstetter
f5f9b23676
Merge pull request #7555 from uutils/renovate/iana-time-zone-0.x-lockfile
chore(deps): update rust crate iana-time-zone to v0.1.62
2025-03-24 09:13:34 +01:00
Sylvestre Ledru
a0fb47794a
Merge pull request #7554 from cakebaker/docs_replace_aur_package
docs: replace AUR package in installation.md
2025-03-24 08:47:54 +01:00