# 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 = "repotoire"
version = "0.3.113"
build = false
exclude = [
    "target/",
    ".repotoire/",
    "*.db",
    "*.lock",
    ".git/",
    "tests/",
    "benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Graph-powered code analysis CLI. 114 detectors for security, architecture, and code quality."
homepage = "https://repotoire.com"
documentation = "https://github.com/Zach-hammad/repotoire#readme"
readme = "README.md"
keywords = [
    "code-analysis",
    "static-analysis",
    "security",
    "linter",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/Zach-hammad/repotoire"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/repotoire-{ target }{ archive-suffix }"
pkg-fmt = "tgz"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
pkg-url = "{ repo }/releases/download/v{ version }/repotoire-windows-x86_64.exe.zip"

[package.metadata.binstall.overrides.x86_64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/repotoire-linux-x86_64.tar.gz"

[package.metadata.binstall.overrides.x86_64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/repotoire-macos-x86_64.tar.gz"

[package.metadata.binstall.overrides.aarch64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/repotoire-macos-aarch64.tar.gz"

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"

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

[dependencies.console]
version = "0.15"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.crossterm]
version = "0.29.0"

[dependencies.dashmap]
version = "6"

[dependencies.dirs]
version = "6.0.0"

[dependencies.git2]
version = "0.20"
features = ["vendored-libgit2"]
default-features = false

[dependencies.ignore]
version = "0.4"

[dependencies.indicatif]
version = "0.17"

[dependencies.lasso]
version = "0.7.3"
features = ["multi-threaded"]

[dependencies.notify]
version = "7"

[dependencies.notify-debouncer-full]
version = "0.4"

[dependencies.petgraph]
version = "0.7"

[dependencies.ratatui]
version = "0.30.0"

[dependencies.rayon]
version = "1.11"

[dependencies.redb]
version = "2.4"

[dependencies.regex]
version = "1"

[dependencies.rustc-hash]
version = "2"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.tree-sitter]
version = "0.25"

[dependencies.tree-sitter-c]
version = "0.24"

[dependencies.tree-sitter-c-sharp]
version = "0.23"

[dependencies.tree-sitter-cpp]
version = "0.23"

[dependencies.tree-sitter-go]
version = "0.25"

[dependencies.tree-sitter-java]
version = "0.23"

[dependencies.tree-sitter-javascript]
version = "0.25"

[dependencies.tree-sitter-python]
version = "0.25"

[dependencies.tree-sitter-rust]
version = "0.24"

[dependencies.tree-sitter-typescript]
version = "0.23"

[dependencies.ureq]
version = "3"
features = ["json"]

[dev-dependencies.tempfile]
version = "3.25.0"

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