[package]
edition = "2024"
rust-version = "1.85"
name = "bsql"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe SQL for Rust — if it compiles, the SQL is correct"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/smir-ant/bsql"
resolver = "2"
[features]
chrono = [
"bsql-core/chrono",
"bsql-macros/chrono",
]
decimal = [
"bsql-core/decimal",
"bsql-macros/decimal",
]
default = []
time = [
"bsql-core/time",
"bsql-macros/time",
]
uuid = [
"bsql-core/uuid",
"bsql-macros/uuid",
]
[lib]
name = "bsql"
path = "src/lib.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "dynamic"
path = "tests/dynamic.rs"
[[test]]
name = "listener"
path = "tests/listener.rs"
[[test]]
name = "streaming"
path = "tests/streaming.rs"
[[test]]
name = "transactions"
path = "tests/transactions.rs"
[[test]]
name = "types"
path = "tests/types.rs"
[dependencies.bsql-core]
version = "0.6.0"
[dependencies.bsql-macros]
version = "0.6.0"
[dependencies.futures-core]
version = "0.3"
default-features = false
[dev-dependencies.time]
version = "0.3"
features = ["std"]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
default-features = false
[dev-dependencies.tokio-stream]
version = "0.1"
default-features = false
[dev-dependencies.trybuild]
version = "1"
[dev-dependencies.uuid]
version = "1"
features = ["v4"]
default-features = false