# 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 = "rok-cli"
version = "0.6.1"
authors = ["ateeq1999"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Developer CLI for rok-based Axum applications"
homepage = "https://github.com/ateeq1999/axum-rok-http"
readme = "README.md"
keywords = [
    "cli",
    "axum",
    "scaffold",
    "rok",
    "codegen",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/ateeq1999/axum-rok-http"

[features]
default = [
    "tui",
    "repl",
]
full = [
    "tui",
    "tui-studio",
    "repl",
]
repl = ["dep:rustyline"]
tui = [
    "dep:ratatui",
    "dep:crossterm",
    "dep:tracing",
    "dep:tracing-subscriber",
]
tui-studio = [
    "tui",
    "dep:rok-testing",
    "rok-testing/studio",
]

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

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

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

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

[dependencies.console]
version = "0.15"

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

[dependencies.dialoguer]
version = "0.11"

[dependencies.dirs-next]
version = "2"

[dependencies.dotenvy]
version = "0.15"

[dependencies.glob]
version = "0.3"

[dependencies.heck]
version = "0.5"

[dependencies.jsonwebtoken]
version = "9"

[dependencies.rand]
version = "0.8"

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

[dependencies.rok-auth]
version = "0.6"

[dependencies.rok-orm]
version = "0.6"
features = [
    "migrate",
    "postgres",
]

[dependencies.rok-testing]
version = "0.6"
optional = true

[dependencies.rustyline]
version = "14"
optional = true

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sqlx]
version = "0.8"
features = [
    "macros",
    "runtime-tokio-native-tls",
    "chrono",
    "postgres",
]
default-features = false

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]
optional = true

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