Commit graph

107 commits

Author SHA1 Message Date
Ben Wiederhake
0011b6e3f7 run cargo fmt on missed files
It seems these files were missed by CI. Command to run cargo fmt on
absolutely *everything* (and possibly too much)

find tests -name "*.rs" -print0 | xargs -0 cargo fmt --
2025-05-19 11:17:46 +02:00
Daniel Hofstetter
04164596d1 Bump tempfile from 3.19.1 to 3.20.0 2025-05-12 07:37:49 +02:00
Leo Emar-Kar
b14388ca41
ls: update chrono crate version and switch to new_lenient use (#7858)
* update chrono crate version and switch to new_lenient use

* bring back custom_tz_fmt and update test

* update chrono version in fuzz lock file

* replace boxing with parse_to_owned
2025-04-29 16:29:42 +02:00
Sylvestre Ledru
bf747acd30 update parse_datetime 2025-04-25 11:31:08 +02:00
Jeremy Smart
044b33d8cb
Merge pull request #7760 from Qelxiros/7670-tail-hex-formatting
tail hex parsing, remove fundu dependency
2025-04-23 18:34:00 +02:00
renovate[bot]
61d940765b
fix(deps): update rust crate rand to v0.9.1 2025-04-17 15:59:49 +00:00
renovate[bot]
ec11b6b21c
fix(deps): update rust crate libc to v0.2.172 2025-04-15 05:52:21 +00:00
Sylvestre Ledru
2103911d1a
Merge pull request #7717 from drinkcat/fuzz-minor-fixes
Fuzzing: minor fixes
2025-04-09 21:13:35 -04:00
Nicolas Boichat
2caeaf511e fuzz: Run cargo clippy
Unfortunately, cargo clippy fails when testing fuzz_seq_parse_number:

```
error[E0603]: module `number` is private
  --> fuzz_targets/fuzz_seq_parse_number.rs:9:13
   |
9  | use uu_seq::number::PreciseNumber;
   |             ^^^^^^ private module
   |
note: the module `number` is defined here
  --> /home/drinkcat/dev/coreutils/coreutils/src/uu/seq/src/seq.rs:24:1
   |
24 | mod number;
   | ^^^^^^^^^^
```

But we can still fix the rest...
2025-04-09 20:58:30 +02:00
Nicolas Boichat
75072b5a98 fuzz: Run cargo fmt 2025-04-09 08:55:32 +02:00
Daniel Hofstetter
a77e218a79
Merge pull request #7690 from nyurik/manual-inline
chore: manual inline formatting - tests
2025-04-08 15:27:14 +02:00
Yuri Astrakhan
3dc771924c chore: cleanup trailing commas before parens
Deleted commas in cases like `foo,)` -- mostly in macros
2025-04-08 00:33:58 -04:00
Yuri Astrakhan
982805d3cd chore: manual inline formatting
Minor manual cleanup - inlined many format args.  This makes the code a bit more readable, and helps spot a few inefficiencies and possible bugs.  Note that `&foo` in a `format!` parameter results in a 6% extra performance cost, and does not get inlined by the compiler (yet).
2025-04-08 00:23:21 -04:00
Nicolas Boichat
51e90ae544 fuzz/Cargo.lock: Update
For some reason this lockfile has not been updated since the
edition 2024/1.85.0 update.
2025-04-05 09:34:17 +02:00
Nicolas Boichat
6243dd5494 uucore: Move parser to a feature
This will eventually be needed as we'll want parse_time to
call into num_parser, which was previously contained in format
feature.
2025-04-04 15:25:06 +02:00
Sylvestre Ledru
b4ac10769d add some missing unsafe 2025-03-24 21:33:16 +01:00
Sylvestre Ledru
e0fbced116 rust edition 2021 => 2024 2025-03-24 21:00:35 +01:00
renovate[bot]
fd488ecff8
fix(deps): update rust crate tempfile to v3.19.1 2025-03-19 22:22:41 +00:00
renovate[bot]
bf204f42eb
fix(deps): update rust crate tempfile to v3.19.0 2025-03-14 01:34:11 +00:00
Daniel Hofstetter
11f2249f15 Bump libc from 0.2.170 to 0.2.171 2025-03-11 17:04:47 +01:00
renovate[bot]
9667ebbcd6
fix(deps): update rust crate tempfile to v3.18.0 2025-03-07 16:31:43 +00:00
renovate[bot]
e21f7cd784
fix(deps): update rust crate console to v0.15.11 2025-03-02 01:36:38 +00:00
renovate[bot]
65af29c272
fix(deps): update rust crate libc to v0.2.170 2025-02-23 06:13:27 +00:00
Daniel Hofstetter
41f1c6b2da fuzz: use new "<"/">" operators in fuzz_test 2025-02-21 14:58:54 +01:00
Daniel Hofstetter
34fb0dd197 fuzz: bump parse_datetime from 0.7 to 0.8 2025-02-21 14:58:11 +01:00
renovate[bot]
e5a2f7f942
fix(deps): update rust crate tempfile to v3.17.1 2025-02-17 16:36:16 +00:00
renovate[bot]
6ae81ed3c4
fix(deps): update rust crate tempfile to v3.17.0 2025-02-16 21:47:05 +00:00
Dorian Peron
6afa515859 fuzz(cksum): fix fuzzer to use GNU's binary instead of the systems', remove false positives, improve logging 2025-02-12 19:46:18 +01:00
Dorian Peron
5d952afa3d fuzz: improve readability of fuzzer output, add colors 2025-02-09 00:33:21 +01:00
Daniel Hofstetter
072d503d80 fuzz: update dependencies 2025-01-31 10:03:32 +01:00
Daniel Hofstetter
9aec9dc454 fuzz: adapt to API changes of rand 2025-01-30 14:41:36 +01:00
Daniel Hofstetter
05ae1704ab Bump rand & rand_core to 0.9.0
rand from 0.8.5, rand_core from 0.6.4
2025-01-30 08:52:42 +01:00
Daniel Hofstetter
bcb374be9a Bump tempfile from 3.15.0 to 3.16.0 2025-01-29 08:27:51 +01:00
renovate[bot]
51ecb7542e
fix(deps): update rust crate libfuzzer-sys to v0.4.9 2025-01-28 18:24:21 +00:00
renovate[bot]
891529aa56
fix(deps): update rust crate similar to v2.7.0 2025-01-19 16:21:54 +00:00
Daniel Hofstetter
6bedec53ad Bump chrono-tz from 0.8.6 to 0.10.0 2025-01-16 11:44:45 +01:00
Daniel Hofstetter
2e4d4b4599 fuzz: bump bigdecimal from 0.4.3 to 0.4.7 2025-01-16 10:55:07 +01:00
Daniel Hofstetter
2ab6dac8f0 Bump tempfile from 3.14.0 to 3.15.0 2025-01-03 14:40:37 +01:00
Sylvestre Ledru
0d83c440e3
Merge branch 'main' into fuzz-cksum2 2024-12-28 12:13:35 +01:00
renovate[bot]
3295e831a1
fix(deps): update rust crate libc to v0.2.169 2024-12-19 06:09:57 +00:00
renovate[bot]
3211e43caa
fix(deps): update rust crate libc to v0.2.168 2024-12-09 11:51:47 +00:00
renovate[bot]
4f7f85da47
fix(deps): update rust crate libc to v0.2.167 2024-11-29 10:45:33 +00:00
renovate[bot]
3e1328c81a
fix(deps): update rust crate libc to v0.2.166 2024-11-27 02:09:06 +00:00
renovate[bot]
a81bd33b6b
fix(deps): update rust crate libc to v0.2.165 2024-11-25 22:58:46 +00:00
renovate[bot]
2f5e7f66a7
fix(deps): update rust crate tempfile to v3.14.0 2024-11-17 11:53:24 +00:00
renovate[bot]
1e47325ba2
fix(deps): update rust crate libfuzzer-sys to v0.4.8 2024-11-17 10:57:11 +00:00
renovate[bot]
96e42d6dd9
fix(deps): update rust crate libc to v0.2.164 2024-11-17 09:55:29 +00:00
Sylvestre Ledru
04f130ac08 fuzzing: add a new fuzzer for cksum 2024-11-16 20:18:12 +01:00
Sylvestre Ledru
6f43aa3739 fuzzing: add a function to generate a file with random content 2024-11-16 20:18:12 +01:00
Andrew Liebenow
bac29943cb fuzz: run GNU Core Utilities with LC_ALL=C 2024-10-18 09:33:02 -05:00