#versioning #proc-macro #serialization #encoding #derive

macro tfhe-versionable-derive

tfhe-versionable-derive: A set of proc macro for easier implementation of the tfhe-versionable traits

6 releases

0.3.2 Nov 6, 2024
0.3.1 Oct 8, 2024
0.3.0 Sep 24, 2024
0.2.1 Aug 14, 2024
0.1.0 Jun 24, 2024

#2156 in Procedural macros

Download history 161/week @ 2024-08-17 180/week @ 2024-08-24 248/week @ 2024-08-31 307/week @ 2024-09-07 435/week @ 2024-09-14 381/week @ 2024-09-21 249/week @ 2024-09-28 1553/week @ 2024-10-05 934/week @ 2024-10-12 2092/week @ 2024-10-19 706/week @ 2024-10-26 1540/week @ 2024-11-02 1048/week @ 2024-11-09 1266/week @ 2024-11-16 928/week @ 2024-11-23 1795/week @ 2024-11-30

5,359 downloads per month
Used in 3 crates (via tfhe-versionable)

BSD-3-Clause-Clear

105KB
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 code
  • Version: should be derived on a previous version of this type
  • VersionsDispatch: should be derived ont the enum that holds all the versions of the type
  • NotVersioned: can be used to implement Versionize for a type that is not really versioned

Dependencies

~225–670KB
~16K SLoC