-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (63 loc) · 1.79 KB
/
Copy pathCargo.toml
File metadata and controls
74 lines (63 loc) · 1.79 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "tinywasm-root"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
[workspace]
resolver = "3"
members = ["crates/*"]
default-members = [".", "crates/parser", "crates/tinywasm", "crates/types"]
[workspace.package]
version = "0.10.0"
edition = "2024"
rust-version = "1.95"
repository = "https://github.com/explodingcamera/tinywasm"
license = "MIT OR Apache-2.0"
keywords = ["interpreter", "no-std", "tinywasm", "wasm", "webassembly"]
categories = ["compilers", "embedded", "no-std", "virtualization", "wasm"]
[workspace.dependencies]
tinywasm = { path = "crates/tinywasm", version = "0.10.0", default-features = false }
tinywasm-cli = { path = "crates/cli", version = "0.10.0", default-features = false }
tinywasm-parser = { path = "crates/parser", version = "0.10.0", default-features = false }
tinywasm-types = { path = "crates/types", version = "0.10.0", default-features = false }
eyre = "0.6"
indexmap = "2.14"
log = "0.4"
owo-colors = { version = "4.3" }
pretty_env_logger = "0.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
wasm-testsuite = { version = "0.7" }
wasmparser = { version = "0.255", default-features = false }
wast = "255"
wat = "1.255"
criterion = { version = "0.8", default-features = false, features = [
"cargo_bench_support",
"rayon"
] }
[[example]]
name = "wasm-rust"
test = false
[dev-dependencies]
eyre.workspace = true
pretty_env_logger.workspace = true
tinywasm = { path = "crates/tinywasm" }
wat.workspace = true
[profile.bench]
opt-level = 3
debug = true
lto = "thin"
codegen-units = 1
[profile.profiling]
inherits = "release"
debug = true
[profile.samply]
inherits = "release"
debug = true
[profile.wasm]
inherits = "release"
opt-level = 3
lto = "thin"
panic = "abort"
codegen-units = 1