# 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 = "2024"
rust-version = "1.85"
name = "eventide"
version = "0.1.0"
authors = ["nanlong <nanlong.dev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pragmatic Rust toolkit for Domain-Driven Design with event sourcing and CQRS. Umbrella crate re-exporting `eventide-domain`, `eventide-application` and `eventide-macros`."
homepage = "https://github.com/nanlong/eventide"
documentation = "https://docs.rs/eventide"
readme = "README.md"
keywords = [
    "ddd",
    "cqrs",
    "event-sourcing",
    "hexagonal",
    "domain-driven-design",
]
categories = [
    "data-structures",
    "asynchronous",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nanlong/eventide"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
application = ["dep:eventide-application"]
default = [
    "eventing",
    "macros",
    "application",
]
eventing = ["eventide-domain/eventing"]
infra-sqlx = ["eventide-domain/infra-sqlx"]
macros = ["dep:eventide-macros"]

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

[dependencies.eventide-application]
version = "0.1.0"
optional = true

[dependencies.eventide-domain]
version = "0.1.0"
default-features = false

[dependencies.eventide-macros]
version = "0.1.0"
optional = true
