[package]
edition = "2024"
rust-version = "1.95.0"
name = "mnesis-macros"
version = "0.3.1"
authors = ["Joel DSouza <joel@devrandom.co>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive macros for the Mnesis event-sourcing framework"
homepage = "https://github.com/devrandom-labs/mnesis"
readme = "README.md"
keywords = [
"event-sourcing",
"cqrs",
"derive",
"macro",
]
categories = ["data-structures"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/devrandom-labs/mnesis"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "mnesis_macros"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "adversarial_input"
path = "tests/adversarial_input.rs"
[[test]]
name = "aggregate_derive"
path = "tests/aggregate_derive.rs"
[[test]]
name = "compile_fail_tests"
path = "tests/compile_fail_tests.rs"
[[test]]
name = "domain_event_enum"
path = "tests/domain_event_enum.rs"
[[test]]
name = "expand_roundtrip"
path = "tests/expand_roundtrip.rs"
[[test]]
name = "macro_attrs_preserved"
path = "tests/macro_attrs_preserved.rs"
[[test]]
name = "macro_hygiene"
path = "tests/macro_hygiene.rs"
[[test]]
name = "macro_property_tests"
path = "tests/macro_property_tests.rs"
[[test]]
name = "transforms_derive"
path = "tests/transforms_derive.rs"
[dependencies.proc-macro2]
version = "1.0.106"
features = ["span-locations"]
[dependencies.quote]
version = "1.0.45"
[dependencies.syn]
version = "2.0.117"
features = [
"extra-traits",
"parsing",
"derive",
"full",
]
[dependencies.workspace-hack]
version = "0.1.0"
[dev-dependencies.proptest]
version = "1.11.0"
[dev-dependencies.thiserror]
version = "2.0.18"
default-features = false
[dev-dependencies.trybuild]
version = "1"