evento-sql 2.0.0-alpha.22

SQL database implementations for evento event sourcing library.
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 = "2021"
name = "evento-sql"
version = "2.0.0-alpha.22"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL database implementations for evento event sourcing library."
documentation = "https://docs.rs/evento-sql"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/timayz/evento"

[features]
accord = [
    "dep:evento-accord",
    "sqlx/runtime-tokio",
    "sqlx/migrate",
]
default = [
    "sqlite",
    "mysql",
    "postgres",
]
mysql = [
    "evento-core/rw",
    "evento-core/mysql",
    "sea-query/backend-mysql",
    "sea-query-sqlx/sqlx-mysql",
    "sqlx/mysql",
    "sqlx/mysql-rsa",
]
postgres = [
    "evento-core/rw",
    "evento-core/postgres",
    "sea-query/backend-postgres",
    "sea-query-sqlx/sqlx-postgres",
    "sqlx/postgres",
]
sqlite = [
    "evento-core/rw",
    "evento-core/sqlite",
    "sea-query/backend-sqlite",
    "sea-query-sqlx/sqlx-sqlite",
    "sqlx/sqlite",
]

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

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

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

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

[[test]]
name = "sql_journal"
path = "tests/sql_journal.rs"
required-features = [
    "accord",
    "sqlite",
]

[[test]]
name = "sql_journal_mysql"
path = "tests/sql_journal_mysql.rs"
required-features = [
    "accord",
    "mysql",
]

[[test]]
name = "sql_journal_postgres"
path = "tests/sql_journal_postgres.rs"
required-features = [
    "accord",
    "postgres",
]

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.bitcode]
version = "0.6"

[dependencies.evento-accord]
version = "2.0.0-alpha.22"
optional = true

[dependencies.evento-core]
version = "2.0.0-alpha.22"

[dependencies.sea-query]
version = "1.0.1"
features = [
    "derive",
    "audit",
]
default-features = false

[dependencies.sea-query-sqlx]
version = "0.9.1"
features = ["runtime-tokio"]

[dependencies.sqlx]
version = "0.9"

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

[dependencies.ulid]
version = "1.2"
features = ["serde"]

[dev-dependencies.sqlx_migrator]
version = "0.19"

[dev-dependencies.tempfile]
version = "3.27"

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