* 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.
41 lines
1.2 KiB
TOML
41 lines
1.2 KiB
TOML
[package]
|
|
name = "wasmtime-c-api"
|
|
version = "0.19.0"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
description = "C API to expose the Wasmtime runtime"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
readme = "README.md"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "wasmtime"
|
|
crate-type = ["staticlib", "cdylib"]
|
|
doc = false
|
|
test = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
env_logger = "0.9"
|
|
anyhow = "1.0"
|
|
once_cell = "1.3"
|
|
wasmtime = { path = "../wasmtime", default-features = false, features = ['cranelift'] }
|
|
wasmtime-c-api-macros = { path = "macros" }
|
|
|
|
# Optional dependency for the `wat2wasm` API
|
|
wat = { version = "1.0.47", optional = true }
|
|
|
|
# Optional dependencies for the `wasi` feature
|
|
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", optional = true }
|
|
wasmtime-wasi = { path = "../wasi", optional = true }
|
|
cap-std = { version = "0.25.3", optional = true }
|
|
|
|
[features]
|
|
default = ['jitdump', 'wat', 'wasi', 'cache', 'parallel-compilation', 'memory-init-cow']
|
|
jitdump = ["wasmtime/jitdump"]
|
|
cache = ["wasmtime/cache"]
|
|
parallel-compilation = ['wasmtime/parallel-compilation']
|
|
wasi = ['wasi-cap-std-sync', 'wasmtime-wasi', 'cap-std']
|
|
memory-init-cow = ["wasmtime/memory-init-cow"]
|