# 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 = "psqlm"
version = "0.1.0"
authors = ["Matthew Kim <matthew@pydantic.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A psql wrapper that converts natural language to SQL using an LLM"
readme = "README.md"
keywords = [
    "postgres",
    "sql",
    "cli",
    "llm",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/friendlymatthew/psqlm"

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.crossterm]
version = "0.28"

[dependencies.dirs]
version = "5"

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

[dependencies.ratatui]
version = "0.29"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "native-tls",
    "stream",
]

[dependencies.rustyline]
version = "14"

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlparser]
version = "0.52"

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

[dependencies.toml]
version = "0.8"

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