persistant-sqlx 0.7.7

PersistAnt's relational driver over sqlx: implements RelationalBackend for PostgreSQL, with typed error classification.
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 = "persistant-sqlx"
version = "0.7.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PersistAnt's relational driver over sqlx: implements RelationalBackend for PostgreSQL, with typed error classification."
readme = false
keywords = [
    "sql",
    "postgres",
    "sqlx",
    "persistence",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ciresnave/PersistAnt"

[features]
mysql = ["sqlx/mysql"]
sqlite = [
    "sqlx/sqlite",
    "dep:tokio",
]

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

[[example]]
name = "matrix"
path = "examples/matrix.rs"

[[example]]
name = "matrix_mysql"
path = "examples/matrix_mysql.rs"
required-features = ["mysql"]

[[example]]
name = "matrix_sqlite"
path = "examples/matrix_sqlite.rs"
required-features = ["sqlite"]

[[example]]
name = "rel_speed"
path = "examples/rel_speed.rs"
required-features = ["sqlite"]

[[example]]
name = "speed"
path = "examples/speed.rs"
required-features = ["sqlite"]

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

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

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

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

[[test]]
name = "durability_mysql"
path = "tests/durability_mysql.rs"
harness = false
required-features = ["mysql"]

[[test]]
name = "durability_postgres"
path = "tests/durability_postgres.rs"
harness = false

[[test]]
name = "durability_sqlite"
path = "tests/durability_sqlite.rs"
harness = false
required-features = ["sqlite"]

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

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

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

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

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

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

[[test]]
name = "tls_mysql"
path = "tests/tls_mysql.rs"
required-features = ["mysql"]

[dependencies.persistant-core]
version = "0.7.7"

[dependencies.persistant-relational]
version = "0.7.7"

[dependencies.sqlx]
version = "0.9.0"
features = [
    "runtime-tokio",
    "tls-rustls-ring-webpki",
    "postgres",
    "migrate",
]
default-features = false

[dependencies.tokio]
version = "1.53.2"
features = ["sync"]
optional = true
default-features = false

[dev-dependencies.persistant-kv]
version = "0.7.7"

[dev-dependencies.sha2]
version = "0.10"

[dev-dependencies.tokio]
version = "1.53.2"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
]