# 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 = "2021"
name = "sqz-engine"
version = "1.0.7"
build = false
exclude = ["proptest-regressions/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Adaptive multi-pass LLM context compression engine — content-aware pipeline with AST parsing, token counting, session persistence, and budget tracking"
homepage = "https://github.com/ojuschugh1/sqz"
readme = "README.md"
keywords = [
    "llm",
    "compression",
    "context",
    "tokens",
    "ai",
]
categories = [
    "text-processing",
    "command-line-utilities",
]
license-file = "LICENSE"
repository = "https://github.com/ojuschugh1/sqz"

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

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

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

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

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

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

[dependencies.dirs-next]
version = "2.0"

[dependencies.notify]
version = "6"

[dependencies.rusqlite]
version = "0.31"
features = [
    "bundled",
    "vtab",
    "array",
]

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

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

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1"

[dependencies.tiktoken-rs]
version = "0.6"

[dependencies.toml]
version = "0.8"

[dependencies.toml_edit]
version = "0.22"

[dependencies.tree-sitter]
version = "0.22"

[dependencies.tree-sitter-bash]
version = "0.21"

[dependencies.tree-sitter-javascript]
version = "0.21"

[dependencies.tree-sitter-python]
version = "0.21"

[dependencies.tree-sitter-rust]
version = "0.21"

[dev-dependencies.proptest]
version = "1"
