Debian Codegraph @

crates/wit-component/Cargo.toml

raw ◀ ▶
1 Debian patch touch this file
1 [package]
2 name = "wit-component"
3 authors = ["Peter Huene <[email protected]>"]
4 version.workspace = true
5 edition.workspace = true
6 license.workspace = true
7 readme = "README.md"
8 repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-component"
9 homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-component"
10 documentation = "https://docs.rs/wit-component"
11 description = """
12 Tooling for working with `*.wit` and component files together.
13 """
14 rust-version.workspace = true
15
16 [lints]
17 workspace = true
18
19 [package.metadata.docs.rs]
20 all-features = true
21
22 [dependencies]
23 anyhow = { workspace = true }
24 bitflags = "2.3.3"
25 indexmap = { workspace = true }
26 log = "0.4.17"
27 serde = { workspace = true }
28 serde_derive = { workspace = true }
29 serde_json = { workspace = true }
30 wasm-encoder = { workspace = true, features = ['std', 'wasmparser'] }
31 wasm-metadata = { workspace = true }
32 wasmparser = { workspace = true, features = ['std', 'component-model', 'simd'] }
33 wast = { workspace = true, optional = true }
34 wat = { workspace = true, optional = true }
35 wit-parser = { workspace = true, features = ['decoding', 'serde'] }
36
37 [dev-dependencies]
38 env_logger = { workspace = true }
39 glob = "0.3.0"
40 libtest-mimic = { workspace = true }
41 pretty_assertions = "1.3.0"
42 wasmparser = { workspace = true, features = ['std', 'component-model', 'features'] }
43 wasmprinter = { workspace = true, features = ['component-model'] }
44 wat = { workspace = true, features = ['component-model'] }
45 wasm-metadata = { workspace = true, features = ['oci'] }
46
47 [features]
48 dummy-module = ['dep:wat']
49 wat = ['dep:wast', 'dep:wat']
50 semver-check = ['dummy-module']
51
52 [[test]]
53 name = "components"
54 harness = false
55
56 [[test]]
57 name = "interfaces"
58 harness = false