forked from wasmi-labs/wasmi
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
65 lines (56 loc) · 2.02 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
63
64
65
[package]
name = "casper-wasmi"
version = "0.14.0"
edition = "2021"
authors = ["Parity Technologies <[email protected]>", "Nikolay Volf <[email protected]>", "Svyatoslav Nikolsky <[email protected]>", "Sergey Pepyakin <[email protected]>", "Michał Papierski <[email protected]>"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/casper-network/casper-wasmi"
documentation = "https://docs.rs/casper-wasmi/"
description = "WebAssembly interpreter"
keywords = ["wasm", "webassembly", "bytecode", "interpreter"]
exclude = [ "/res/*", "/tests/*", "/fuzz/*", "/benches/*" ]
[dependencies]
casper-wasmi-core = { version = "0.3.0", path = "core", default-features = false }
validation = { package = "casper-wasmi-validation", version = "0.6.0", path = "validation", default-features = false }
casper-wasm = { version = "0.46.0", default-features = false }
[dev-dependencies]
assert_matches = "1.5"
wabt = "0.9"
wat = "1"
wast = "44.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 = { path = "wasmi_v1" }
[features]
default = ["std"]
# Use `no-default-features` for a `no_std` build.
std = [
"casper-wasmi-core/std",
"casper-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 = ["casper-wasmi-core/virtual_memory", "std"]
reduced-stack-buffer = [ "casper-wasm/reduced-stack-buffer" ]
sign_ext = ["casper-wasm/sign_ext", "validation/sign_ext" ]
[workspace]
members = ["validation", "core", "wasmi_v1", "cli"]
exclude = []
[[bench]]
name = "benches"
path = "./benches/benches.rs"
harness = false
[profile.bench]
lto = "fat"
codegen-units = 1