context-compressor 0.1.0

Dynamic token budget context reducer with regex sanitizers.
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 = "2021"
name = "context-compressor"
version = "0.1.0"
authors = ["Vlad Bordei <bordeivlad@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dynamic token budget context reducer with regex sanitizers."
homepage = "https://github.com/p-vbordei/context-compressor-rs"
documentation = "https://docs.rs/context-compressor"
readme = "README.md"
keywords = [
    "llm",
    "context",
    "compression",
    "token",
    "redaction",
]
categories = [
    "text-processing",
    "compression",
]
license = "Apache-2.0"
repository = "https://github.com/p-vbordei/context-compressor-rs"

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

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

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]