# 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-core"
version = "0.52.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core re-export facade for panproto"
readme = "README.md"
license = "MIT"
repository = "https://github.com/panproto/panproto"

[features]
default = []
full-parse = ["dep:panproto-parse"]
git = [
    "dep:panproto-git",
    "project",
]
jit = ["dep:panproto-jit"]
llvm = ["dep:panproto-llvm"]
project = [
    "dep:panproto-project",
    "full-parse",
]
tree-sitter = ["panproto-io/tree-sitter"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.panproto-check]
version = "0.52.0"

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

[dependencies.panproto-git]
version = "0.52.0"
optional = true

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

[dependencies.panproto-io]
version = "0.52.0"

[dependencies.panproto-jit]
version = "0.52.0"
optional = true

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

[dependencies.panproto-llvm]
version = "0.52.0"
optional = true
default-features = false

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

[dependencies.panproto-parse]
version = "0.52.0"
optional = true

[dependencies.panproto-project]
version = "0.52.0"
optional = true

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

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

[dependencies.panproto-vcs]
version = "0.52.0"

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

[dev-dependencies.serde_json]
version = "1.0.149"

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