# 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.95"
name = "sqeel-core"
version = "0.4.12"
authors = ["mxaddict <mxaddict@kryptic.sh>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core SQL engine for sqeel: sqlx-backed connection pool, tree-sitter SQL parser, LSP integration."
homepage = "https://sqeel.kryptic.sh"
readme = "README.md"
keywords = [
    "sql",
    "tui",
    "client",
    "lsp",
    "vim",
]
categories = [
    "database",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/kryptic-sh/sqeel-core"

[features]
default = ["duckdb"]
duckdb = ["dep:duckdb"]

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

[dependencies.anyhow]
version = "1"

[dependencies.bigdecimal]
version = "0.4"

[dependencies.chrono]
version = "0.4"

[dependencies.dirs]
version = "6.0.0"

[dependencies.duckdb]
version = "1"
features = ["bundled"]
optional = true

[dependencies.hjkl-bonsai]
version = "0.6"

[dependencies.hjkl-config]
version = "0.2"

[dependencies.hjkl-engine]
version = "0.7"

[dependencies.hjkl-lsp]
version = "0.1"

[dependencies.lsp-types]
version = "0.97.0"

[dependencies.pulldown-cmark]
version = "0.11"
default-features = false

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sqeel-config]
version = "0.2"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "mysql",
    "runtime-tokio-rustls",
    "macros",
    "sqlite",
    "postgres",
    "chrono",
    "bigdecimal",
    "uuid",
]

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

[dependencies.toml]
version = "1.1.2"

[dependencies.tracing]
version = "0.1"

[dependencies.tree-sitter]
version = "0.26"

[dependencies.tree-sitter-sequel]
version = "0.3"

[dependencies.url]
version = "2"

[dependencies.uuid]
version = "1"

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

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