toasty 0.2.0

An async ORM for Rust supporting SQL and NoSQL databases
Documentation
# 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.94"
name = "toasty"
version = "0.2.0"
authors = ["Carl Lerche <me@carllerche.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An async ORM for Rust supporting SQL and NoSQL databases"
homepage = "https://github.com/tokio-rs/toasty"
documentation = "https://docs.rs/toasty"
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",
    "toasty-driver-postgresql?/bigdecimal",
    "toasty-driver-mysql?/bigdecimal",
]
default = []
dynamodb = ["dep:toasty-driver-dynamodb"]
jiff = [
    "dep:jiff",
    "toasty-core/jiff",
    "toasty-driver-postgresql?/jiff",
    "toasty-driver-mysql?/jiff",
]
mysql = ["dep:toasty-driver-mysql"]
postgresql = ["dep:toasty-driver-postgresql"]
rust_decimal = [
    "dep:rust_decimal",
    "toasty-core/rust_decimal",
    "toasty-driver-postgresql?/rust_decimal",
    "toasty-driver-mysql?/rust_decimal",
]
serde = [
    "dep:serde_core",
    "dep:serde_json",
]
sqlite = ["dep:toasty-driver-sqlite"]

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

[[test]]
name = "generate_unique_id"
path = "tests/generate_unique_id.rs"

[[test]]
name = "query_macro"
path = "tests/query_macro.rs"

[[test]]
name = "stmt_into_expr"
path = "tests/stmt_into_expr.rs"

[dependencies.async-stream]
version = "0.3.6"

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

[dependencies.bigdecimal]
version = "0.4.10"
optional = true

[dependencies.bit-set]
version = "0.10.0"

[dependencies.by_address]
version = "1.2.1"

[dependencies.deadpool]
version = "0.13"
features = ["rt_tokio_1"]

[dependencies.index_vec]
version = "0.1.4"

[dependencies.indexmap]
version = "2.13.0"

[dependencies.jiff]
version = "0.2.23"
optional = true

[dependencies.rust_decimal]
version = "1.41.0"
optional = true

[dependencies.serde_core]
version = "1.0.228"
optional = true

[dependencies.serde_json]
version = "1.0.149"
optional = true

[dependencies.toasty-core]
version = "0.2.0"

[dependencies.toasty-driver-dynamodb]
version = "0.2.0"
optional = true

[dependencies.toasty-driver-mysql]
version = "0.2.0"
optional = true

[dependencies.toasty-driver-postgresql]
version = "0.2.0"
optional = true

[dependencies.toasty-driver-sqlite]
version = "0.2.0"
optional = true

[dependencies.toasty-macros]
version = "0.2.0"

[dependencies.tokio]
version = "1.50"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1.18"
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5.8"

[dependencies.uuid]
version = "1.23.0"
features = [
    "v4",
    "v7",
    "fast-rng",
]

[dev-dependencies.assert-struct]
version = "0.4.2"

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

[dev-dependencies.toasty-driver-sqlite]
version = "0.2.0"

[dev-dependencies.tokio]
version = "1.50"
features = ["full"]

[lints.rust]
unsafe_code = "deny"