-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (46 loc) · 1.18 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
[package]
name = "finite-wasm"
version = "0.3.0"
edition = "2021"
authors = ["Simonas Kazlauskas <finite-wasm@kazlauskas.me>"]
license = "MIT OR Apache-2.0"
readme = "README.mkd"
repository = "https://github.com/near/finite-wasm"
homepage = "https://github.com/near/finite-wasm"
documentation = "https://docs.rs/finite-wasm"
description = """
Guarantee deterministic limits on execution time and space resources made available to the
WebAssembly programs in a runtime-agnostic way.
"""
exclude = ["/tests/snaps"]
[[test]]
name = "wast"
path = "src/wast_tests/runner.rs"
harness = false
required-features = ["instrument"]
[[bench]]
name = "instrument_all"
path = "benches/instrument_all.rs"
harness = false
required-features = ["instrument"]
[dependencies]
bitvec = "1.0.1"
dissimilar = "1"
wasmparser = "0.99"
wasmprinter = "0.2.49"
thiserror = "1"
num-traits = "0.2.15"
prefix-sum-vec = "0.1.2"
wasm-encoder = { version = "0.22", optional = true }
[dev-dependencies]
walkdir = "2.3.0"
wast = "52"
atoi = "2.0.0"
rayon = "1.6.1"
criterion = "0.4.0"
wasm-instrument = "0.4"
[features]
instrument = ["wasm-encoder"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "finite_wasm_docs"]