# 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 = "2024"
rust-version = "1.95.0"
name = "loki-ai"
version = "0.4.0"
authors = ["Alex Clarke <alex.j.tusa@gmail.com>"]
build = false
exclude = [
    ".github",
    "CONTRIBUTING.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An all-in-one, batteries included LLM CLI Tool"
homepage = "https://github.com/Dark-Alex-17/loki"
readme = "README.md"
keywords = [
    "chatgpt",
    "llm",
    "cli",
    "ai",
    "repl",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/Dark-Alex-17/loki"

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

[dependencies.ansi_colours]
version = "1.2.2"

[dependencies.anyhow]
version = "1.0.69"

[dependencies.argc]
version = "1.23.0"

[dependencies.async-recursion]
version = "1.1.1"

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

[dependencies.aws-smithy-eventstream]
version = "0.60.4"

[dependencies.base64]
version = "0.22.0"

[dependencies.bincode]
version = "2.0.0"
features = [
    "serde",
    "std",
]
default-features = false

[dependencies.bitflags]
version = "2.5.0"

[dependencies.bm25]
version = "2.0.1"
features = ["parallelism"]

[dependencies.bytes]
version = "1.4.0"

[dependencies.chrono]
version = "0.4.23"

[dependencies.clap]
version = "4.5.40"
features = [
    "cargo",
    "derive",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4.5.58"
features = ["unstable-dynamic"]

[dependencies.clap_complete_nushell]
version = "4.5.9"

[dependencies.colored]
version = "3.0.0"

[dependencies.crossterm]
version = "0.29.0"

[dependencies.dirs]
version = "6.0.0"

[dependencies.duct]
version = "1.0.0"

[dependencies.dunce]
version = "1.0.5"

[dependencies.eventsource-stream]
version = "0.2.3"

[dependencies.fancy-regex]
version = "0.14.0"

[dependencies.futures-util]
version = "0.3.29"

[dependencies.fuzzy-matcher]
version = "0.3.7"

[dependencies.gman]
version = "0.4.1"

[dependencies.hmac]
version = "0.12.1"

[dependencies.hnsw_rs]
version = "0.3.0"

[dependencies.html_to_markdown]
version = "0.1.0"

[dependencies.http]
version = "1.1.0"

[dependencies.indexmap]
version = "2.2.6"
features = ["serde"]

[dependencies.indoc]
version = "2.0.6"

[dependencies.inquire]
version = "0.9.4"

[dependencies.is-terminal]
version = "0.4.9"

[dependencies.json-patch]
version = "4.0.0"
default-features = false

[dependencies.log]
version = "0.4.28"

[dependencies.log4rs]
version = "1.4.0"
features = ["file_appender"]

[dependencies.nu-ansi-term]
version = "0.50.0"

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.open]
version = "5"

[dependencies.os_info]
version = "3.8.2"
default-features = false

[dependencies.parking_lot]
version = "0.12.1"

[dependencies.path-absolutize]
version = "3.1.1"

[dependencies.rand]
version = "0.10.0"
features = ["default"]

[dependencies.reedline]
version = "0.47.0"

[dependencies.reqwest]
version = "0.13.3"
features = [
    "json",
    "multipart",
    "stream",
    "form",
    "socks",
    "rustls",
]
default-features = false

[dependencies.rmcp]
version = "1.5.0"
features = [
    "client",
    "transport-child-process",
    "transport-streamable-http-client-reqwest",
    "reqwest-native-tls",
]

[dependencies.rust-embed]
version = "8.5.0"

[dependencies.scraper]
version = "0.23.1"
features = ["deterministic"]
default-features = false

[dependencies.self_update]
version = "0.44"
features = [
    "reqwest",
    "rustls",
    "archive-tar",
    "compression-flate2",
    "archive-zip",
    "compression-zip-deflate",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.93"
features = ["preserve_order"]

[dependencies.serde_yaml]
version = "0.9.17"

[dependencies.sha2]
version = "0.10.8"

[dependencies.shell-words]
version = "1.1.0"

[dependencies.strum_macros]
version = "0.27.2"

[dependencies.syntect]
version = "5.0.0"
features = [
    "parsing",
    "regex-onig",
    "plist-load",
]
default-features = false

[dependencies.sys-locale]
version = "0.3.1"

[dependencies.terminal-colorsaurus]
version = "0.4.8"

[dependencies.textwrap]
version = "0.16.0"

[dependencies.tokio]
version = "1.34.0"
features = [
    "rt",
    "time",
    "macros",
    "signal",
    "rt-multi-thread",
    "full",
]

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

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

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

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

[dependencies.url]
version = "2.5.8"

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.uuid]
version = "1.9.1"
features = ["v4"]

[dependencies.which]
version = "8.0.0"

[dev-dependencies.pretty_assertions]
version = "1.4.0"

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

[target.'cfg(not(any(target_os = "linux", target_os = "android", target_os = "emscripten")))'.dependencies.arboard]
version = "3.3.0"
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.arboard]
version = "3.3.0"
features = ["wayland-data-control"]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.crossterm]
version = "0.29.0"
features = ["use-dev-tty"]

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