# 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 = "kip-sql"
version = "0.0.1-alpha.8"
authors = [
    "Kould <kould2333@gmail.com>",
    "Xwg <loloxwg@gmail.com>",
]
description = "build the SQL layer of KipDB database"
readme = "README.md"
keywords = [
    "async",
    "SQL",
    "Persistence",
]
categories = [
    "development-tools",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/KipData/KipSQL"

[lib]
doctest = false

[[bench]]
name = "query_bench"
path = "benchmarks/query_benchmark.rs"
harness = false
required-features = ["codegen_execute"]

[dependencies.ahash]
version = "0.8.3"

[dependencies.bincode]
version = "1.3.3"

[dependencies.bytes]
version = "1.5.0"

[dependencies.chrono]
version = "0.4.26"

[dependencies.clap]
version = "4.4.11"

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

[dependencies.csv]
version = "1"

[dependencies.futures]
version = "0.3.25"

[dependencies.futures-async-stream]
version = "0.2.9"

[dependencies.integer-encoding]
version = "3.0.4"

[dependencies.itertools]
version = "0.10"

[dependencies.kip_db]
version = "0.1.2-alpha.21"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.mlua]
version = "0.9.1"
features = [
    "luajit",
    "vendored",
    "macros",
    "async",
]
optional = true

[dependencies.ordered-float]
version = "3.0"

[dependencies.parking_lot]
version = "0.12.1"

[dependencies.petgraph]
version = "0.6.3"

[dependencies.regex]
version = "1.10.2"

[dependencies.rust_decimal]
version = "1"

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

[dependencies.sqlparser]
version = "0.34.0"

[dependencies.strum_macros]
version = "0.24"

[dependencies.thiserror]
version = "1"

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

[dependencies.tracing]
version = "0.1.37"

[dev-dependencies.cargo-tarpaulin]
version = "0.27.1"

[dev-dependencies.criterion]
version = "0.3.5"
features = [
    "async_tokio",
    "html_reports",
]

[dev-dependencies.ctor]
version = "0.2.0"

[dev-dependencies.env_logger]
version = "0.10"

[dev-dependencies.indicatif]
version = "0.17"

[dev-dependencies.paste]
version = "^1.0"

[dev-dependencies.rstest]
version = "0.17"

[dev-dependencies.sqlite]
version = "0.32.0"

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

[dev-dependencies.tokio-test]
version = "0.4.2"

[features]
codegen_execute = ["dep:mlua"]
default = ["marcos"]
marcos = []