wae-database 0.0.2

WAE Database - 数据库服务抽象层,支持 Turso/PostgreSQL/MySQL
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 = "wae-database"
version = "0.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WAE Database - 数据库服务抽象层,支持 Turso/PostgreSQL/MySQL"
homepage = "https://github.com/oovm/wae/tree/main/backends/wae-database"
documentation = "https://docs.rs/wae-database"
readme = "README.md"
keywords = [
    "database",
    "sqlite",
    "postgres",
    "mysql",
    "orm",
]
categories = [
    "database",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/oovm/wae/tree/main/backends/wae-database"
resolver = "2"

[features]
default = []
limbo = ["dep:limbo"]
mysql = ["dep:mysql_async"]
postgres = [
    "dep:tokio-postgres",
    "dep:deadpool-postgres",
]

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

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

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

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

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

[dependencies.http]
version = "1.4.0"

[dependencies.limbo]
version = "0.0.22"
optional = true
default-features = false

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

[dependencies.once_cell]
version = "1.19.0"

[dependencies.pin-project-lite]
version = "0.2.17"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_yaml]
version = "0.9.34"

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

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

[dependencies.tower]
version = "0.5.3"

[dependencies.wae-types]
version = "0.0.2"