forked from wasmi-labs/wasmi
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
62 lines (54 loc) · 1.87 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
59
60
61
62
[package]
name = "wasmi"
version = "0.11.0"
edition = "2021"
authors = ["Parity Technologies <admin@parity.io>", "Nikolay Volf <nikvolf@gmail.com>", "Svyatoslav Nikolsky <svyatonik@yandex.ru>", "Sergey Pepyakin <s.pepyakin@gmail.com>"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/paritytech/wasmi"
documentation = "https://paritytech.github.io/wasmi/"
description = "WebAssembly interpreter"
keywords = ["wasm", "webassembly", "bytecode", "interpreter"]
exclude = [ "/res/*", "/tests/*", "/fuzz/*", "/benches/*" ]
[dependencies]
wasmi_core = { version = "0.1", path = "core", default-features = false }
validation = { package = "wasmi-validation", version = "0.4", path = "validation", default-features = false }
parity-wasm = { version = "0.42.0", features = ["sign_ext"] }
specs = { path = "../../crates/specs" }
[dev-dependencies]
assert_matches = "1.5"
wabt = "0.9"
wat = "1"
wast = "39.0"
anyhow = "1.0"
criterion = "0.3.5"
# Required as dev-dependency because otherwise benchmarks
# have trouble using it without `cargo bench --all-features`.
wasmi_v1 = { version = "0.11", path = "wasmi_v1" }
[features]
default = ["std"]
# Use `no-default-features` for a `no_std` build.
std = [
"parity-wasm/std",
"validation/std",
]
# Enables OS supported virtual memory.
#
# Note
#
# - This feature is only supported on 64-bit platforms.
# For 32-bit platforms the linear memory will fallback to using the Vec
# based implementation.
# - The default is to fall back is an inefficient vector based implementation.
# - By nature this feature requires `region` and the Rust standard library.
virtual_memory = ["wasmi_core/virtual_memory", "std"]
reduced-stack-buffer = [ "parity-wasm/reduced-stack-buffer" ]
[workspace]
members = ["validation", "core", "wasmi_v1"]
exclude = []
[[bench]]
name = "benches"
harness = false
[profile.bench]
lto = "fat"
codegen-units = 1