Commit Graph

277 Commits

Author SHA1 Message Date
Terts Diepraam f225366f85 Merge pull request #136 from cakebaker/clippy_suppress_warning
clippy: suppress warning from `large_enum_variant`
2025-05-28 09:40:53 +02:00
Daniel Hofstetter 0c4136fb60 clippy: suppress warning from large_enum_variant 2025-05-16 10:49:41 +02:00
Terts Diepraam c2b91a7604 Merge pull request #134 from BenWiederhake/dev-derive-trybuild
split 'compile_error' toy into many test cases, demonstrate new issues
2025-04-18 19:43:33 +02:00
Ben Wiederhake f47e84c714 derive: split 'compile_error' toy into many test cases, demonstrate new issues 2025-04-18 16:31:29 +02:00
Terts Diepraam 985af4aa33 Merge pull request #135 from BenWiederhake/dev-complete-visibility
Make 'complete' available to procmacro's output by conversion to module
2025-04-16 08:58:06 +02:00
Ben Wiederhake bbb193d387 make 'complete' available to procmacro by conversion to module 2025-04-16 02:12:55 +02:00
Terts Diepraam 48aae19444 Merge pull request #131 from BenWiederhake/dev-remove-complete-featureflag
remove 'complete' feature flag, make it unconditional
2025-04-15 09:26:40 +02:00
Terts Diepraam fb6209a0e8 Merge pull request #133 from BenWiederhake/dev-derive-panic-no-unwrap
derive: make error messages slightly more readable, add manually-driven test
2025-04-14 21:59:14 +02:00
Ben Wiederhake b2e78d3f58 derive: make error messages slightly more readable, add manually-driven test 2025-04-13 20:59:24 +02:00
Ben Wiederhake 6e5f7b7ea3 remove 'complete' feature flag, make it unconditional
This avoids using cfg with the destination-crate's feature "complete"
in proc-macro "derive".

Quoting cargo:

    using a cfg inside a derive macro will use the cfgs from the
    destination crate and not the ones from the defining crate

In these two instances, the cfg was simply used to avoid emitting dead
code if the "complete" feature is not desired. By passing the "complete"
feature down to the derive crate and evaluating if there, we achieve the
same goal, without having to deal with suprisingly-valued and unexpected
cfgs downstream.

Alternatively, we could just evaluate the flag inside the derive crate,
and pass the feature flag to it.
2025-04-12 22:20:32 +02:00
Terts Diepraam 3e7b411292 Merge pull request #114 from BenWiederhake/dev-du
implement proof of concept for du -bkB
2025-04-12 14:20:48 +02:00
Ben Wiederhake 522f1850e2 implement proof of concept for du -bkB 2025-04-12 13:44:16 +02:00
Daniel Hofstetter 2c1caf0aa0 Merge pull request #127 from uutils/sylvestre-patch-1
adjust the README
2025-04-01 18:42:19 +02:00
Sylvestre Ledru fec391f6b9 adjust the README 2025-04-01 17:59:03 +02:00
Sylvestre Ledru 43b5bf4181 Merge pull request #126 from cakebaker/rust_edition_2024
Switch to Rust edition 2024
2025-04-01 17:57:19 +02:00
Daniel Hofstetter 7a126b5f45 Adapt formatting 2025-04-01 11:19:52 +02:00
Daniel Hofstetter 6b2f3d5aa5 Switch to rust edition 2024 2025-04-01 11:19:11 +02:00
Daniel Hofstetter f1eb49937e Remove ref 2025-04-01 11:17:55 +02:00
Daniel Hofstetter 32883b540a Merge pull request #115 from BenWiederhake/dev-bash-completion
Rudimentary bash completion
2025-04-01 10:51:13 +02:00
Daniel Hofstetter bf9fd5e2b0 Merge pull request #113 from BenWiederhake/dev-fallible-apply
Make Options::apply fallible
2025-04-01 10:50:24 +02:00
Ben Wiederhake e752a3f783 handle special-case program name '[' 2025-04-01 10:39:13 +02:00
Ben Wiederhake 1b5405cb0d implement rudimentary bash completion 2025-04-01 10:39:13 +02:00
Ben Wiederhake 6d2b4f423b fix documented list of supported shell completions 2025-04-01 10:39:13 +02:00
Ben Wiederhake e3f0b529fa Mark unused spaces to satisfy clippy
This causes CI failures, so let's fix this.
2025-04-01 10:37:50 +02:00
Ben Wiederhake 03b8dc1dd7 write date output format logic with exhaustive tests
Also, exhausting tests.
2025-04-01 10:37:50 +02:00