# 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 = "nighthawk"
version = "0.2.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI terminal autocomplete — zero config, zero login, zero telemetry"
homepage = "https://github.com/SushaanthSrinivasan/nighthawk"
readme = "README.md"
keywords = [
    "terminal",
    "autocomplete",
    "shell",
    "cli",
    "completions",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/SushaanthSrinivasan/nighthawk"

[features]
default = []
local-llm = ["reqwest"]

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

[[bin]]
name = "nh"
path = "src/bin/nh.rs"

[[bin]]
name = "nighthawk-daemon"
path = "src/bin/nighthawk_daemon.rs"

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

[dependencies.async-trait]
version = "0.1"

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

[dependencies.dirs]
version = "6"

[dependencies.flate2]
version = "1"

[dependencies.interprocess]
version = "2"
features = ["tokio"]

[dependencies.parking_lot]
version = "0.12"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

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

[build-dependencies.flate2]
version = "1"

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

[target."cfg(unix)".dependencies.libc]
version = "0.2"
