#async #derive #macros #reactive #dependent #injection

macro async-injector-derive

A derive to help construct dependent values in async-injector

19 releases (12 breaking)

0.17.0 Jan 24, 2021
0.15.3 Jan 24, 2021
0.11.1 Oct 27, 2020
0.10.0 Jul 9, 2020
0.1.0 Jul 30, 2019

#478 in Procedural macros

Download history 25/week @ 2020-10-30 12/week @ 2020-11-06 28/week @ 2020-11-13 12/week @ 2020-11-20 23/week @ 2020-11-27 20/week @ 2020-12-04 9/week @ 2020-12-11 4/week @ 2020-12-18 45/week @ 2021-01-01 16/week @ 2021-01-08 57/week @ 2021-01-15 191/week @ 2021-01-22 22/week @ 2021-01-29 17/week @ 2021-02-05 98/week @ 2021-02-12

134 downloads per month
Used in 2 crates (via async-injector)

MIT/Apache

18KB
246 lines

async-injector-derive

Macros for async-injector.


lib.rs:

Macros for async-injector.

This provides the [Provider] derive, which can be used to automatically construct and inject dependencies. See its documentation for how to use.

Dependencies

~0.6–1MB
~26K SLoC