[[bin]]
name = "chatpack"
path = "src/main.rs"
[[bin]]
name = "gen_test"
path = "src/bin/gen_test.rs"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.clap]
features = ["derive"]
version = "4.5"
[dependencies.csv]
version = "1.3"
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1.11"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dev-dependencies.cargo-husky]
features = ["precommit-hook", "run-cargo-clippy", "run-cargo-test"]
version = "1"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.tempfile]
version = "3.10"
[lib]
name = "chatpack"
path = "src/lib.rs"
[lints.clippy]
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
collapsible_if = "allow"
doc_markdown = "allow"
format_push_string = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
redundant_closure_for_method_calls = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unicode_not_nfc = "allow"
uninlined_format_args = "allow"
unnecessary_join = "allow"
unreadable_literal = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[package]
authors = ["Mukhammedali Berektassuly <mukhammedali@berektassuly.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "text-processing"]
description = "Prepare chat data for RAG / LLM ingestion. Supports Telegram, WhatsApp, Instagram, Discord."
edition = "2024"
homepage = "https://berektassuly.com"
keywords = ["telegram", "whatsapp", "instagram", "discord", "llm"]
license = "MIT"
name = "chatpack"
readme = "README.md"
repository = "https://github.com/berektassuly/chatpack"
version = "0.2.6"
[profile.release]
lto = true
opt-level = 3
strip = true
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "output_tests"
path = "tests/output_tests.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"