# 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 = "bestool-psql"
version = "1.1.8"
authors = [
    "Félix Saparelli <felix@passcod.name>",
    "BES Developers <contact@bes.au>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "psql-inspired client for PostgreSQL"
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/beyondessential/bestool/tree/main/crates/psql"
resolver = "2"

[features]
cli = [
    "dep:clap",
    "dep:lloggs",
    "miette/fancy",
]
default = ["cli"]

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

[[bin]]
name = "bestool-psql"
path = "src/main.rs"
required-features = ["cli"]

[[bin]]
name = "bestool-psql-audit"
path = "src/bin/audit.rs"
required-features = ["cli"]

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

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

[dependencies.bestool-postgres]
version = "1.0.0"

[dependencies.clap]
version = "4.5.47"
features = [
    "cargo",
    "derive",
    "wrap_help",
]
optional = true

[dependencies.comfy-table]
version = "7.2.1"

[dependencies.crossterm]
version = "0.29.0"

[dependencies.csv]
version = "1.3.1"

[dependencies.ctrlc]
version = "3.4.4"

[dependencies.dirs]
version = "6.0.0"

[dependencies.edit]
version = "0.1.5"

[dependencies.fraction]
version = "0.15"
features = ["with-postgres-support"]

[dependencies.futures]
version = "0.3.30"

[dependencies.hex]
version = "0.4.3"

[dependencies.indexmap]
version = "2.12.0"
features = ["serde"]

[dependencies.jiff]
version = "0.2.15"

[dependencies.lloggs]
version = "1.1.0"
optional = true

[dependencies.miette]
version = "7.6.0"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.rand]
version = "0.9.2"

[dependencies.redb]
version = "3.1.0"

[dependencies.reflink-copy]
version = "0.1.20"

[dependencies.rust_xlsxwriter]
version = "0.92.0"

[dependencies.rustyline]
version = "17.0.2"
features = ["signal-hook"]

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.supports-unicode]
version = "3.0.0"

[dependencies.syntect]
version = "5.3.0"
features = [
    "parsing",
    "regex-fancy",
    "default-themes",
    "default-syntaxes",
]
default-features = false

[dependencies.sysinfo]
version = "0.37.2"

[dependencies.tempfile]
version = "3.21.0"

[dependencies.thiserror]
version = "2.0.17"

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

[dependencies.tokio-postgres]
version = "0.7.15"
features = [
    "with-jiff-0_2",
    "with-serde_json-1",
]

[dependencies.tokio-postgres-rustls]
version = "0.13.0"

[dependencies.tracing]
version = "0.1.41"

[dependencies.turso]
version = "0.3.1"
default-features = false

[dependencies.turso_core]
version = "0.3.1"

[dependencies.uuid]
version = "1.11.0"
features = [
    "v4",
    "serde",
]

[dependencies.winnow]
version = "0.7.13"

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

[dev-dependencies.temp-env]
version = "0.3"

[target."cfg(unix)".dependencies.libc]
version = "0.2.177"

[target."cfg(unix)".dependencies.signal-hook]
version = "0.3.18"
