zeph-session 0.22.4

Conversation-session persistence: append-only JSONL event log, replay, and fork engine
Documentation
[package]
name = "zeph-session"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true
publish.workspace = true
description = "Conversation-session persistence: append-only JSONL event log, replay, and fork engine"
readme = "README.md"

[features]
default = ["sqlite"]
sqlite = ["zeph-db/sqlite"]
postgres = ["zeph-db/postgres"]
# Enables test utilities and testcontainers for PostgreSQL integration tests.
test-utils = ["dep:testcontainers", "dep:testcontainers-modules", "postgres"]

[dependencies]
rustix = { workspace = true, features = ["fs", "std"] }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
sqlx = { workspace = true, features = ["macros"] }
testcontainers-modules = { workspace = true, features = ["postgres"], optional = true }
thiserror.workspace = true
tokio = { workspace = true, features = ["fs", "io-util", "macros", "rt", "sync", "time"] }
tracing.workspace = true
zeph-common.workspace = true
zeph-context.workspace = true
zeph-db = { workspace = true, default-features = false }
zeph-llm.workspace = true

# testcontainers' `watchdog` feature pulls in signal-hook's `iterator` module,
# which is not built on Windows (signal-hook gates it `cfg(not(windows))`),
# breaking builds with `test-utils` enabled on windows-latest CI.
[target.'cfg(not(windows))'.dependencies]
testcontainers = { workspace = true, features = ["watchdog"], optional = true }

[target.'cfg(windows)'.dependencies]
testcontainers = { workspace = true, optional = true }

[dev-dependencies]
serial_test.workspace = true
tempfile.workspace = true
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "sync", "time"] }
zeph-llm = { workspace = true, features = ["testing"] }

[lints]
workspace = true