1[package]
2name = "wasmtime-bench-api"
3version.workspace = true
4authors.workspace = true
5description = "Exposes a benchmarking API for the Wasmtime runtime"
6license = "Apache-2.0 WITH LLVM-exception"
7repository = "https://github.com/bytecodealliance/wasmtime"
8readme = "README.md"
9edition.workspace = true
10rust-version.workspace = true
11publish = false
12
13[lints]
14workspace = true
15
16[lib]
17name = "wasmtime_bench_api"
18crate-type = ["cdylib"]
19doctest = false
20
21[dependencies]
22anyhow = { workspace = true }
23shuffling-allocator = { version = "1.1.1", optional = true }
24target-lexicon = { workspace = true }
25wasmtime = { workspace = true, default-features = true, features = ["winch", "pulley"] }
26wasmtime-cli-flags = { workspace = true, default-features = true, features = [
27    "cranelift",
28] }
29wasmtime-wasi = { workspace = true, features = ['p1'] }
30wasmtime-wasi-nn = { workspace = true, optional = true }
31cap-std = { workspace = true }
32clap = { workspace = true }
33
34[dev-dependencies]
35wat = { workspace = true }
36
37[features]
38default = ["wasi-nn"]
39wasi-nn = ["wasmtime-wasi-nn"]
40