sabiql 2.0.0

A fast, driver-less TUI for browsing and editing PostgreSQL and SQLite databases
# 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.96"
name = "sabiql"
version = "2.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, driver-less TUI for browsing and editing PostgreSQL and SQLite databases"
homepage = "https://github.com/riii111/sabiql"
readme = "README.md"
keywords = [
    "postgresql",
    "sqlite",
    "tui",
    "database",
    "sql",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/riii111/sabiql"

[features]
default = []
self-update = ["dep:self_update"]

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

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

[dependencies.color-eyre]
version = "0.6"

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

[dependencies.dotenvy]
version = "0.15"

[dependencies.sabiql-app]
version = "2.0.0"

[dependencies.sabiql-domain]
version = "2.0.0"

[dependencies.sabiql-infra]
version = "2.0.0"

[dependencies.sabiql-ui]
version = "2.0.0"

[dependencies.self_update]
version = "0.42"
features = [
    "archive-tar",
    "archive-zip",
    "compression-flate2",
    "rustls",
]
optional = true
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "io-util",
    "process",
    "rt-multi-thread",
    "macros",
    "fs",
]

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

[dev-dependencies.ratatui]
version = "0.30"

[dev-dependencies.sabiql-app]
version = "2.0.0"
features = ["test-support"]

[dev-dependencies.sabiql-domain]
version = "2.0.0"

[dev-dependencies.sabiql-ui]
version = "2.0.0"
features = ["test-support"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "io-util",
    "process",
    "rt-multi-thread",
    "macros",
    "fs",
    "test-util",
]

[lints.clippy]
absolute_paths = "warn"
allow_attributes_without_reason = "deny"
branches_sharing_code = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
collection_is_never_read = "allow"
dbg_macro = "deny"
doc_markdown = "allow"
future_not_send = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
iter_with_drain = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
naive_bytecount = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
print_stderr = "deny"
print_stdout = "deny"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_field_names = "allow"
todo = "deny"
too_many_lines = "allow"
unused_self = "allow"
used_underscore_binding = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
redundant_imports = "deny"

[profile.release]
lto = true
codegen-units = 1