#newtype #finite-fields #galois #macro

macro no-std g2gen

A macro to create types that implement fast finite field arithmetic

10 releases (6 stable)

1.2.2 Mar 23, 2025
1.2.1 Mar 22, 2025
1.1.0 Aug 12, 2024
1.0.1 Jan 17, 2023
0.1.0 Mar 25, 2019

#2254 in Algorithms

Download history 25843/week @ 2025-01-18 31791/week @ 2025-01-25 34907/week @ 2025-02-01 36346/week @ 2025-02-08 29133/week @ 2025-02-15 38191/week @ 2025-02-22 35864/week @ 2025-03-01 40637/week @ 2025-03-08 44568/week @ 2025-03-15 44117/week @ 2025-03-22 43221/week @ 2025-03-29 48667/week @ 2025-04-05 43145/week @ 2025-04-12 42164/week @ 2025-04-19 45297/week @ 2025-04-26 36605/week @ 2025-05-03

178,339 downloads per month
Used in 36 crates (via g2p)

MIT/Apache

40KB
727 lines

Procedural macro to generate finite field types

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


g2gen

See g2p

License

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

Dependencies

~195–630KB
~15K SLoC