# 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 = "goto-cli"
version = "0.1.0"
authors = ["sderosiaux"]
build = false
exclude = [
    ".github",
    "hooks",
    "*.toml",
    "!Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Quickly navigate to projects with semantic search"
homepage = "https://github.com/sderosiaux/goto"
readme = "README.md"
keywords = [
    "cli",
    "navigation",
    "search",
    "productivity",
    "fuzzy",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/sderosiaux/goto"

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.directories]
version = "6"

[dependencies.dirs]
version = "6"

[dependencies.fastembed]
version = "5.8"

[dependencies.regex-lite]
version = "0.1"

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

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

[dependencies.sqlite-vec]
version = "0.1"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[dependencies.walkdir]
version = "2.5"

[dependencies.zerocopy]
version = "0.7"
features = ["derive"]

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
similar_names = "allow"
too_many_lines = "allow"

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

[lints.rust]
unused_must_use = "deny"

[profile.release]
opt-level = 3
lto = true
strip = true
