wac-parser 0.9.0

A library for parsing and encoding WebAssembly Composition (WAC) source files.
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"
name = "wac-parser"
version = "0.9.0"
authors = ["Peter Huene <peter@huene.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for parsing and encoding WebAssembly Composition (WAC) source files."
readme = false
keywords = [
    "webassembly",
    "wasm",
    "components",
    "component-model",
]
categories = ["wasm"]
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wac"

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

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

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

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

[dependencies.anyhow]
version = "1.0.81"

[dependencies.id-arena]
version = "2.2.1"

[dependencies.indexmap]
version = "2.2.6"
features = ["serde"]

[dependencies.log]
version = "0.4.21"

[dependencies.logos]
version = "0.14.0"

[dependencies.miette]
version = "7.2.0"
features = ["serde"]

[dependencies.semver]
version = "1.0.22"
features = ["serde"]

[dependencies.serde]
version = "1.0.197"
features = ["derive"]

[dependencies.thiserror]
version = "1.0.58"

[dependencies.wac-graph]
version = "0.9.0"

[dependencies.wasm-encoder]
version = "0.244.0"

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

[dependencies.wasmparser]
version = "0.244.0"

[dev-dependencies.miette]
version = "7.2.0"
features = [
    "fancy",
    "serde",
]

[dev-dependencies.owo-colors]
version = "4.0.0"

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

[dev-dependencies.pretty_env_logger]
version = "0.5.0"

[dev-dependencies.rayon]
version = "1.10.0"

[dev-dependencies.serde_json]
version = "1.0.115"

[dev-dependencies.tokio]
version = "1.45.1"
features = [
    "macros",
    "rt-multi-thread",
]
default-features = false

[dev-dependencies.wasmprinter]
version = "0.244.0"