Add a no-simd feature.

This disables SIMD in reed-solomon-erasure to work around problems on
Android.
This commit is contained in:
Andreas Fackler 2018-11-06 17:56:19 +01:00 committed by Andreas Fackler
parent 697565c97a
commit 62686afa05
1 changed files with 3 additions and 0 deletions

View File

@ -65,3 +65,6 @@ overflow-checks = true
[features]
use-insecure-test-only-mock-crypto = ["threshold_crypto/use-insecure-test-only-mock-crypto"]
# TODO: Remove this feature once https://github.com/darrenldl/reed-solomon-erasure/issues/28 is
# resolved.
no-simd = ["reed-solomon-erasure/pure-rust"]