#proc-macro #invariants #part #language #contract #procedural #eiffel

macro eiffel-macros-gen

Eiffel is a library for Eiffel language inspired guard clauses with Rust macros. This is the proc-macro part of the library.

4 releases

0.0.4 Feb 28, 2024
0.0.3 Feb 28, 2024
0.0.2 Feb 28, 2024
0.0.1 Feb 28, 2024

#30 in #invariants

Download history 311/week @ 2024-02-26 36/week @ 2024-03-04 7/week @ 2024-03-11 27/week @ 2024-04-01

61 downloads per month
Used in eiffel

MIT license

10KB
135 lines

This crate is part of the eiffel crate.


lib.rs:

This create contains the procedural macros

Mostly the procedural macro contract which is used to check if a given invariant holds true before and after a method call.

Dependencies

~0.3–0.8MB
~19K SLoC