saya-cli 0.3.1

Database-aware AI agent for the terminal: full-screen TUI, schema discovery, and bounded read-only SQL over PostgreSQL, MySQL, SQLite, DuckDB, and Snowflake.
# 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.88"
name = "saya-cli"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database-aware AI agent for the terminal: full-screen TUI, schema discovery, and bounded read-only SQL over PostgreSQL, MySQL, SQLite, DuckDB, and Snowflake."
homepage = "https://github.com/databook-studio/saya-cli"
readme = "README.md"
keywords = [
    "database",
    "sql",
    "ai",
    "agent",
    "tui",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/databook-studio/saya-cli"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/saya-{ version }-{ target }{ archive-suffix }"
pkg-fmt = "tgz"
bin-dir = "saya-{ version }-{ target }/{ bin }{ binary-ext }"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

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

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

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

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

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

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

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

[[test]]
name = "mvp"
path = "tests/mvp/main.rs"

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

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

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

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

[dependencies.base64]
version = "0.23"

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

[dependencies.clap_complete]
version = "4"

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

[dependencies.ratatui]
version = "0.30"

[dependencies.saya-agent]
version = "0.3.1"

[dependencies.saya-config]
version = "0.3.1"

[dependencies.saya-connectors]
version = "0.3.1"

[dependencies.saya-store]
version = "0.3.1"

[dependencies.saya-types]
version = "0.3.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"
features = ["oid"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "sync",
    "time",
    "net",
    "signal",
]

[dependencies.toml]
version = "1.1"

[dev-dependencies.duckdb]
version = "=1.10504.0"
features = [
    "bundled",
    "chrono",
    "serde_json",
    "uuid",
]

[dev-dependencies.insta]
version = "1.43"
features = ["yaml"]

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.portable-pty]
version = "0.9"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "mysql",
    "sqlite",
    "json",
    "chrono",
    "uuid",
    "bigdecimal",
]
default-features = false

[dev-dependencies.vt100]
version = "0.16"