9 Commits

Author SHA1 Message Date
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
Daniel Hofstetter ffe79c71f6 ci: remove actions-rs/cargo & use cargo directly 2024-01-22 10:24:12 +01:00
Terts Diepraam 462898ca91 take positional arguments out of arguments enum 2023-12-19 11:45:43 +01:00
Terts Diepraam 5f84e8b958 initial implementation of completion for fish 2023-12-08 10:46:52 +01:00
Daniel Hofstetter 4b292a3544 ci: use dtolnay/rust-toolchain instead of
action-rs/toolchain to get rid of some CI warnings
2023-12-02 16:23:44 +01:00
Terts Diepraam 41642aeb91 Merge pull request #49 from cakebaker/remove_dependabot_config
Remove dependabot.yml
2023-12-02 16:09:22 +01:00
Daniel Hofstetter aaf964a99a Remove dependabot.yml 2023-12-02 16:01:20 +01:00
renovate[bot] 72f75e8218 Update actions/checkout action to v4 2023-12-02 11:28:15 +00:00
Terts Diepraam 267b24342f add CI 2022-11-27 00:19:11 +01:00