chancehudson / scalarff

Simple scalars in prime fields
https://docs.rs/scalarff
0 stars 0 forks source link

Put example imports into readme/docs #6

Closed chancehudson closed 1 month ago

chancehudson commented 2 months ago

The documentation website removed the re-exported modules because they're behind feature flags now. Instead we should add an example in the readme/docs showing how to import each concrete field implementation.

use scalarff::Bn128FieldElement;
use scalarff::Curve25519FieldElement;
use scalarff::FoiFieldElement;