# 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"
rust-version = "1.74"
name = "ccsearch"
version = "0.1.0"
authors = ["yaalsn"]
build = false
exclude = [
    "/.github",
    "/assets",
    "/docs",
    "/demo",
    "/promo",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fuzzy full-text search and instant resume for your Claude Code sessions — BM25 ranked, Chinese/CJK aware, cross-shell."
homepage = "https://github.com/yaalsn/ccsearch"
readme = "README.md"
keywords = [
    "claude",
    "search",
    "cli",
    "resume",
    "sqlite",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/yaalsn/ccsearch"

[[bin]]
name = "ccs"
path = "src/main.rs"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dirs]
version = "5"

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

[dependencies.serde_json]
version = "1"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
