# 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 = "prax-schema"
version = "0.3.2"
authors = ["Pegasus Heavy Industries LLC <dev@pegasusheavy.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Schema parser and AST for the Prax ORM"
documentation = "https://docs.rs/prax-schema"
readme = "README.md"
keywords = [
    "orm",
    "schema",
    "parser",
    "ast",
]
categories = [
    "database",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pegasusheavy/prax"
resolver = "2"

[features]
default = []

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

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

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

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

[dependencies.indexmap]
version = "2.0"
features = ["serde"]

[dependencies.miette]
version = "7.0"
features = ["fancy"]

[dependencies.parking_lot]
version = "0.12"

[dependencies.pest]
version = "2.7"

[dependencies.pest_derive]
version = "2.7"

[dependencies.regex-lite]
version = "0.1"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.smol_str]
version = "0.3"
features = ["serde"]

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"
features = [
    "html_reports",
    "async_tokio",
]

[dev-dependencies.insta]
version = "1.40"
features = ["yaml"]

[dev-dependencies.pretty_assertions]
version = "1.4"
