#finite-fields #newtype #macro #galois

macro no-std g2gen

A macro to create types that implement fast finite field arithmetic

7 releases (3 stable)

1.1.0 Aug 12, 2024
1.0.1 Jan 17, 2023
0.4.0 May 25, 2019
0.2.1 Apr 3, 2019
0.1.0 Mar 25, 2019

#15 in #galois

Download history 32047/week @ 2024-07-23 23310/week @ 2024-07-30 25352/week @ 2024-08-06 17017/week @ 2024-08-13 19687/week @ 2024-08-20 19288/week @ 2024-08-27 23987/week @ 2024-09-03 20203/week @ 2024-09-10 22164/week @ 2024-09-17 23268/week @ 2024-09-24 22889/week @ 2024-10-01 22700/week @ 2024-10-08 28116/week @ 2024-10-15 29951/week @ 2024-10-22 24986/week @ 2024-10-29 31093/week @ 2024-11-05

116,340 downloads per month
Used in 33 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

~205–640KB
~15K SLoC