blob: 52aa3bca86b1b7e1df5e56b2071759168c0289e7 [file] [log] [blame] [edit]
# 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.76.0"
name = "wasm-metadata"
version = "0.219.0"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read and manipulate WebAssembly metadata"
readme = false
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-metadata"
[lib]
name = "wasm_metadata"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.58"
[dependencies.clap]
version = "4.0.0"
features = ["derive"]
optional = true
[dependencies.indexmap]
version = "2.0.0"
features = ["serde"]
default-features = false
[dependencies.serde]
version = "1.0.166"
features = ["alloc"]
default-features = false
[dependencies.serde_derive]
version = "1.0.166"
[dependencies.serde_json]
version = "1"
[dependencies.spdx]
version = "0.10.1"
[dependencies.wasm-encoder]
version = "0.219.0"
features = ["component-model"]
default-features = false
[dependencies.wasmparser]
version = "0.219.0"
features = [
"std",
"component-model",
]
default-features = false
[dev-dependencies.wat]
version = "1.219.0"
default-features = false
[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"