#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

new 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

#1977 in Procedural macros

Download history 307/week @ 2024-07-17 226/week @ 2024-07-24 300/week @ 2024-07-31 253/week @ 2024-08-07 270/week @ 2024-08-14 150/week @ 2024-08-21 229/week @ 2024-08-28 286/week @ 2024-09-04 343/week @ 2024-09-11 432/week @ 2024-09-18 305/week @ 2024-09-25 363/week @ 2024-10-02 1691/week @ 2024-10-09 1829/week @ 2024-10-16 1212/week @ 2024-10-23 1019/week @ 2024-10-30

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

~235–680KB
~16K SLoC