Closed kerkmann closed 4 months ago
This is blocked on the MSRV, which would need to be at least 1.61 to support generic trait bounds on const functions.
Parking for now.
This has been released as part of tower@v0.5.0
, tower-layer@v0.3.3
, and tower-service@v0.3.3
.
Thanks again for your contribution!
The main reason was to allow to initialize the RateLimitLayer in a const context. So why not making ever new function const (wherever it's possible). :P