#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

#2080 in Procedural macros

Download history 315/week @ 2024-07-29 277/week @ 2024-08-05 286/week @ 2024-08-12 149/week @ 2024-08-19 207/week @ 2024-08-26 245/week @ 2024-09-02 303/week @ 2024-09-09 425/week @ 2024-09-16 388/week @ 2024-09-23 242/week @ 2024-09-30 1595/week @ 2024-10-07 965/week @ 2024-10-14 2057/week @ 2024-10-21 661/week @ 2024-10-28 1677/week @ 2024-11-04 1007/week @ 2024-11-11

5,442 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

~205–640KB
~15K SLoC