AaronErhardt / actix-governor

A middleware for actix-web that provides rate-limiting backed by governor.
GNU General Public License v3.0
103 stars 21 forks source link

Add optional rate limit headers #20

Closed AaronErhardt closed 2 years ago

AaronErhardt commented 2 years ago

@TheAwiteb this is how it could be implemented with generics and custom future types. It'd be awesome if you could test this branch, add documentation and a few tests.

Alternative implementation of #18

TheAwiteb commented 2 years ago

Wow, this is really nice, I will add new documents and tests

TheAwiteb commented 2 years ago

You can merge #21 after review, to keep working here