sqlw-backend 0.1.0

Database executor implementations for sqlw
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"
name = "sqlw-backend"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database executor implementations for sqlw"
documentation = "https://docs.rs/sqlw-backend"
readme = false
keywords = [
    "sql",
    "database",
    "turso",
    "sqlite",
    "postgres",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/mrVncius/sqlw"

[features]
default = ["turso"]
mysql = [
    "dep:tokio",
    "tokio/rt",
    "dep:mysql_async",
]
postgres = [
    "dep:tokio-postgres",
    "dep:bb8",
    "dep:bb8-postgres",
    "dep:tokio",
    "tokio/rt",
]
sqlite = ["dep:tokio-rusqlite"]
turso = ["dep:turso"]

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

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

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

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

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

[dependencies.bb8]
version = "0.8"
optional = true

[dependencies.bb8-postgres]
version = "0.8"
optional = true

[dependencies.futures]
version = "0.3.31"

[dependencies.mysql_async]
version = "0.34"
optional = true

[dependencies.sqlw]
version = "0.1.0"
default-features = false

[dependencies.sqlw_macro]
version = "0.1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.48.0"
optional = true

[dependencies.tokio-postgres]
version = "0.7.13"
optional = true

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

[dependencies.turso]
version = "0.5.0"
optional = true

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