wit-encoder 0.221.2

A WIT encoder for Rust
Documentation
[dependencies.id-arena]
optional = true
version = "2"

[dependencies.pretty_assertions]
version = "1.3.0"

[dependencies.semver]
default-features = false
version = "1.0.0"

[dependencies.serde]
default-features = false
features = ["alloc", "derive"]
optional = true
version = "1.0.166"

[dependencies.wit-parser]
optional = true
version = "0.221.2"

[dev-dependencies.anyhow]
version = "1.0.58"

[dev-dependencies.indoc]
version = "2.0.5"

[features]
default = ["serde", "from-parser"]
from-parser = ["wit-parser", "id-arena"]
serde = ["dep:serde", "semver/serde"]

[lib]
name = "wit_encoder"
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]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A WIT encoder for Rust"
documentation = "https://docs.rs/wit-encoder"
edition = "2021"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "wit-encoder"
readme = false
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-encoder"
version = "0.221.2"

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

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

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

[[test]]
name = "import-export-overlap1"
path = "tests/import-export-overlap1.rs"

[[test]]
name = "import-export-overlap2"
path = "tests/import-export-overlap2.rs"

[[test]]
name = "include-aliases"
path = "tests/include-aliases.rs"

[[test]]
name = "include-reps"
path = "tests/include-reps.rs"

[[test]]
name = "kebab-name-include-with"
path = "tests/kebab-name-include-with.rs"

[[test]]
name = "parse-to-encoder"
path = "tests/parse-to-encoder.rs"

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

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

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