# 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 = "2021"
name = "ocpq"
version = "26.6.10"
authors = ["Sean Chatman <info@chatmangpt.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OCPQ runtime for wasm4pm: object-centric process querying & constraints (binding boxes, query trees, BASIC predicates E2O/O2O/TBE, CHILD SET, constr) per Kuesters & van der Aalst 2025"
readme = false
license = "BUSL-1.1"
repository = "https://github.com/seanchatmangpt/wasm4pm"

[features]
default = []
wasm = ["dep:wasm-bindgen"]

[lib]
name = "ocpq"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

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

[[bench]]
name = "predicates"
path = "benches/predicates.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.wasm-bindgen]
version = "0.2.92"
optional = true

[dependencies.wasm4pm-compat]
version = "26.6.8"

[dev-dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
