# 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 = "cqlsh-rs"
version = "0.5.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust re-implementation of the Apache Cassandra cqlsh shell"
readme = "README.md"
keywords = [
    "cassandra",
    "cql",
    "cqlsh",
    "scylladb",
    "database",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "MIT"
repository = "https://github.com/scylladb/cqlsh-rs"

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

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

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

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

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

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

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

[[bench]]
name = "bench_completion"
path = "benches/bench_completion.rs"

[[bench]]
name = "bench_format"
path = "benches/bench_format.rs"

[[bench]]
name = "bench_parser"
path = "benches/bench_parser.rs"

[[bench]]
name = "bench_startup"
path = "benches/bench_startup.rs"

[[bench]]
name = "benchmarks"
path = "benches/main.rs"
harness = false

[dependencies.anyhow]
version = "1"

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

[dependencies.bigdecimal]
version = "0.4"

[dependencies.chrono]
version = "0.4"

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

[dependencies.clap_complete]
version = "4"

[dependencies.clap_mangen]
version = "0.3"

[dependencies.comfy-table]
version = "7"
features = ["custom_styling"]

[dependencies.configparser]
version = "3"

[dependencies.crossterm]
version = "0.29"

[dependencies.csv]
version = "1"

[dependencies.dirs]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.num-bigint]
version = "0.4"

[dependencies.rustls]
version = "0.23"

[dependencies.rustls-pemfile]
version = "2"

[dependencies.rustyline]
version = "18"
features = ["derive"]

[dependencies.scylla]
version = "1"
features = [
    "rustls-023",
    "chrono-04",
    "num-bigint-04",
    "bigdecimal-04",
]

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

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

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

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

[dev-dependencies.rcgen]
version = "0.13"

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

[dev-dependencies.testcontainers]
version = "0.27"
features = ["blocking"]

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[profile.release]
opt-level = "z"
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true
