[package]
edition = "2024"
rust-version = "1.95"
name = "toasty-sql"
version = "0.6.1"
authors = ["Carl Lerche <me@carllerche.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL serialization layer for Toasty database drivers"
homepage = "https://github.com/tokio-rs/toasty"
documentation = "https://docs.rs/toasty-sql"
readme = "README.md"
keywords = [
"orm",
"database",
"sql",
"nosql",
"async",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/tokio-rs/toasty"
resolver = "2"
[features]
bigdecimal = [
"dep:bigdecimal",
"toasty-core/bigdecimal",
]
jiff = [
"dep:jiff",
"toasty-core/jiff",
]
rust_decimal = [
"dep:rust_decimal",
"toasty-core/rust_decimal",
]
[lib]
name = "toasty_sql"
path = "src/lib.rs"
[[test]]
name = "migration_add_column"
path = "tests/migration_add_column.rs"
[[test]]
name = "migration_alter_column"
path = "tests/migration_alter_column.rs"
[[test]]
name = "migration_alter_table"
path = "tests/migration_alter_table.rs"
[[test]]
name = "migration_create_table"
path = "tests/migration_create_table.rs"
[[test]]
name = "migration_drop_column"
path = "tests/migration_drop_column.rs"
[[test]]
name = "migration_drop_table"
path = "tests/migration_drop_table.rs"
[[test]]
name = "migration_enum_type"
path = "tests/migration_enum_type.rs"
[[test]]
name = "serialize_array_predicates"
path = "tests/serialize_array_predicates.rs"
[dependencies.bigdecimal]
version = "0.4.10"
optional = true
[dependencies.jiff]
version = "0.2.23"
optional = true
[dependencies.rust_decimal]
version = "1.41.0"
optional = true
[dependencies.serde_json]
version = "1.0.149"
[dependencies.toasty-core]
version = "0.6.1"
[lints.rust]
unsafe_code = "deny"