# 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 = "gluesql-core"
version = "0.19.0"
authors = ["Taehoon Moon <taehoon.moon@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GlueSQL - Open source SQL database engine fully written in Rust with pure functional execution layer, easily swappable storage and web assembly support!"
documentation = "https://docs.rs/gluesql/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/gluesql/gluesql"
resolver = "2"

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

[dependencies.async-recursion]
version = "1"

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

[dependencies.bigdecimal]
version = "0.4.10"
features = [
    "serde",
    "string-only",
]

[dependencies.cfg-if]
version = "1"

[dependencies.chrono]
version = "0.4.38"
features = [
    "serde",
    "wasmbind",
]

[dependencies.futures]
version = "0.3"

[dependencies.futures-enum]
version = "0.1.17"

[dependencies.hex]
version = "0.4"

[dependencies.im]
version = "15"

[dependencies.iter-enum]
version = "1"

[dependencies.itertools]
version = "0.12"

[dependencies.md-5]
version = "0.10.5"

[dependencies.ordered-float]
version = "4"
features = ["serde"]

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1"

[dependencies.rust_decimal]
version = "1"
features = ["serde-str"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlparser]
version = "0.52"
features = [
    "serde",
    "bigdecimal",
]

[dependencies.strum_macros]
version = "0.25"

[dependencies.thiserror]
version = "1.0"

[dependencies.utils]
version = "0.19.0"
package = "gluesql-utils"

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "1"
features = ["v4"]

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1"
features = [
    "v4",
    "js",
]

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
enum_glob_use = "allow"
float_cmp = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
wildcard_imports = "allow"

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