[package]
edition = "2024"
name = "ddd-toolkit-core"
version = "0.4.5"
build = false
exclude = [".github"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core traits and helpers for Domain-Driven Design: entities, value objects, aggregates, persistence, CQRS, and event-driven workflows."
documentation = "https://docs.rs/ddd-toolkit-core"
readme = "README.md"
keywords = [
"ddd",
"domain-driven-design",
"entity",
"value-object",
"aggregate",
]
categories = [
"rust-patterns",
"data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ryoshrimp/ddd-toolkit"
[package.metadata.docs.rs]
all-features = true
[features]
serde = ["dep:serde"]
[lib]
name = "ddd_toolkit_core"
path = "src/lib.rs"
[[test]]
name = "aggregate_event_dispatch"
path = "tests/aggregate_event_dispatch.rs"
[[test]]
name = "async_contracts"
path = "tests/async_contracts.rs"
[[test]]
name = "async_cqrs"
path = "tests/async_cqrs.rs"
[[test]]
name = "async_transactional_outbox"
path = "tests/async_transactional_outbox.rs"
[[test]]
name = "cqrs"
path = "tests/cqrs.rs"
[[test]]
name = "cqrs_compile_fail"
path = "tests/cqrs_compile_fail.rs"
[[test]]
name = "cqrs_compile_pass"
path = "tests/cqrs_compile_pass.rs"
[[test]]
name = "domain_event"
path = "tests/domain_event.rs"
[[test]]
name = "domain_event_contract_compile_fail"
path = "tests/domain_event_contract_compile_fail.rs"
[[test]]
name = "domain_event_practicalization"
path = "tests/domain_event_practicalization.rs"
[[test]]
name = "domain_event_publisher"
path = "tests/domain_event_publisher.rs"
[[test]]
name = "domain_event_publishing"
path = "tests/domain_event_publishing.rs"
[[test]]
name = "domain_events"
path = "tests/domain_events.rs"
[[test]]
name = "event_sourcing_compile_fail"
path = "tests/event_sourcing_compile_fail.rs"
[[test]]
name = "event_sourcing_contracts"
path = "tests/event_sourcing_contracts.rs"
[[test]]
name = "event_sourcing_snapshots"
path = "tests/event_sourcing_snapshots.rs"
[[test]]
name = "eventing_ports"
path = "tests/eventing_ports.rs"
[[test]]
name = "generic_capabilities"
path = "tests/generic_capabilities.rs"
[[test]]
name = "outbox_lifecycle"
path = "tests/outbox_lifecycle.rs"
[[test]]
name = "projection_reliability"
path = "tests/projection_reliability.rs"
[[test]]
name = "reliability_helpers"
path = "tests/reliability_helpers.rs"
[[test]]
name = "repository"
path = "tests/repository.rs"
[[test]]
name = "secret"
path = "tests/secret.rs"
[[test]]
name = "secret_boundary_compile_fail"
path = "tests/secret_boundary_compile_fail.rs"
[[test]]
name = "secret_compile_fail"
path = "tests/secret_compile_fail.rs"
[dependencies.serde]
version = "1"
optional = true
[dependencies.zeroize]
version = "1.9.1"
[dev-dependencies.trybuild]
version = "1.0.121"