2018-01-17 15:32:33 +00:00
|
|
|
[package]
|
2018-01-22 14:58:14 +00:00
|
|
|
name = "wasmi"
|
2019-04-19 14:24:48 +00:00
|
|
|
version = "0.4.5"
|
2018-01-18 12:22:46 +00:00
|
|
|
authors = ["Nikolay Volf <nikvolf@gmail.com>", "Svyatoslav Nikolsky <svyatonik@yandex.ru>", "Sergey Pepyakin <s.pepyakin@gmail.com>"]
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
readme = "README.md"
|
2018-03-21 07:51:51 +00:00
|
|
|
repository = "https://github.com/paritytech/wasmi"
|
|
|
|
documentation = "https://paritytech.github.io/wasmi/"
|
2018-01-18 12:22:46 +00:00
|
|
|
description = "WebAssembly interpreter"
|
|
|
|
keywords = ["wasm", "webassembly", "bytecode", "interpreter"]
|
2018-05-24 13:31:15 +00:00
|
|
|
exclude = [ "/res/*", "/tests/*", "/fuzz/*", "/benches/*" ]
|
2018-01-17 15:32:33 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2019-04-19 14:24:48 +00:00
|
|
|
wasmi-validation = { version = "0.1", path = "validation", default-features = false }
|
2018-10-29 10:16:55 +00:00
|
|
|
parity-wasm = { version = "0.31", default-features = false }
|
2018-02-14 15:44:11 +00:00
|
|
|
memory_units = "0.3.0"
|
2018-10-29 10:16:55 +00:00
|
|
|
libm = { version = "0.1.2", optional = true }
|
2019-06-18 13:06:16 +00:00
|
|
|
num-rational = "0.2.2"
|
|
|
|
num-traits = "0.2.8"
|
2019-07-03 09:33:31 +00:00
|
|
|
libc = "0.2.58"
|
2018-01-18 12:22:46 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2018-04-20 14:55:07 +00:00
|
|
|
assert_matches = "1.1"
|
2018-10-29 10:16:55 +00:00
|
|
|
rand = "0.4.2"
|
2018-10-26 13:03:01 +00:00
|
|
|
wabt = "0.6"
|
2019-04-19 14:05:09 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["std"]
|
|
|
|
# Disable for no_std support
|
|
|
|
std = [
|
|
|
|
"parity-wasm/std",
|
|
|
|
"wasmi-validation/std",
|
2019-06-18 13:06:16 +00:00
|
|
|
"num-rational/std",
|
|
|
|
"num-traits/std"
|
2019-04-19 14:05:09 +00:00
|
|
|
]
|
|
|
|
# Enable for no_std support
|
|
|
|
core = [
|
|
|
|
"wasmi-validation/core",
|
|
|
|
"libm"
|
|
|
|
]
|
2019-07-03 11:24:52 +00:00
|
|
|
# Enforce using the linear memory implementation based on `Vec` instead of
|
|
|
|
# mmap on unix systems.
|
|
|
|
#
|
|
|
|
# Useful for tests and if you need to minimize unsafe usage at the cost of performance on some
|
|
|
|
# workloads.
|
|
|
|
vec_memory = []
|
2019-04-19 14:05:09 +00:00
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = ["validation"]
|
2019-05-06 14:24:07 +00:00
|
|
|
exclude = ["benches"]
|