wit-component 0.221.0

Tooling for working with `*.wit` and component files together.
Documentation
[package]
name = "wit-component"
authors = ["Peter Huene <peter@huene.dev>"]
version.workspace = true
edition.workspace = true
license.workspace = true
readme = "README.md"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-component"
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-component"
documentation = "https://docs.rs/wit-component"
description = """
Tooling for working with `*.wit` and component files together.
"""
rust-version.workspace = true

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true

[dependencies]
wasmparser = { workspace = true, features = ['component-model', 'simd'] }
wasm-encoder = { workspace = true, features = ["wasmparser"] }
wasm-metadata = { workspace = true }
wit-parser = { workspace = true, features = ['decoding', 'serde'] }
anyhow = { workspace = true }
log = "0.4.17"
bitflags = "2.3.3"
indexmap = { workspace = true }
wast = { workspace = true, optional = true }
wat = { workspace = true, optional = true }
serde = { workspace = true }
serde_derive = { workspace = true }
serde_json = { workspace = true }

[dev-dependencies]
wasmprinter = { workspace = true, features = ['component-model'] }
glob = "0.3.0"
pretty_assertions = "1.3.0"
env_logger = { workspace = true }
wat = { workspace = true, features = ['component-model'] }
libtest-mimic = { workspace = true }

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
wasmtime = { workspace = true }

[features]
dummy-module = ['dep:wat']
wat = ['dep:wast', 'dep:wat']
semver-check = ['dummy-module']

[[test]]
name = "components"
harness = false

[[test]]
name = "interfaces"
harness = false