medi-rs 2.3.0

A lightweight async mediator library for Rust with dependency injection and derive macros
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: duplicate command registration for `CreateUser`
  --> tests/ui/duplicate_command.rs:17:20
   |
17 |           commands { CreateUser => create_user_again; }
   |                      ^^^^^^^^^^
...
24 | / mediator! {
25 | |     pub struct AppMediator {
26 | |         event_queue_capacity: 16;
27 | |         event_workers: 1;
...  |
30 | | }
   | |_- in this macro invocation
   |
   = note: this error originates in the macro `second_manifest` which comes from the expansion of the macro `mediator` (in Nightly builds, run with -Z macro-backtrace for more info)