#tower-http #cors #tower #version

tower-http-cors-config

Deserializable config types for tower_http::cors

3 releases

0.1.2 Sep 3, 2024
0.1.1 Sep 3, 2024
0.1.0 Sep 2, 2024

#2205 in Parser implementations

MIT license

14KB
251 lines

About

The tower-http crate is a wonderful crate, however, it's cors module can be repetitive to configure dynamically as none of the types implement Deserialize. The point of this crate is to provide these deserializable config types for others so that users of the crate across the ecosystem don't need to repeatedly create their own versions of these types.

Dependencies

~4–5.5MB
~99K SLoC