# 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 = "mysql-es"
version = "0.5.0"
authors = ["Dave Garred <dave.garred@serverlesstechnology.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A MySql implementation of an event repository for cqrs-es."
documentation = "https://docs.rs/mysql-es"
readme = "README.md"
keywords = [
    "cqrs",
    "event-sourcing",
    "serverless",
]
license = "Apache-2.0"
repository = "https://github.com/serverlesstechnology/cqrs"

[features]
default = ["runtime-tokio-rustls"]
runtime-async-std-native-tls = ["sqlx/runtime-async-std-native-tls"]
runtime-async-std-rustls = ["sqlx/runtime-async-std-rustls"]
runtime-tokio-native-tls = ["sqlx/runtime-tokio-native-tls"]
runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls"]

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

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

[dependencies.cqrs-es]
version = "0.5.0"

[dependencies.futures]
version = "0.3"

[dependencies.serde]
version = "^1.0.219"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

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

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "^1.48.0"
features = ["rt"]

[dev-dependencies.uuid]
version = "1.18"
features = ["v4"]
