# 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 = "joy-cli"
version = "0.10.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI for Joy product management - Git-native, terminal-first"
homepage = "https://joyint.com/en/joy"
readme = "README.md"
license = "MIT"
repository = "https://github.com/joyint/joy"

[features]
default = ["tui"]
fast-kdf = ["joy-core/fast-kdf"]
full = [
    "tui",
    "server",
]
server = [
    "dep:axum",
    "dep:tower-http",
]
tui = [
    "dep:ratatui",
    "dep:crossterm",
]

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.axum]
version = "0.8"
optional = true

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

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

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

[dependencies.crossterm]
version = "0.28"
optional = true

[dependencies.glob]
version = "0.3.3"

[dependencies.joy-ai]
version = "0.10.0"

[dependencies.joy-core]
version = "0.10.0"

[dependencies.minijinja]
version = "2.18"

[dependencies.ratatui]
version = "0.29"
optional = true

[dependencies.rpassword]
version = "7"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.termimad]
version = "0.31"

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

[dependencies.toml_edit]
version = "0.25.5"

[dependencies.tower-http]
version = "0.6"
features = ["cors"]
optional = true

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

[dev-dependencies.assert_cmd]
version = "2"

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

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

[dev-dependencies.trycmd]
version = "0.15"
