# 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 = "2024"
rust-version = "1.85"
name = "panproto-io"
version = "0.12.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Instance-level presentation functors for panproto — blazingly fast parse/emit for 77 protocols"
readme = "README.md"
license = "MIT"
repository = "https://github.com/panproto/panproto"

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

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

[[bench]]
name = "io_bench"
path = "benches/io_bench.rs"
harness = false

[dependencies.bumpalo]
version = "3.20.2"

[dependencies.memchr]
version = "2.7"

[dependencies.panproto-gat]
version = "0.12.0"

[dependencies.panproto-inst]
version = "0.12.0"

[dependencies.panproto-protocols]
version = "0.12.0"

[dependencies.panproto-schema]
version = "0.12.0"

[dependencies.pulldown-cmark]
version = "0.12"

[dependencies.quick-xml]
version = "0.37"

[dependencies.rmp-serde]
version = "1.3.1"

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.simd-json]
version = "0.14"

[dependencies.smallvec]
version = "2.0.0-alpha.12"
features = ["serde"]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tl]
version = "0.7"

[dev-dependencies.divan]
version = "0.1.21"

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

[lints.clippy]
expect_used = "warn"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
