3 unstable releases
0.2.1 | Aug 14, 2024 |
---|---|
0.2.0 | Jul 17, 2024 |
0.1.0 | Jun 24, 2024 |
#1944 in Procedural macros
871 downloads per month
Used in 2 crates
(via tfhe-versionable)
79KB
1.5K
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
~250–700KB
~17K SLoC