txcript 0.4.2

Convert coding-agent session transcripts between harness formats.
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.96"
name = "txcript"
version = "0.4.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convert coding-agent session transcripts between harness formats."
readme = "README.md"
keywords = [
    "transcript",
    "claude",
    "codex",
    "agent",
    "wasm",
]
categories = [
    "command-line-utilities",
    "wasm",
]
license = "Apache-2.0"
repository = "https://github.com/skillsynchq/txcript"

[features]
default = [
    "opencode",
    "search",
]
opencode = ["dep:rusqlite"]
search = [
    "dep:nucleo-matcher",
    "dep:memchr",
]
wasm = [
    "dep:wasm-bindgen",
    "uuid/js",
]

[lib]
name = "txcript"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "search_bench"
path = "examples/search_bench.rs"
required-features = ["search"]

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.memchr]
version = "2.8.2"
optional = true

[dependencies.nucleo-matcher]
version = "0.3.1"
optional = true

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

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.uuid]
version = "1.23.4"
features = [
    "v4",
    "v5",
]

[dependencies.wasm-bindgen]
version = "0.2.126"
optional = true

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

[lints.clippy]
dbg_macro = "deny"
exit = "deny"
expect_used = "deny"
mem_forget = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"

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

[lints.rust]
unsafe_code = "forbid"

[profile.release]
lto = "thin"
codegen-units = 1
overflow-checks = true
strip = "symbols"