6 releases (3 breaking)

Uses new Rust 2024

0.4.0 Mar 6, 2026
0.3.0 Mar 3, 2026
0.2.1 Mar 3, 2026
0.2.0 Feb 24, 2026
0.1.1 Feb 24, 2026

#4 in #injectable


Used in injectium

MIT license

6KB
61 lines

Procedural macros for Injectium.

This crate provides:

  • #[derive(Injectable)] – implements the Injectable trait for your structs, automatically pulling each field from the container.

injectium-macro

Crates.io Version docs.rs

Procedural macros for Injectium dependency injection.

Documentation

See docs.rs for full API documentation.

License

MIT. Made with ❤️ by Ray

Dependencies

~105–465KB
~11K SLoC