keelrun-core 0.4.1

The Keel kernel, Tier 1 scope: policy-driven cache/rate/breaker/timeout/retry execution on tokio, per architecture spec §4. Same conformance suite as the stub.
Documentation
# 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"
rust-version = "1.97"
name = "keelrun-core"
version = "0.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Keel kernel, Tier 1 scope: policy-driven cache/rate/breaker/timeout/retry execution on tokio, per architecture spec §4. Same conformance suite as the stub."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/MisterTK/keel"

[features]
otel = [
    "dep:opentelemetry",
    "dep:opentelemetry-otlp",
    "dep:opentelemetry_sdk",
    "dep:tracing-opentelemetry",
    "dep:tracing-subscriber",
]

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "overhead"
path = "benches/overhead.rs"
harness = false

[dependencies.base64]
version = "0.22"

[dependencies.fastrand]
version = "2.3"

[dependencies.keel-core-api]
version = "0.4.1"

[dependencies.keel-journal]
version = "0.4.1"

[dependencies.opentelemetry]
version = "0.32"
optional = true

[dependencies.opentelemetry-otlp]
version = "0.32"
features = ["grpc-tonic"]
optional = true

[dependencies.opentelemetry_sdk]
version = "0.32"
optional = true

[dependencies.rmp-serde]
version = "1.3"

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.serde_path_to_error]
version = "0.1.20"

[dependencies.tokio]
version = "1.47"
features = [
    "rt",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.33"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.rusqlite]
version = "0.40.1"
features = ["bundled"]

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

[dev-dependencies.tokio]
version = "1.47"
features = [
    "macros",
    "rt",
    "test-util",
    "time",
]

[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1