a3s-orm 0.3.0

A type-safe, executor-neutral SQL query builder for Rust
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 = "2021"
rust-version = "1.85"
name = "a3s-orm"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A type-safe, executor-neutral SQL query builder for Rust"
readme = "README.md"
keywords = [
    "database",
    "query-builder",
    "sql",
    "postgres",
    "sqlite",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/A3S-Lab/ORM"

[features]
chrono = ["dep:chrono"]
decimal = ["dep:rust_decimal"]
default = ["sqlite"]
json = ["dep:serde_json"]
postgres = [
    "chrono",
    "decimal",
    "dep:bytes",
    "dep:deadpool-postgres",
    "dep:rustls",
    "dep:tokio",
    "dep:tokio-postgres",
    "dep:tokio-postgres-rustls",
    "dep:zeroize",
    "json",
    "uuid",
]
sqlite = [
    "dep:tokio",
    "dep:tokio-rusqlite",
]
uuid = ["dep:uuid"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bytes]
version = "1"
optional = true

[dependencies.chrono]
version = "0.4"
optional = true

[dependencies.deadpool-postgres]
version = "0.14"
optional = true

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

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
]
optional = true
default-features = false

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

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
]
optional = true

[dependencies.tokio-postgres]
version = "0.7"
features = [
    "array-impls",
    "with-chrono-0_4",
    "with-serde_json-1",
    "with-uuid-1",
]
optional = true

[dependencies.tokio-postgres-rustls]
version = "0.14"
features = ["ring"]
optional = true
default-features = false

[dependencies.tokio-rusqlite]
version = "0.7"
optional = true

[dependencies.uuid]
version = "1"
optional = true

[dependencies.zeroize]
version = "1"
features = ["alloc"]
optional = true

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