agent-sessions 0.3.0

Read native coding-agent sessions as typed Rust events with source provenance
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.88"
name = "agent-sessions"
version = "0.3.0"
build = false
exclude = [
    "PLAN.md",
    "fuzz/**",
    ".github/**",
    "docs/delivery/**",
    "docs/research/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read native coding-agent sessions as typed Rust events with source provenance"
homepage = "https://github.com/majiayu000/agent-sessions"
documentation = "https://docs.rs/agent-sessions"
readme = "README.md"
keywords = [
    "claude-code",
    "codex",
    "sessions",
    "jsonl",
    "parser",
]
categories = [
    "parser-implementations",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/majiayu000/agent-sessions"

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

[[example]]
name = "compare_messages"
path = "examples/compare_messages.rs"

[[example]]
name = "inspect_session"
path = "examples/inspect_session.rs"

[[example]]
name = "scan"
path = "examples/scan.rs"

[[example]]
name = "summarize_codex"
path = "examples/summarize_codex.rs"

[[example]]
name = "verify_codex_session"
path = "examples/verify_codex_session.rs"

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "serde",
]
default-features = false

[dependencies.memchr]
version = "2"

[dependencies.prost-reflect]
version = "0.16"
features = ["serde"]

[dependencies.rusqlite]
version = "0.37"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1"
features = ["raw_value"]

[dependencies.zstd]
version = "0.13"

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

[lints.rust]
unsafe_code = "forbid"