Dmitry Marakasov and David Mládek
db96597f47
Bump matchit to 0.9.2 ( #3702 )
...
The new version now supports prefix and suffix captures such as `/{file}.png`, `/avatar.{extension}`, and `/user-{id}.png`.
Co-authored-by: David Mládek <[email protected] >
2026-05-05 14:19:09 +02:00
tottoto
9fc59efc1f
Update to tokio-tungstenite 0.29 ( #3689 )
2026-04-03 08:49:48 +02:00
Yann Simon
7e7a1c96f0
Address tower-http deprecated warning
2026-04-03 08:49:48 +02:00
Jonas Platte
aba8046921
Deprecate Host and Scheme extractors
2025-12-26 14:48:47 +01:00
tottoto
929512f462
axum-extra: Make axum optional dependency ( #3485 )
2025-10-29 16:58:10 +01:00
tottoto
ae80850223
Update to cargo-deny api version 2 ( #3475 )
2025-09-28 19:41:46 +02:00
tottoto
cb8670a94b
Update to tokio-tungstenite 0.28 ( #3497 )
2025-09-28 19:31:58 +02:00
Glen De Cauwsemaecker
d88b39897b
Fix ci failures ( #3432 )
2025-09-28 19:22:35 +02:00
tottoto
3a18eb6108
Update tokio-tungstenite to 0.27 ( #3398 )
2025-09-28 19:19:33 +02:00
Jonas Platte
01ecea0e33
Make clippy happy ( #3350 )
2025-09-28 19:15:42 +02:00
Jonas Platte
5429ed9bd5
Fix new clippy lints ( #3304 )
2025-04-03 23:22:19 +02:00
Gábor Szabó
15917c6dbc
[test] the versioning example ( #3275 )
2025-03-18 10:54:02 +01:00
Gábor Szabó
ac7732abd3
[test] the anyhow-error-response example ( #3274 )
2025-03-18 10:53:00 +01:00
Gábor Szabó
6fa7cce19d
[test] the validator example ( #3276 )
2025-03-18 10:51:30 +01:00
Gábor Szabó
f479e0d617
[test] the form example ( #3267 )
2025-03-17 13:31:17 +01:00
Gábor Szabó
517223f254
[test] the templates example ( #3269 )
2025-03-17 13:29:27 +01:00
co63oc
f9ba7776d9
Fix
2025-02-28 07:48:26 +01:00
richard and richard
f0ef8ae29b
Update low-level-rustls example - add http2 feature flag ( #3179 )
...
Co-authored-by: richard <[email protected] >
2025-01-16 21:54:44 +01:00
Jonas Platte
f84105ae8b
Dependency cleanup ( #3145 )
2025-01-05 09:34:14 +01:00
jamesqh
3497e5df9c
Update TLS examples to use better HTTP->HTTPS redirect ( #2792 )
2024-12-27 15:35:59 +01:00
Tobias Bieniek
8def6782fb
Replace custom BoxCloneService struct with tower::util::BoxCloneSyncService ( #3109 )
2024-12-27 08:57:52 +01:00
Tobias Bieniek
c4edb3b313
Remove broken rest-grpc-multiplex example ( #3105 )
2024-12-26 14:41:02 +01:00
Lena
96e071c8fb
Upgrade tokio-tungstenite to 0.26 ( #3078 )
2024-12-18 15:15:55 -05:00
dayvejones
da63c14467
examples: Upgrade bb8-postgres deps ( #3072 )
2024-12-09 22:36:47 -05:00
Jonas Platte
ec75ee3827
Add a separate trait for optional extractors ( #2475 )
2024-12-10 02:54:59 +00:00
Jonas Platte and David Pedersen
84c3960639
Make serve generic over the listener and IO types ( #2941 )
...
Co-authored-by: David Pedersen <[email protected] >
2024-11-30 23:47:13 +01:00
Jonas Platte
f1c79a459b
Simplify todos_index in todos example ( #3048 )
2024-11-26 18:56:29 +01:00
7e59625778
Implement CSRF token verification for OAuth example ( #2534 )
...
Co-authored-by: Logan Nielsen <[email protected] >
Co-authored-by: Logan Nielsen <[email protected] >
2024-11-17 22:27:54 +01:00
Hayashi Mikihiro
0774e59704
Remove once_cell from jwt example ( #3014 )
...
Signed-off-by: Hayashi Mikihiro <[email protected] >
2024-11-11 16:57:10 +00:00
Hayashi Mikihiro
6e0559e687
Update low-level-rustls example ( #3013 )
...
Signed-off-by: Hayashi Mikihiro <[email protected] >
2024-11-11 16:55:43 +00:00
Benjamin Sparks and Benjamin Sparks
c5a451d94b
Remove unneeded macro usage ( #2995 )
...
Co-authored-by: Benjamin Sparks <[email protected] >
2024-10-17 16:47:51 +02:00
Jonas Platte
0ddc63f77e
Move the Host extractor to axum-extra ( #2956 )
2024-10-14 22:45:37 +00:00
Sabrina Jewson
64e6edac05
Add support for WebSockets over HTTP/2 ( #2894 )
2024-10-06 07:58:34 +00:00
David Mládek
6318b57fda
chore: Upgrade matchit to 0.8 ( #2645 )
2024-10-03 15:46:58 +00:00
Jonas Platte
5db62e8452
Remove examples/listen-multiple-addrs ( #2951 )
2024-09-30 23:23:19 +02:00
Jonas Platte
3df15fd2ea
Update mongodb example ( #2944 )
2024-09-28 23:40:52 +02:00
Zheng Li and Jonas Platte
19101f624d
Replace async_trait with AFIT / RPITIT ( #2308 )
...
Co-authored-by: Jonas Platte <[email protected] >
2024-09-28 21:27:11 +00:00
Ethra
073de8b5a4
Add low-level-native-tls examples ( #2860 )
2024-09-28 19:30:19 +00:00
Mobin Mohanan
4d9017af7e
Add MongoDB example ( #2535 )
2024-09-28 13:03:52 +02:00
Nia
2542acb243
Add request id example ( #2912 )
2024-09-28 11:25:05 +02:00
Jonas Platte
85b6fd49c7
Upgrade most example dependencies ( #2936 )
2024-09-27 18:50:52 +02:00
Jonas Platte
2fb6cea732
Remove unused dependencies from examples ( #2934 )
2024-09-25 03:44:47 -04:00
Jonas Platte
ef50e5c180
Upgrade private dependencies ( #2935 )
2024-09-24 23:50:53 +02:00
Benjamin Sparks
6efcb75d99
Fix warnings and errors from beta Rust ( #2904 )
2024-09-09 18:55:15 +00:00
Weipeng Hong
ef1448a3f5
Use env!("CARGO_CRATE_NAME") in the example to simplify the tracing setup code ( #2884 )
2024-08-24 08:36:08 +02:00
Benno van den Berg
6dfd0037bf
Upgrade tokio-tungstenite to 0.23 ( #2841 )
2024-08-09 20:41:01 +02:00
Yann Simon
c52bf9ebba
Add compression example ( #2623 )
2024-08-09 20:29:41 +02:00
redforks
8dc371e9a2
Update reqwest-response example ( #2852 )
2024-07-30 08:55:15 +02:00
Valerio Ageno
304cbee7c9
examples: Include headers into response in reqwest example ( #2812 )
2024-07-26 17:36:45 +00:00
Benno van den Berg
50274725cb
Resolve clippies ( #2843 )
2024-07-24 00:07:25 +02:00