#finite-fields #newtype #macro #galois

macro no-std g2gen

A macro to create types that implement fast finite field arithmetic

6 releases (2 stable)

1.0.1 Jan 17, 2023
1.0.0 Jan 3, 2023
0.4.0 May 25, 2019
0.2.1 Apr 3, 2019
0.1.0 Mar 25, 2019

#17 in #galois

Download history 3216/week @ 2024-01-15 2057/week @ 2024-01-22 2345/week @ 2024-01-29 1723/week @ 2024-02-05 2077/week @ 2024-02-12 1856/week @ 2024-02-19 21057/week @ 2024-02-26 25674/week @ 2024-03-04 19763/week @ 2024-03-11 26288/week @ 2024-03-18 25219/week @ 2024-03-25 28833/week @ 2024-04-01 9453/week @ 2024-04-08 22716/week @ 2024-04-15 25207/week @ 2024-04-22 23727/week @ 2024-04-29

81,581 downloads per month
Used in 26 crates (via g2p)

MIT/Apache

39KB
721 lines

g2gen

See g2p

License

Licensed under the Apache License, Version 2.0 LICENSE-APACHE or the MIT license LICENSE-MIT>, at your option.


lib.rs:

Procedural macro to generate finite field types

This is just the procedural macro, for more information look at g2p.

Dependencies

~1.5MB
~34K SLoC