12 releases (7 breaking)
0.8.0 | Jun 17, 2022 |
---|---|
0.7.3 | Jan 3, 2022 |
0.7.2 | Sep 8, 2021 |
0.7.0 | Jul 16, 2021 |
0.1.0 | Nov 30, 2020 |
#16 in #arango-db
21 downloads per month
Used in 2 crates
(via aragog)
44KB
1K
SLoC
Aragog Macros
Procedural macros utility for aragog (crates.io).
Record derive macro
aragog_macros
allows to derive aragog::Record
instead of direct implementation. (see the book section)
Available attributes:
- before_create
- before_save
- before_delete
- before_write
- before_all
- after_create
- after_save
- after_delete
- after_write
- after_all
All these attributes are Record hooks.
Validate derive macro
aragog_macros
allows to derive aragog::Validate
instead of direct implementation. (see the book section)
Available attributes:
- validate
- validate_each
Dependencies
~1.5MB
~38K SLoC