# 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"
rust-version = "1.89"
name = "klieo-ops"
version = "2.3.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Operational layer above klieo-core: supervisor, governor, gates, escalation, worklog, handoff."
homepage = "https://github.com/mohrimic/klieo"
documentation = "https://docs.rs/klieo"
readme = "README.md"
license = "MIT"
repository = "https://github.com/mohrimic/klieo"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
crypter = ["dep:aes-gcm"]
default = [
    "supervisor",
    "governor",
    "gates",
    "escalation",
    "worklog",
    "handoff",
    "crypter",
]
escalation = []
full = [
    "supervisor",
    "governor",
    "gates",
    "escalation",
    "worklog",
    "handoff",
    "crypter",
]
gates = ["dep:cedar-policy"]
governor = []
handoff = [
    "dep:blake3",
    "dep:ciborium",
]
hot-reload = [
    "dep:notify-debouncer-mini",
    "dep:arc-swap",
]
supervisor = []
test-utils = []
worklog = []

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aes-gcm]
version = "0.10"
optional = true

[dependencies.anyhow]
version = "1"

[dependencies.arc-swap]
version = "1"
optional = true

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

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

[dependencies.bytes]
version = "1"

[dependencies.cedar-policy]
version = "4"
optional = true

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

[dependencies.ciborium]
version = "0.2"
optional = true

[dependencies.dashmap]
version = "6"

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

[dependencies.futures]
version = "0.3"

[dependencies.futures-core]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1"

[dependencies.klieo-core]
version = "2"

[dependencies.klieo-pii-patterns]
version = "2"

[dependencies.klieo-provenance]
version = "2"

[dependencies.notify-debouncer-mini]
version = "0.4"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
]

[dependencies.reqwest-middleware]
version = "0.3"
features = ["json"]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.siphasher]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.rand_core]
version = "0.6"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "macros",
    "rt-multi-thread",
    "test-util",
]

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dev-dependencies.wiremock]
version = "0.6"
