[package]
edition = "2024"
name = "zeph-session"
version = "0.22.4"
authors = ["bug-ops"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Conversation-session persistence: append-only JSONL event log, replay, and fork engine"
homepage = "https://github.com/bug-ops/zeph"
readme = "README.md"
keywords = [
"ai",
"agent",
"llm",
"inference",
"skills",
]
categories = [
"command-line-utilities",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bug-ops/zeph"
[features]
default = ["sqlite"]
postgres = ["zeph-db/postgres"]
sqlite = ["zeph-db/sqlite"]
test-utils = [
"dep:testcontainers",
"dep:testcontainers-modules",
"postgres",
]
[lib]
name = "zeph_session"
path = "src/lib.rs"
[[test]]
name = "postgres_integration"
path = "tests/postgres_integration.rs"
[dependencies.rustix]
version = "1.1.4"
features = [
"fs",
"std",
]
default-features = false
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.sqlx]
version = "0.9.0"
features = ["macros"]
default-features = false
[dependencies.testcontainers-modules]
version = "0.15"
features = ["postgres"]
optional = true
default-features = false
[dependencies.thiserror]
version = "2.0.20"
[dependencies.tokio]
version = "1.53.1"
features = [
"fs",
"io-util",
"macros",
"rt",
"sync",
"time",
]
[dependencies.tracing]
version = "0.1.44"
[dependencies.zeph-common]
version = "0.22.4"
[dependencies.zeph-context]
version = "0.22.4"
[dependencies.zeph-db]
version = "0.22.4"
default-features = false
[dependencies.zeph-llm]
version = "0.22.4"
[dev-dependencies.serial_test]
version = "4.0.1"
[dev-dependencies.tempfile]
version = "3.27"
[dev-dependencies.tokio]
version = "1.53.1"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
]
[dev-dependencies.zeph-llm]
version = "0.22.4"
features = ["testing"]
[target."cfg(not(windows))".dependencies.testcontainers]
version = "0.27.3"
features = ["watchdog"]
optional = true
[target."cfg(windows)".dependencies.testcontainers]
version = "0.27.3"
optional = true
[lints.clippy]
all = "warn"
await_holding_lock = "warn"
pedantic = "warn"
[lints.rust]
linker_messages = "allow"
unsafe_code = "deny"