#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 2131/week @ 2023-12-15 748/week @ 2023-12-22 1561/week @ 2023-12-29 2131/week @ 2024-01-05 3013/week @ 2024-01-12 2077/week @ 2024-01-19 2413/week @ 2024-01-26 1932/week @ 2024-02-02 1655/week @ 2024-02-09 1857/week @ 2024-02-16 16448/week @ 2024-02-23 23687/week @ 2024-03-01 26291/week @ 2024-03-08 19360/week @ 2024-03-15 30422/week @ 2024-03-22 19538/week @ 2024-03-29

100,854 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
~33K SLoC