# 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-runtime"
version = "0.25.1"
authors = ["i-am-logger"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The pr4xis runtime — load a .prx ontology as data, deserialize into the free category, rebind into the closed world; grounds only the hash primitive."
homepage = "https://github.com/i-am-logger/pr4xis"
readme = false
keywords = [
    "ontology",
    "runtime",
    "content-addressing",
    "prx",
    "category-theory",
]
license = "CC-BY-NC-SA-4.0"
repository = "https://github.com/i-am-logger/pr4xis"

[features]
emit = ["dep:pr4xis"]

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

[dependencies.blake3]
version = "1"
features = ["pure"]
default-features = false

[dependencies.pr4xis]
version = "0.25.1"
optional = true

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

[dependencies.serde_ipld_dagcbor]
version = "0.6"

[dependencies.sha2]
version = "0.11"

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