# 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-runlog"
version = "1.0.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tier 2 observability — RunLog aggregate + replay engine for klieo agents."
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]
compaction-llm = []
default = []
schemars = ["dep:schemars"]
sqlite = ["dep:rusqlite"]
test-utils = ["klieo-core/test-utils"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
optional = true

[dependencies.schemars]
version = "0.8"
features = ["chrono"]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

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

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

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

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

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