[package]
edition = "2021"
name = "evento-sql"
version = "2.0.0-alpha.13"
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]
default = [
"sqlite",
"mysql",
"postgres",
]
mysql = [
"evento-core/rw",
"evento-core/mysql",
"sea-query/backend-mysql",
"sea-query-sqlx/sqlx-mysql",
"sqlx/mysql",
]
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 = "sqlite"
path = "tests/sqlite.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.bitcode]
version = "0.6"
[dependencies.evento-core]
version = "2.0.0-alpha.13"
[dependencies.sea-query]
version = "1.0.0-rc.29"
features = [
"derive",
"audit",
]
default-features = false
[dependencies.sea-query-sqlx]
version = "0.8.0-rc.11"
features = ["runtime-tokio"]
[dependencies.sqlx]
version = "0.8"
[dependencies.ulid]
version = "1.2"
features = ["serde"]
[dev-dependencies.sqlx_migrator]
version = "0.18"
[dev-dependencies.tokio]
version = "1.49"
features = ["full"]