[package]
edition = "2024"
rust-version = "1.88"
name = "sql-values"
version = "0.5.0"
authors = ["Luca Cappelletti"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL values, with PostgreSQL's value rules beside readers of the text PostgreSQL, MySQL and SQLite emit"
readme = "README.md"
keywords = [
"sql",
"parser",
"postgresql",
"mysql",
"sqlite",
]
categories = [
"database",
"parser-implementations",
"no-std",
]
license = "MIT"
repository = "https://github.com/connetto-rs/sql-values"
[package.metadata.docs.rs]
all-features = true
[features]
decimal = ["dep:bigdecimal"]
default = []
jiff = []
serde = ["dep:serde"]
[lib]
name = "sql_values"
path = "src/lib.rs"
[[test]]
name = "abbreviations"
path = "tests/abbreviations.rs"
[[test]]
name = "allocator"
path = "tests/allocator.rs"
[[test]]
name = "datetime_values"
path = "tests/datetime_values.rs"
[[test]]
name = "engine_container_lifecycle"
path = "tests/engine_container_lifecycle.rs"
[[test]]
name = "exit_slot_lifecycle"
path = "tests/exit_slot_lifecycle.rs"
[[test]]
name = "jiff_conversions"
path = "tests/jiff_conversions.rs"
[[test]]
name = "mysql_engine"
path = "tests/mysql_engine.rs"
[[test]]
name = "pg_cast_engine"
path = "tests/pg_cast_engine.rs"
[[test]]
name = "pg_engine"
path = "tests/pg_engine.rs"
[[test]]
name = "pg_interval_arithmetic_engine"
path = "tests/pg_interval_arithmetic_engine.rs"
[[test]]
name = "pg_interval_engine"
path = "tests/pg_interval_engine.rs"
[[test]]
name = "proptest_roundtrip"
path = "tests/proptest_roundtrip.rs"
[[test]]
name = "scalars"
path = "tests/scalars.rs"
[[test]]
name = "sqlite_engine"
path = "tests/sqlite_engine.rs"
[[test]]
name = "temporal"
path = "tests/temporal.rs"
[[bench]]
name = "scalar_parsing"
path = "benches/scalar_parsing.rs"
harness = false
[dependencies.bigdecimal]
version = "0.4"
optional = true
default-features = false
[dependencies.jiff]
version = "0.2.39"
features = [
"alloc",
"tzdb-bundle-always",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false
[dependencies.thiserror]
version = "2"
default-features = false
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.diesel]
version = "2.3"
features = [
"postgres",
"mysql",
"sqlite",
]
[dev-dependencies.parking_lot]
version = "0.12.5"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.testcontainers]
version = "0.27"
features = ["blocking"]
[dev-dependencies.testcontainers-modules]
version = "0.15"
features = [
"postgres",
"mysql",
"blocking",
]
[build-dependencies.thiserror]
version = "2"
default-features = false