lean-ctx-patterns 0.1.0

Deterministic shell-output compression patterns and token counting for LeanCTX | OSS.
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"
name = "lean-ctx-patterns"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic shell-output compression patterns and token counting for LeanCTX | OSS."
homepage = "https://leanctx.com"
readme = "README.md"
keywords = [
    "lean-ctx",
    "llm",
    "tokens",
    "compression",
    "shell",
]
categories = [
    "text-processing",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/yvgude/lean-ctx"

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

[dependencies.blake3]
version = "1.8"

[dependencies.moka]
version = "0.12"
features = ["sync"]

[dependencies.regex]
version = "1.12"

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"
features = [
    "float_roundtrip",
    "raw_value",
]

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

[dependencies.tracing]
version = "0.1"

[lints.clippy]
assert_is_empty = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
collapsible_if = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
empty_line_after_doc_comments = "allow"
enum_variant_names = "allow"
float_cmp = "allow"
format_push_string = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
manual_pattern_char_comparison = "allow"
map_unwrap_or = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_borrow = "allow"
no_effect_underscore_binding = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_self = "allow"
unwrap_used = "warn"
used_underscore_binding = "allow"
useless_conversion = "allow"

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

[lints.rust]
unreachable_pub = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin)"]