# 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.85"
name = "bsql-core"
version = "0.19.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime support for bsql — compile-time safe SQL for Rust"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/smir-ant/bsql"
resolver = "2"

[features]
async = ["dep:tokio"]
chrono = [
    "dep:chrono",
    "bsql-driver-postgres/chrono",
]
decimal = [
    "dep:rust_decimal",
    "bsql-driver-postgres/decimal",
]
default = []
sqlite = ["dep:bsql-driver-sqlite"]
sqlite-bundled = [
    "sqlite",
    "bsql-driver-sqlite/bundled",
]
sqlite-system = [
    "sqlite",
    "bsql-driver-sqlite/system",
]
time = [
    "dep:time",
    "bsql-driver-postgres/time",
]
tls = ["bsql-driver-postgres/tls"]
uuid = [
    "dep:uuid",
    "bsql-driver-postgres/uuid",
]

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

[dependencies.bsql-arena]
version = "0.19.0"

[dependencies.bsql-driver-postgres]
version = "0.19.0"

[dependencies.bsql-driver-sqlite]
version = "0.19.0"
optional = true

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "clock",
]
optional = true
default-features = false

[dependencies.rapidhash]
version = "4.4.1"

[dependencies.rust_decimal]
version = "1"
features = ["std"]
optional = true
default-features = false

[dependencies.smallvec]
version = "1"
default-features = false

[dependencies.time]
version = "0.3"
features = ["std"]
optional = true
default-features = false

[dependencies.tokio]
version = "1"
features = ["rt"]
optional = true
default-features = false

[dependencies.uuid]
version = "1"
optional = true
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]
default-features = false
