8 releases (4 breaking)
new 0.5.0 | Feb 18, 2025 |
---|---|
0.4.0 | Jan 7, 2025 |
0.3.2 | Nov 6, 2024 |
0.3.1 | Oct 8, 2024 |
0.1.0 | Jun 24, 2024 |
#2338 in Procedural macros
6,726 downloads per month
Used in 3 crates
(via tfhe-versionable)
115KB
2K
SLoC
Set of derive macro to automatically implement the Versionize
and Unversionize
traits.
The macro defined in this crate are:
Versionize
: should be derived on the main type that is used in your codeVersion
: should be derived on a previous version of this typeVersionsDispatch
: should be derived ont the enum that holds all the versions of the typeNotVersioned
: can be used to implementVersionize
for a type that is not really versioned
Dependencies
~210–650KB
~15K SLoC