Fix chacha performance

This reverts a change from #979 that introduced a massive performance
regression by disabling SIMD for `rand_chacha`.

Likely, the behavior of `ppv-lite86` should rather be fixed. This change
serves as a workaround until a fixed version is available.

Fixes #1017.
This commit is contained in:
Vinzent Steinberg
2020-08-25 00:34:17 +02:00
parent 8d0e1f4d48
commit fbcfa2261d
+1 -1
View File
@@ -20,7 +20,7 @@ appveyor = { repository = "rust-random/rand" }
[dependencies]
rand_core = { path = "../rand_core", version = "0.5" }
ppv-lite86 = { version = "0.2.8", default-features = false }
ppv-lite86 = { version = "0.2.8", default-features = false, features = ["simd"] }
[features]
default = ["std"]