Debian Codegraph @

crates/wit-component/Cargo.toml

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
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 [target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
48 wasmtime = { workspace = true }
49
50 [features]
51 dummy-module = ['dep:wat']
52 wat = ['dep:wast', 'dep:wat']
53 semver-check = ['dummy-module']
54
55 [[test]]
56 name = "components"
57 harness = false
58
59 [[test]]
60 name = "interfaces"
61 harness = false