#case #macro #match #pattern-match #pattern-matching #pattern #matching

macro vesta-macro

Procedural macros used by and exported from the Vesta crate

1 unstable release

0.1.2 Apr 8, 2021
0.1.1 Apr 8, 2021
0.1.0 Apr 8, 2021

#37 in #pattern-match

38 downloads per month
Used in 2 crates (via vesta)

MIT license

30KB
526 lines

Vesta's Macros

This crate defines the case! macro and Match derive macro for the Vesta crate. This crate is not usable by itself, because it assumes the presence of vesta; use that crate, which re-exports these macros.


lib.rs:

This crate defines the case! macro and Match derive macro exported by the Vesta crate, as well as the derive_match! macro that it uses internally.

You cannot use this crate directly, because it depends on Vesta. Instead, use the vesta crate to use these macros.

Dependencies

~4MB
~81K SLoC