Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/crates/test-util/Cargo.toml
3069 views
1
[package]
2
name = "wasmtime-test-util"
3
version.workspace = true
4
authors.workspace = true
5
edition.workspace = true
6
rust-version.workspace = true
7
publish = false
8
description = "Utilities tests in Wasmtime"
9
license = "Apache-2.0 WITH LLVM-exception"
10
repository = "https://github.com/bytecodealliance/wasmtime"
11
12
[lints]
13
workspace = true
14
15
[dependencies]
16
serde = { workspace = true, optional = true }
17
serde_derive = { workspace = true, optional = true }
18
toml = { workspace = true, optional = true }
19
arbitrary = { workspace = true, optional = true }
20
quote = { workspace = true, optional = true }
21
proc-macro2 = { workspace = true, optional = true }
22
wasmtime-component-util = { workspace = true, optional = true }
23
wasmtime-environ = { workspace = true }
24
target-lexicon = { workspace = true, optional = true }
25
env_logger = { workspace = true, optional = true }
26
wasmtime = { workspace = true, optional = true }
27
indexmap = { workspace = true, optional = true, features = ['std'] }
28
# NB: this crate is compiled both in as a dependency of a proc-macro and as a
29
# dependency of tests themselves. That means dependencies of this crate are
30
# compiled twice. Try to ensure "big" dependencies are optional and feature
31
# gated.
32
33
[dev-dependencies]
34
rand = { workspace = true }
35
wat = { workspace = true }
36
wasmparser = { workspace = true, features = ['validate', 'component-model', 'features'] }
37
wasmprinter = { workspace = true, features = ['component-model'] }
38
arbtest = { workspace = true }
39
40
[features]
41
wast = [
42
'dep:serde',
43
'dep:toml',
44
'dep:serde_derive',
45
]
46
wasmtime-wast = [
47
'wast',
48
'dep:wasmtime',
49
'wasmtime/cranelift',
50
'wasmtime/winch',
51
'wasmtime/gc-drc',
52
'wasmtime/gc-null',
53
'wasmtime/threads',
54
'wasmtime/component-model-async',
55
'dep:target-lexicon',
56
]
57
component = [
58
'arbitrary/derive',
59
'wast',
60
'dep:env_logger',
61
'dep:wasmtime',
62
'wasmtime/component-model',
63
'wasmtime/async',
64
]
65
component-fuzz = [
66
'dep:arbitrary',
67
'arbitrary/derive',
68
'dep:indexmap',
69
'dep:quote',
70
'dep:proc-macro2',
71
'dep:wasmtime-component-util',
72
]
73
74