# 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"
name = "rowdy-db"
version = "0.9.2"
authors = ["Thierry Soulie <thierry.soulie@tsodev.fr>"]
build = false
exclude = [
    "*.cast",
    "*.pdf",
    "seed/",
    "memory/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, modern, and rowdy TUI database management tool written in Rust."
readme = "README.md"
keywords = [
    "database",
    "tui",
    "terminal",
    "postgres",
    "sqlite",
]
categories = [
    "development-tools",
    "database",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/TSODev/rowdy"

[features]
default = ["secure-storage"]
duckdb = ["dep:duckdb"]
mongodb = ["dep:mongodb"]
secure-storage = ["dep:keyring"]

[[bin]]
name = "rowdy-db"
path = "src/main.rs"

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

[dependencies.bigdecimal]
version = "0.3"

[dependencies.chrono]
version = "0.4"

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

[dependencies.crossterm]
version = "0.27"
features = ["event-stream"]

[dependencies.duckdb]
version = "1"
features = ["bundled"]
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.keyring]
version = "4"
optional = true

[dependencies.libsql]
version = "0.9.30"
features = ["remote"]

[dependencies.mongodb]
version = "3"
optional = true

[dependencies.ratatui]
version = "0.27"

[dependencies.redis]
version = "0.24"
features = ["tokio-comp"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.7"
features = [
    "runtime-tokio-native-tls",
    "sqlite",
    "postgres",
    "mysql",
    "chrono",
    "uuid",
    "json",
    "bigdecimal",
]

[dependencies.thiserror]
version = "1"

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

[dependencies.toml]
version = "0.8"

[dependencies.tui-textarea]
version = "0.5"

[dependencies.uuid]
version = "1"
