risc0-curve25519-dalek-source/src/backend/serial
Tony Arcieri cc304c29ff
Use --cfg curve25519_dalek_backend to select backend (#455)
Crate features are intended to be additive, whereas only 1-of-N possible
backends can be selected.

Features can also be activated by transitive dependencies, which leads
to a problem of different dependences selecting conflicting backends.
Using `--cfg` instead moves all backend selection control to the
toplevel executable.

This commit switches to the following RUSTFLAGS to enable backends:

- `--cfg curve25519_dalek_backend="fiat"`: uses `fiat-crypto`
- `--cfg curve25519_dalek_backend="simd"`: uses nightly-only SIMD
2022-12-09 03:42:52 -05:00
..
curve_models Fix all clippy warnings replay (#441) 2022-12-04 03:40:51 -05:00
fiat_u32 Fix all clippy warnings replay (#441) 2022-12-04 03:40:51 -05:00
fiat_u64 Fix all clippy warnings replay (#441) 2022-12-04 03:40:51 -05:00
scalar_mul Remove std feature (#459) 2022-12-08 15:05:59 -05:00
u32 Fix all clippy warnings replay (#441) 2022-12-04 03:40:51 -05:00
u64 Fix all clippy warnings replay (#441) 2022-12-04 03:40:51 -05:00
mod.rs Use --cfg curve25519_dalek_backend to select backend (#455) 2022-12-09 03:42:52 -05:00