-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
58 lines (47 loc) · 1.3 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "wca"
description = "Command line interface for running explorational WebAssembly components"
keywords = ["wasm", "wasi", "webassembly", "wasmtime"]
readme = "README.md"
default-run = "wca"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
[lints]
workspace = true
[[bin]]
name = "wca"
path = "src/bin/wca.rs"
[[bin]]
name = "wit-openapi"
path = "src/bin/wit-openapi.rs"
[dependencies]
tokio = { version = "1", features = ["full"] }
wasmtime = { version = "17.0.0", features = ["component-model"] }
wasmtime-wasi = { version = "17.0.0" }
clap = { version = "*", features = ["derive"] }
anyhow = { version = "*" }
hyper = { version = "*" }
http = { version = "*" }
[workspace.dependencies]
wit-bindgen = { git = "https://github.com/bytecodealliance/wit-bindgen", version = "0.16.0" }
[workspace]
resolver = '2'
members = [
"crates/component-greeter", "crates/component-http-handler", "crates/component-petstore-client",
"crates/component-wasi-fs"
]
[workspace.package]
version = "0.1.0"
authors = ["Jesse Wellenberg"]
edition = "2021"
rust-version = "1.75"
license = "MIT"
[workspace.lints.rust]
unused_extern_crates = 'warn'
trivial_numeric_casts = 'warn'
unstable_features = 'warn'
unused_import_braces = 'warn'
[features]
default = []