356 Commits

Author SHA1 Message Date
tottoto
490cde6048
examples: Update to axum-server 0.7 (#3467) 2025-09-12 15:18:33 +02:00
tottoto
a0748e5a74
examples: Update to tower-http 0.6 (#3466) 2025-09-12 13:44:24 +02:00
tottoto
e4550d23b1
examples: Update to oauth2 5 (#3462) 2025-09-11 15:34:41 +02:00
Patrik Lundin
4b0590b30e
examples/prometheus-metrics: run upkeep task (#3430)
Co-authored-by: David Mládek <david.mladek.cz@gmail.com>
2025-08-14 12:42:01 +00:00
Glen De Cauwsemaecker
d66cabd5e9
Fix ci failures (#3432) 2025-08-13 10:53:53 +02:00
Yann Simon
3bd445d9ee
remove unused dep in tls examples (#3411) 2025-07-17 12:51:12 +00:00
tottoto
d7104313cb
Update tokio-tungstenite to 0.27 (#3398) 2025-07-05 16:47:42 +02:00
Paolo Barbolini
869ba86e51
Reduce dependency on futures-util (#3358) 2025-05-25 09:39:35 +02:00
Jonas Platte
d0aff24c85
Reorder some TOML sections (#3360) 2025-05-25 08:46:05 +02:00
Jonas Platte
d72a0f962a
Make clippy happy (#3350) 2025-05-13 09:58:45 +02:00
Steven Black
07f29f6c5c
Add "Run with" comment to example-low-level-openssl (#3347) 2025-05-09 08:23:08 +02:00
Yann Simon
7d1dbeb3af
Update validator to 0.20.0 (#3345) 2025-05-06 15:44:03 +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
f0ef8ae29b
Update low-level-rustls example - add http2 feature flag (#3179)
Co-authored-by: richard <richardalanjones@gmail.com>
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
84c3960639
Make serve generic over the listener and IO types (#2941)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
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
Logan B. Nielsen
7e59625778
Implement CSRF token verification for OAuth example (#2534)
Co-authored-by: Logan Nielsen <loganbn@amazon.com>
Co-authored-by: Logan Nielsen <logan.nielsen@one.app>
2024-11-17 22:27:54 +01:00
Hayashi Mikihiro
0774e59704
Remove once_cell from jwt example (#3014)
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2024-11-11 16:57:10 +00:00
Hayashi Mikihiro
6e0559e687
Update low-level-rustls example (#3013)
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2024-11-11 16:55:43 +00:00
Benjamin Sparks
c5a451d94b
Remove unneeded macro usage (#2995)
Co-authored-by: Benjamin Sparks <b.sparks@alugha.com>
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
19101f624d
Replace async_trait with AFIT / RPITIT (#2308)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
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