anycms-i18n-sqlx 0.2.4

SQLx database backend for anycms-i18n
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 = "anycms-i18n-sqlx"
version = "0.2.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLx database backend for anycms-i18n"
homepage = "https://anycms.org"
documentation = "https://docs.rs/anycms-i18n"
readme = false
keywords = [
    "i18n",
    "sqlx",
    "database",
    "internationalization",
]
categories = [
    "database",
    "internationalization",
]
license = "MIT"
repository = "https://github.com/anycms/anycms-i18n"
resolver = "2"

[features]
default = ["runtime-tokio-rustls"]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls"]
sqlite = ["sqlx/sqlite"]

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

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

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

[dependencies.anycms-i18n]
version = "0.2.4"

[dependencies.dashmap]
version = "6"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = ["json"]
default-features = false

[dependencies.thiserror]
version = "2"

[dev-dependencies.anycms-i18n]
version = "0.2.4"
features = ["toml-backend"]

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