betrusted-curve25519-dalek-.../src
Tony Arcieri e57778a5a8 Unify alloc and std cargo features
This change provides a common convention for using allocator-dependent
features with:

    #![cfg(feature = "alloc")]

When available, `Vec` is imported consistently as `prelude::Vec`, which
means modules that need access to `Vec` can simply do:

    use prelude::*;

and if an allocator is available, `Vec` will be in the crate prelude.

This allows all `alloc` vs `std` gating to be handled in `lib.rs`,
`build.rs`, and `prelude.rs` so the rest of the codebase doesn't have to
do any gating whatsoever.
2018-07-20 15:07:07 -07:00
..
backend Unify alloc and std cargo features 2018-07-20 15:07:07 -07:00
curve_models Create a new scalar_mul module hierarchy. 2018-03-26 14:34:28 -07:00
scalar_mul Unify alloc and std cargo features 2018-07-20 15:07:07 -07:00
constants.rs Rework backend selection code. 2018-05-14 17:43:54 -07:00
edwards.rs Unify alloc and std cargo features 2018-07-20 15:07:07 -07:00
field.rs Unify alloc and std cargo features 2018-07-20 15:07:07 -07:00
lib.rs Unify alloc and std cargo features 2018-07-20 15:07:07 -07:00
macros.rs Implement public-facing ops traits on all combos of &T/T 2018-01-24 11:05:06 -08:00
montgomery.rs Unify alloc and std cargo features 2018-07-20 15:07:07 -07:00
prelude.rs Unify alloc and std cargo features 2018-07-20 15:07:07 -07:00
ristretto.rs Unify alloc and std cargo features 2018-07-20 15:07:07 -07:00
scalar.rs Unify alloc and std cargo features 2018-07-20 15:07:07 -07:00
traits.rs Add MultiscalarMul and VartimeMultiscalarMul traits. 2018-05-15 11:33:38 -07:00