#git-history #enums #proc-macro #macro-derive

macro git_function_history-proc-macro

A proc macro to generate a bunch of stuff for enums - for git_function_history

1 unstable release

0.1.0 Oct 17, 2023

#35 in #git-history

39 downloads per month
Used in 2 crates (via git_function_history)

MIT license

7KB
79 lines

git_function_history_proc-macro

Crates.io Docs.rs msrv

This crate provides a procedural derive macro enum_stuff along with the attribue enumstuff which is used to skip fields or variants for the crate git_function_history, that makes it easier to parse list of strings to filter types provided by the git_function_history crate, along with some other stuff for types that derive it. This makes it easier for consumer of the git_function_history crate to create UIs by providing a way to turn user commands into filters and commands the git_function_history crate can understand. To see an example of the features provided by this crate in use look at cargo-function-history.

Dependencies

~315–770KB
~18K SLoC