Quentin Gliech
17e28f56c1
Upgrade Rust to 1.72.0
...
Fixes new clippy errors and upgrade other tools
2023-08-28 18:05:56 +02:00
Jonas Platte
cf6d5a076a
Use new tuple Layer impls instead of ServiceBuilder ( #475 )
...
Co-authored-by: Quentin Gliech <quenting@element.io >
2022-10-17 16:48:12 +02:00
Kévin Commaille
348044afdc
Make HTTP request layers convert to Bytes
...
Add layer to convert a request's Bytes to a Body.
2022-08-23 12:25:38 +02:00
Quentin Gliech
9fe541f7b6
Add a layer to catch HTTP error codes
2022-08-19 10:51:24 +02:00
Quentin Gliech
d94442f972
Layer to application/x-www-form-urlencoded bodies
2022-08-19 10:51:24 +02:00
Quentin Gliech
398379e21b
Better Tower layers
2022-08-19 10:51:24 +02:00
Quentin Gliech
bc24e30867
Add CORS headers to API-like routes
2022-04-07 16:25:42 +02:00
Quentin Gliech
035e2d7829
Implement private_key_jwks client authentication
...
This involves a lot of things, including:
- better VerifyingKeystore trait
- better errors in the JOSE crate
- getting rid of async_trait in some JOSE traits
2022-02-17 15:42:44 +01:00
Quentin Gliech
c5858e6ed5
Many improvements to the mas-http crate
...
- make `mas_http::client` implement Service directly instead of being
an async function
- a Get layer that makes a Service<Uri>
- better error sources in the JSON layer
- make the client have a proper error type
2022-02-15 08:28:25 +01:00
Quentin Gliech
497a3e006e
Implement a JSON tower layer
...
This will help requesting JSON APIs
2022-02-11 14:15:31 +01:00