[package]
edition = "2024"
rust-version = "1.93.1"
name = "prax-schema"
version = "0.12.3"
authors = ["Joseph Quinn <quinn.josephr@protonmail.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/quinnjr/prax"
resolver = "2"
[features]
default = []
[lib]
name = "prax_schema"
path = "src/lib.rs"
[[test]]
name = "computed_field_attributes"
path = "tests/computed_field_attributes.rs"
[[test]]
name = "computed_field_parser"
path = "tests/computed_field_parser.rs"
[[test]]
name = "computed_field_validation"
path = "tests/computed_field_validation.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.14"
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.9"
[dependencies.tracing]
version = "0.1"
[dependencies.walkdir]
version = "2.5"
[dev-dependencies.criterion]
version = "0.8.0"
features = [
"html_reports",
"async_tokio",
]
[dev-dependencies.insta]
version = "1.40"
features = ["yaml"]
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.10"