ddnet-account-sql 0.4.0

Helpers for SQL 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"
name = "ddnet-account-sql"
version = "0.4.0"
authors = ["Jupeyy"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Helpers for SQL databases."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/ddnet/ddnet-accounts"

[features]
default = ["mysql"]
mysql = ["sqlx/mysql"]
sqlite = ["sqlx/sqlite"]

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

[dependencies.anyhow]
version = "1"
features = ["backtrace"]

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

[dependencies.futures]
version = "0.3"

[dependencies.sqlx]
version = "0.9"
features = [
    "any",
    "runtime-tokio",
    "tls-rustls",
    "chrono",
]