wit-component 0.220.0

Tooling for working with `*.wit` and component files together.
Documentation
[dependencies.anyhow]
version = "1.0.58"

[dependencies.bitflags]
version = "2.3.3"

[dependencies.indexmap]
default-features = false
version = "2.0.0"

[dependencies.log]
version = "0.4.17"

[dependencies.serde]
default-features = false
features = ["alloc"]
version = "1.0.166"

[dependencies.serde_derive]
version = "1.0.166"

[dependencies.serde_json]
version = "1"

[dependencies.wasm-encoder]
default-features = false
features = ["wasmparser"]
version = "0.220.0"

[dependencies.wasm-metadata]
version = "0.220.0"

[dependencies.wasmparser]
default-features = false
features = ["std", "component-model"]
version = "0.220.0"

[dependencies.wast]
default-features = false
optional = true
version = "220.0.0"

[dependencies.wat]
default-features = false
optional = true
version = "1.220.0"

[dependencies.wit-parser]
features = ["decoding", "serde"]
version = "0.220.0"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.glob]
version = "0.3.0"

[dev-dependencies.libtest-mimic]
version = "0.7.0"

[dev-dependencies.pretty_assertions]
version = "1.3.0"

[dev-dependencies.wasmprinter]
default-features = false
features = ["component-model"]
version = "0.220.0"

[dev-dependencies.wat]
default-features = false
features = ["component-model"]
version = "1.220.0"

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

[lib]
name = "wit_component"
path = "src/lib.rs"

[lints.clippy]
clone_on_copy = "warn"
manual_strip = "warn"
map_clone = "warn"
unnecessary_to_owned = "warn"

[lints.clippy.all]
level = "allow"
priority = -1

[lints.rust]
unsafe_code = "deny"

[package]
authors = ["Peter Huene <peter@huene.dev>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = """
Tooling for working with `*.wit` and component files together.
"""
documentation = "https://docs.rs/wit-component"
edition = "2021"
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-component"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "wit-component"
readme = "README.md"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-component"
rust-version = "1.76.0"
version = "0.220.0"

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

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.wasmtime]
default-features = false
features = ["cranelift", "component-model", "runtime", "gc"]
version = "25.0.0"

[[test]]
harness = false
name = "components"
path = "tests/components.rs"

[[test]]
harness = false
name = "interfaces"
path = "tests/interfaces.rs"

[[test]]
name = "linking"
path = "tests/linking.rs"

[[test]]
name = "merge"
path = "tests/merge.rs"

[[test]]
name = "targets"
path = "tests/targets.rs"

[[test]]
name = "wit"
path = "tests/wit.rs"