# 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 = "es-replay"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Event Sourcing and CQRS library with WASM support"
homepage = "https://github.com/funkode-io/replay"
readme = "README.md"
keywords = [
    "event-sourcing",
    "cqrs",
    "ddd",
    "aggregate",
    "wasm",
]
categories = ["asynchronous"]
license = "MIT"
repository = "https://github.com/funkode-io/replay"

[package.metadata.docs.rs]
targets = [
    "x86_64-unknown-linux-gnu",
    "wasm32-unknown-unknown",
]

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

[[example]]
name = "error_chaining"
path = "examples/error_chaining.rs"

[dependencies.futures]
version = "0.3.31"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.tracing]
version = "0.1.44"

[dependencies.urn]
version = "0.7.0"
features = ["serde"]

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

[dev-dependencies.tracing-test]
version = "0.2"

[dev-dependencies.uuid]
version = "1.23.1"
features = [
    "v4",
    "serde",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1.52.1"
features = ["full"]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.uuid]
version = "1.23.1"
features = [
    "v4",
    "serde",
    "js",
    "v4",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.68"
