# 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 = "suvadu"
version = "0.1.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "suv"
description = "Total recall for your terminal. A database-backed shell history with fuzzy search."
homepage = "https://www.appachi.tech/suvadu"
readme = "README.md"
keywords = [
    "shell",
    "history",
    "tui",
    "ai",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/AppachiTech/suvadu"

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

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

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

[dependencies.arboard]
version = "3.6"

[dependencies.chrono]
version = "0.4"

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

[dependencies.clap_complete]
version = "4"

[dependencies.clap_mangen]
version = "0.2"

[dependencies.crossterm]
version = "0.29"

[dependencies.directories]
version = "6.0"

[dependencies.hostname]
version = "0.4"

[dependencies.minisign-verify]
version = "0.2"

[dependencies.nucleo-matcher]
version = "0.3"

[dependencies.ratatui]
version = "0.30"

[dependencies.regex]
version = "1"

[dependencies.rusqlite]
version = "0.38"
features = [
    "bundled",
    "functions",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "1.0"

[dependencies.unicode-width]
version = "0.2"

[dependencies.uuid]
version = "1.22"
features = [
    "v4",
    "serde",
]

[dev-dependencies]

[build-dependencies.chrono]
version = "0.4"

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"

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

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

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

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

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

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

[lints.rust]
unsafe_code = "warn"
