[package]
edition = "2024"
name = "zpl_toolchain_core"
version = "0.3.0"
authors = ["zpl-toolchain contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core parser, emitter, and validator for ZPL II label code (part of the zpl-toolchain project)"
homepage = "https://github.com/trevordcampbell/zpl-toolchain"
readme = "README.md"
keywords = [
"zpl",
"zebra",
"label",
"parser",
]
categories = [
"parsing",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trevordcampbell/zpl-toolchain"
resolver = "2"
[lib]
name = "zpl_toolchain_core"
path = "src/lib.rs"
[[test]]
name = "arg_union"
path = "tests/arg_union.rs"
[[test]]
name = "cross_command_state"
path = "tests/cross_command_state.rs"
[[test]]
name = "emit_roundtrip"
path = "tests/emit_roundtrip.rs"
[[test]]
name = "fuzz_smoke"
path = "tests/fuzz_smoke.rs"
[[test]]
name = "opcode_trie"
path = "tests/opcode_trie.rs"
[[test]]
name = "parser"
path = "tests/parser.rs"
[[test]]
name = "rich_fields"
path = "tests/rich_fields.rs"
[[test]]
name = "samples"
path = "tests/samples.rs"
[[test]]
name = "snapshots"
path = "tests/snapshots.rs"
[[test]]
name = "validator"
path = "tests/validator.rs"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.zpl_toolchain_diagnostics]
version = "0.1.8"
[dependencies.zpl_toolchain_profile]
version = "0.1.4"
[dependencies.zpl_toolchain_spec_tables]
version = "0.4.0"
[lints.clippy]
clone_on_ref_ptr = "warn"
manual_let_else = "warn"
[lints.clippy.pedantic]
level = "allow"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"