Optimize the WASI random_get implementation. (#4917)
* Optimize the WASI `random_get` implementation. Use `StdRng` instead of the `OsRng` in the default implementation of `random_get`. This uses a userspace CSPRNG, making `random_get` 3x faster in simple benchmarks. * Update cargo-vet audits for cap-std 0.25.3. * Update all cap-std packages to 0.25.3.
This commit is contained in:
@@ -44,16 +44,40 @@ criteria = "safe-to-deploy"
|
||||
version = "3.9.1"
|
||||
notes = "I am the author of this crate."
|
||||
|
||||
[[audits.cap-fs-ext]]
|
||||
who = "Dan Gohman <dev@sunfishcode.online>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "0.25.3"
|
||||
notes = "The Bytecode Alliance is the author of this crate"
|
||||
|
||||
[[audits.cap-primitives]]
|
||||
who = "Dan Gohman <dev@sunfishcode.online>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "0.25.3"
|
||||
notes = "The Bytecode Alliance is the author of this crate"
|
||||
|
||||
[[audits.cap-rand]]
|
||||
who = "Alex Crichton <alex@alexcrichton.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "0.25.0"
|
||||
version = "0.25.3"
|
||||
notes = "The Bytecode Alliance is the author of this crate"
|
||||
|
||||
[[audits.cap-std]]
|
||||
who = "Dan Gohman <dev@sunfishcode.online>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "0.25.3"
|
||||
notes = "The Bytecode Alliance is the author of this crate"
|
||||
|
||||
[[audits.cap-tempfile]]
|
||||
who = "Dan Gohman <dev@sunfishcode.online>"
|
||||
criteria = "safe-to-run"
|
||||
version = "0.25.3"
|
||||
notes = "The Bytecode Alliance is the author of this crate"
|
||||
|
||||
[[audits.cap-time-ext]]
|
||||
who = "Alex Crichton <alex@alexcrichton.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "0.25.0"
|
||||
version = "0.25.3"
|
||||
notes = "The Bytecode Alliance is the author of this crate."
|
||||
|
||||
[[audits.cc]]
|
||||
|
||||
@@ -90,22 +90,6 @@ criteria = "safe-to-deploy"
|
||||
version = "1.1.0"
|
||||
criteria = "safe-to-deploy"
|
||||
|
||||
[[exemptions.cap-fs-ext]]
|
||||
version = "0.25.0"
|
||||
criteria = "safe-to-deploy"
|
||||
|
||||
[[exemptions.cap-primitives]]
|
||||
version = "0.25.0"
|
||||
criteria = "safe-to-deploy"
|
||||
|
||||
[[exemptions.cap-std]]
|
||||
version = "0.25.0"
|
||||
criteria = "safe-to-deploy"
|
||||
|
||||
[[exemptions.cap-tempfile]]
|
||||
version = "0.25.0"
|
||||
criteria = "safe-to-run"
|
||||
|
||||
[[exemptions.capstone]]
|
||||
version = "0.9.0"
|
||||
criteria = "safe-to-deploy"
|
||||
|
||||
Reference in New Issue
Block a user