allframe-macros 0.1.3

Procedural macros for AllFrame framework
Documentation

allframe-macros

Procedural macros for the AllFrame framework

Crates.io Documentation License

This crate provides procedural macros used by allframe-core.

Installation

You typically don't need to add this crate directly. It's automatically included when you use features that require macros in allframe-core:

[dependencies]
allframe-core = { version = "0.1", features = ["di", "cqrs", "otel"] }

Macros Provided

#[di_container]

Compile-time dependency injection container.

#[api]

API handler generation and routing.

#[command], #[event], #[query]

CQRS command, event, and query markers.

#[instrument]

OpenTelemetry instrumentation.

Usage

These macros are used through allframe-core. See the allframe-core documentation for usage examples.

License

Licensed under either of:

at your option.

Resources