https://docs.rs/http_router/0.1.0/http_router/index.html
This package populates the macros, which are also thread-safe. So, releasing and acquiring RwLock should not be a bottleneck anymore.
Can try this.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too