Re-export commonly used types from toplevel (#502)

Re-exports the following commonly used types from their respective
modules to the toplevel of the crate, which makes them easier to access:

- `EdwardsPoint`
- `MontgomeryPoint`
- `RistrettoPoint`
- `Scalar`
This commit is contained in:
Tony Arcieri 2023-01-29 11:53:43 -07:00 committed by GitHub
parent 1a388f7135
commit 79bcbdc89b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,3 +80,7 @@ pub(crate) mod backend;
// Generic code for window lookups
pub(crate) mod window;
pub use crate::{
edwards::EdwardsPoint, montgomery::MontgomeryPoint, ristretto::RistrettoPoint, scalar::Scalar,
};