# 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"
version = "2.0.0-alpha.13"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Event sourcing and CQRS toolkit with SQL persistence, projections, and subscriptions"
documentation = "https://docs.rs/evento"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/timayz/evento"

[features]
default = ["macro"]
group = ["evento-core/group"]
macro = ["evento-core/macro"]
mysql = [
    "evento-sql/mysql",
    "evento-sql-migrator/mysql",
    "sqlx_migrator/mysql",
]
postgres = [
    "evento-sql/postgres",
    "evento-sql-migrator/postgres",
    "sqlx_migrator/postgres",
]
rw = ["evento-core/rw"]
sql = [
    "sqlite",
    "mysql",
    "postgres",
]
sqlite = [
    "evento-sql/sqlite",
    "evento-sql-migrator/sqlite",
    "sqlx_migrator/sqlite",
]

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

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

[dependencies.evento-sql]
version = "2.0.0-alpha.13"
optional = true

[dependencies.evento-sql-migrator]
version = "2.0.0-alpha.13"
optional = true

[dependencies.sqlx_migrator]
version = "0.18"
optional = true

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.bitcode]
version = "0.6"

[dev-dependencies.once_cell]
version = "1"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.sea-query]
version = "1.0.0-rc.29"
features = [
    "derive",
    "audit",
    "backend-sqlite",
    "backend-mysql",
    "backend-postgres",
]
default-features = false

[dev-dependencies.sea-query-sqlx]
version = "0.8.0-rc.11"
features = [
    "runtime-tokio",
    "sqlx-sqlite",
    "sqlx-mysql",
    "sqlx-postgres",
]

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "any",
    "sqlite",
    "mysql",
    "postgres",
]

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

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

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