wasm-compose 0.245.1

A library for composing WebAssembly components.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.82.0"
name = "wasm-compose"
version = "0.245.1"
authors = ["Peter Huene <peter@huene.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for composing WebAssembly components."
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-compose"
documentation = "https://docs.rs/wasm-compose"
readme = "README.md"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-compose"

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

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

[dependencies.anyhow]
version = "1.0.58"
default-features = false

[dependencies.heck]
version = "0.5.0"

[dependencies.im-rc]
version = "15.1.0"

[dependencies.indexmap]
version = "2.13.0"
features = [
    "std",
    "serde",
]
default-features = false

[dependencies.log]
version = "0.4.17"

[dependencies.petgraph]
version = "0.6.2"

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

[dependencies.serde_derive]
version = "1.0.166"

[dependencies.serde_yaml]
version = "0.9.22"

[dependencies.smallvec]
version = "1.10.0"

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

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

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

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

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

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

[dev-dependencies.wit-component]
version = "0.245.1"

[lints.clippy]
clone_on_copy = "warn"
manual_strip = "warn"
map_clone = "warn"
uninlined_format_args = "warn"
unnecessary_cast = "warn"
unnecessary_fallible_conversions = "warn"
unnecessary_mut_passed = "warn"
unnecessary_to_owned = "warn"

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

[lints.rust]
deprecated-safe-2024 = "warn"
keyword_idents_2024 = "warn"
missing-unsafe-on-extern = "warn"
rust-2024-guarded-string-incompatible-syntax = "warn"
rust-2024-incompatible-pat = "warn"
rust-2024-prelude-collisions = "warn"
unsafe-attr-outside-unsafe = "warn"
unsafe-op-in-unsafe-fn = "warn"
unsafe_code = "deny"
unstable_features = "warn"
unused-lifetimes = "warn"
unused-macro-rules = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(fuzzing)",
    "cfg(debug_check_try_op)",
]