Thanks to visit codestin.com
Credit goes to lib.rs

2 releases

Uses new Rust 2024

new 0.1.1 Jan 15, 2026
0.1.0 Jan 14, 2026

#2515 in Rust patterns

MIT/Apache

46KB
955 lines

Noema Dependency Injection and Mediator Pattern Library for Rust

  • static registries
  • compile-time resolution
  • Arc + LazyLock for thread-safe singletons
  • macros for easy registration
  • extensible via traits

Features

  • Event Dispatching
  • Input/Output Mediation
  • Configuration Management
  • Keyed Service Registries
  • Item Collections (For Extensible Enumerations or Flags)
  • Dependency Injection

Dependencies

~0.7–1.4MB
~28K SLoC