-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
34 lines (30 loc) · 1014 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "wasi-nn-onnx-sample"
version = "0.1.0"
authors = ["Radu M <[email protected]>"]
edition = "2021"
[dependencies]
anyhow = "1.0"
log = { version = "0.4", default-features = false }
env_logger = "0.9"
structopt = "0.3"
tokio = { version = "1.4", features = ["full"] }
wasmtime = "0.31"
wasmtime-runtime = "0.31"
wasmtime-wasi = "0.31"
wasi-common = "0.31"
wasi-cap-std-sync = "0.31"
wasi-nn-onnx-wasmtime = { path = "./crates/wasi-nn-onnx-wasmtime", default-features = true }
[workspace]
members = [
"crates/wasi-nn-onnx-wasmtime",
"crates/wasi-nn/rust",
# "tests/rust"
]
exclude = ["tests/rust"]
[[bin]]
name = "wasmtime-onnx"
path = "bin/wasmtime-onnx.rs"
[features]
c_onnxruntime = ["wasi-nn-onnx-wasmtime/c_onnxruntime"]
tract = ["wasi-nn-onnx-wasmtime/tract"]