# 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"
name = "pr4xis"
version = "0.25.2"
authors = ["i-am-logger"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Prove your domain is correct — ontology-driven rule enforcement with category theory, logical composition, and runtime state machines"
homepage = "https://github.com/i-am-logger/pr4xis"
readme = false
keywords = [
    "ontology",
    "category-theory",
    "enforcement",
    "state-machine",
    "formal-methods",
]
license = "CC-BY-NC-SA-4.0"
repository = "https://github.com/i-am-logger/pr4xis"

[features]
codegen = [
    "std",
    "dep:quick-xml",
    "dep:serde",
    "dep:serde_json",
]
default = ["std"]
std = []

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

[dependencies.hashbrown]
version = "0.17"
features = ["default-hasher"]
default-features = false

[dependencies.linkme]
version = "0.3"

[dependencies.paste]
version = "1"

[dependencies.pr4xis-derive]
version = "0.25.2"

[dependencies.quick-xml]
version = "0.40"
features = ["serialize"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

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

[lints.clippy]
todo = "deny"
unimplemented = "deny"
unreachable = "deny"

[lints.rust]
dead_code = "deny"
unused_imports = "deny"
unused_must_use = "deny"
unused_variables = "deny"
