# 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.91.1"
name = "oy-cli"
version = "0.7.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local AI coding CLI for inspecting, editing, running commands, and auditing repositories"
homepage = "https://github.com/wagov-dtt/oy-cli"
readme = "README.md"
keywords = [
    "ai",
    "cli",
    "coding",
    "audit",
    "agent",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/wagov-dtt/oy-cli"

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.aws-config]
version = "1.8.16"

[dependencies.aws-sdk-bedrockruntime]
version = "1.130.0"
features = [
    "default-https-client",
    "rt-tokio",
]
default-features = false

[dependencies.aws-smithy-json]
version = "0.62.5"

[dependencies.aws-smithy-types]
version = "1.4.7"

[dependencies.aws-types]
version = "1.3.15"

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

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

[dependencies.dialoguer]
version = "0.12"
default-features = false

[dependencies.dirs]
version = "6.0"

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

[dependencies.genai]
version = "0.6.0-beta.17"

[dependencies.glob]
version = "0.3"

[dependencies.globset]
version = "0.4"

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

[dependencies.grep-searcher]
version = "0.1"

[dependencies.html2md]
version = "0.2"

[dependencies.ignore]
version = "0.4"

[dependencies.reedline-repl-rs]
version = "1.3"
features = [
    "async",
    "shlex",
]

[dependencies.regex]
version = "1.11"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "http2",
    "json",
    "stream",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.similar]
version = "3.1"

[dependencies.syntect]
version = "5.3"
features = ["default-fancy"]
default-features = false

[dependencies.terminal_size]
version = "0.4"

[dependencies.textwrap]
version = "0.16"

[dependencies.tiktoken-rs]
version = "0.11"

[dependencies.tokei]
version = "14.0"

[dependencies.tokio]
version = "1.52"
features = [
    "macros",
    "rt-multi-thread",
    "process",
    "time",
    "net",
    "io-util",
]

[dependencies.toon-format]
version = "0.4.5"
default-features = false

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

[dependencies.url]
version = "2.5"

[dev-dependencies.insta]
version = "1.47"

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

[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
strip = "symbols"
