1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
|
# 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 = "wit-parser"
version = "0.219.1"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Tooling for parsing `*.wit` files and working with their contents.
"""
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-parser"
documentation = "https://docs.rs/wit-parser"
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/wit-parser"
[lib]
name = "wit_parser"
path = "src/lib.rs"
[[test]]
name = "all"
path = "tests/all.rs"
harness = false
[dependencies.anyhow]
version = "1.0.58"
[dependencies.id-arena]
version = "2"
[dependencies.indexmap]
version = "2.0.0"
features = ["std"]
default-features = false
[dependencies.log]
version = "0.4.17"
[dependencies.semver]
version = "1.0.0"
default-features = false
[dependencies.serde]
version = "1.0.166"
features = ["alloc"]
optional = true
default-features = false
[dependencies.serde_derive]
version = "1.0.166"
optional = true
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.unicode-xid]
version = "0.2.2"
[dependencies.wasmparser]
version = "0.219.1"
features = [
"std",
"validate",
"component-model",
]
optional = true
default-features = false
[dependencies.wat]
version = "1.219.1"
optional = true
default-features = false
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.libtest-mimic]
version = "0.7.0"
[dev-dependencies.pretty_assertions]
version = "1.3.0"
[dev-dependencies.serde_json]
version = "1"
[features]
decoding = ["dep:wasmparser"]
default = [
"serde",
"decoding",
]
serde = [
"dep:serde",
"dep:serde_derive",
"indexmap/serde",
"serde_json",
]
wat = [
"decoding",
"dep:wat",
]
[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"
|