#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 28116/week @ 2024-10-15 29951/week @ 2024-10-22 24986/week @ 2024-10-29 31133/week @ 2024-11-05 33862/week @ 2024-11-12 28126/week @ 2024-11-19 15642/week @ 2024-11-26 27970/week @ 2024-12-03 25736/week @ 2024-12-10 24036/week @ 2024-12-17 5786/week @ 2024-12-24 12494/week @ 2024-12-31 28346/week @ 2025-01-07 33121/week @ 2025-01-14 28724/week @ 2025-01-21 25647/week @ 2025-01-28

120,556 downloads per month
Used in 35 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

~210–650KB
~15K SLoC