7 unstable releases (3 breaking)
0.4.0 | Jan 7, 2025 |
---|---|
0.3.2 | Nov 6, 2024 |
0.3.1 | Oct 8, 2024 |
0.3.0 | Sep 24, 2024 |
0.1.0 | Jun 24, 2024 |
#2276 in Procedural macros
4,099 downloads per month
Used in 3 crates
(via tfhe-versionable)
110KB
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
~215–660KB
~16K SLoC