#framework #web-framework #proc-macro #allframe

macro allframe-macros

Procedural macros for AllFrame framework

17 releases

0.1.17 Mar 1, 2026
0.1.16 Feb 28, 2026
0.1.12 Dec 15, 2025

#628 in #web-framework

Download history 24/week @ 2025-12-02 34/week @ 2026-02-17 93/week @ 2026-02-24 156/week @ 2026-03-03

284 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

130KB
2.5K SLoC

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

Dependencies

~0.5–1.4MB
~30K SLoC