# 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-check"
version = "0.55.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Breaking change detection for panproto"
readme = "README.md"
license = "MIT"
repository = "https://github.com/panproto/panproto"

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

[[example]]
name = "classify_bsky_lexicon_change"
path = "examples/classify_bsky_lexicon_change.rs"

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

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

[dependencies.memchr]
version = "2.7"

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

[dependencies.panproto-lens]
version = "0.55.0"

[dependencies.panproto-mig]
version = "0.55.0"

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

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

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

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

[dev-dependencies.insta]
version = "1.43"
features = [
    "json",
    "yaml",
]

[dev-dependencies.panproto-protocols]
version = "0.55.0"

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

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

[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"
