Commit Graph
334 Commits
Author SHA1 Message Date
Tobias BieniekandGitHub 8def6782fb Replace custom BoxCloneService struct with tower::util::BoxCloneSyncService (#3109) 2024-12-27 08:57:52 +01:00
Tobias BieniekandGitHub c4edb3b313 Remove broken rest-grpc-multiplex example (#3105) 2024-12-26 14:41:02 +01:00
LenaandGitHub 96e071c8fb Upgrade tokio-tungstenite to 0.26 (#3078) 2024-12-18 15:15:55 -05:00
dayvejonesandGitHub da63c14467 examples: Upgrade bb8-postgres deps (#3072) 2024-12-09 22:36:47 -05:00
Jonas PlatteandGitHub ec75ee3827 Add a separate trait for optional extractors (#2475) 2024-12-10 02:54:59 +00:00
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 PlatteandGitHub 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 MikihiroandGitHub 0774e59704 Remove once_cell from jwt example (#3014)
Signed-off-by: Hayashi Mikihiro <[email protected]>
2024-11-11 16:57:10 +00:00
Hayashi MikihiroandGitHub 6e0559e687 Update low-level-rustls example (#3013)
Signed-off-by: Hayashi Mikihiro <[email protected]>
2024-11-11 16:55:43 +00:00
c5a451d94b Remove unneeded macro usage (#2995)
Co-authored-by: Benjamin Sparks <[email protected]>
2024-10-17 16:47:51 +02:00
Jonas PlatteandGitHub 0ddc63f77e Move the Host extractor to axum-extra (#2956) 2024-10-14 22:45:37 +00:00
Sabrina JewsonandGitHub 64e6edac05 Add support for WebSockets over HTTP/2 (#2894) 2024-10-06 07:58:34 +00:00
David MládekandGitHub 6318b57fda chore: Upgrade matchit to 0.8 (#2645) 2024-10-03 15:46:58 +00:00
Jonas PlatteandGitHub 5db62e8452 Remove examples/listen-multiple-addrs (#2951) 2024-09-30 23:23:19 +02:00
Jonas PlatteandGitHub 3df15fd2ea Update mongodb example (#2944) 2024-09-28 23:40:52 +02:00
19101f624d Replace async_trait with AFIT / RPITIT (#2308)
Co-authored-by: Jonas Platte <[email protected]>
2024-09-28 21:27:11 +00:00
EthraandGitHub 073de8b5a4 Add low-level-native-tls examples (#2860) 2024-09-28 19:30:19 +00:00
Mobin MohananandGitHub 4d9017af7e Add MongoDB example (#2535) 2024-09-28 13:03:52 +02:00
NiaandGitHub 2542acb243 Add request id example (#2912) 2024-09-28 11:25:05 +02:00
Jonas PlatteandGitHub 85b6fd49c7 Upgrade most example dependencies (#2936) 2024-09-27 18:50:52 +02:00
Jonas PlatteandGitHub 2fb6cea732 Remove unused dependencies from examples (#2934) 2024-09-25 03:44:47 -04:00
Jonas PlatteandGitHub ef50e5c180 Upgrade private dependencies (#2935) 2024-09-24 23:50:53 +02:00
Benjamin SparksandGitHub 6efcb75d99 Fix warnings and errors from beta Rust (#2904) 2024-09-09 18:55:15 +00:00
Weipeng HongandGitHub 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 BergandGitHub 6dfd0037bf Upgrade tokio-tungstenite to 0.23 (#2841) 2024-08-09 20:41:01 +02:00
Yann SimonandGitHub c52bf9ebba Add compression example (#2623) 2024-08-09 20:29:41 +02:00
redforksandGitHub 8dc371e9a2 Update reqwest-response example (#2852) 2024-07-30 08:55:15 +02:00
Valerio AgenoandGitHub 304cbee7c9 examples: Include headers into response in reqwest example (#2812) 2024-07-26 17:36:45 +00:00
Benno van den BergandGitHub 50274725cb Resolve clippies (#2843) 2024-07-24 00:07:25 +02:00
Chris PickandGitHub 035c8a36b5 Fix a few typos in docs and comments (#2808) 2024-06-27 08:45:57 +02:00
chrisandGitHub 4452519689 Fix typo in serve-with-hyper example (#2750) 2024-05-27 12:17:07 -04:00
src_resourcesandGitHub 8d0c5c05eb Remove unnecessary parentheses in chat example (#2732) 2024-05-07 06:33:17 -04:00
Chan KangandGitHub b85bdc1be9 Fix comment spacing in websocket example 2024-04-11 07:57:11 -04:00
tisonandGitHub dbd6178393 Upgrade reqwest to 0.12 (#2688)
Signed-off-by: tison <[email protected]>
2024-03-29 08:34:56 +01:00
Shaobo LiuandGitHub 6bd6556385 Fix typo in auto-reload example. (#2680) 2024-03-26 10:22:59 +01:00
mikihiroandGitHub c6fd852844 Update sync_wrapper to 1.0.0 from 0.1.1
... and fix CI.
2024-03-23 19:46:20 +01:00
Vigith MauriceandGitHub b6b203b306 fix typo in prometheus_metrics_example (#2627)
Signed-off-by: Vigith Maurice <[email protected]>
2024-03-02 21:51:18 +01:00
drbhandGitHub d703e6f97a feat: add simple tokio redis example (#2543) 2024-02-11 12:27:12 +01:00
DeffendorandGitHub 6bc400104e add minijinja templating example (#2523) 2024-02-11 12:17:41 +01:00
Jonas PlatteandGitHub 5f7fcc5866 Fix blocking-mode tcp listener in auto-reload example (#2558) 2024-01-31 14:55:42 +00:00
RdboandGitHub 530aa5530c Fix typos in testing example (#2542) 2024-01-26 21:17:40 +00:00
Nick PriceandGitHub 934b1aac06 Grammar: Fix "it's" vs "its" in several places (#2518) 2024-01-15 21:48:11 +01:00
94901e0fe7 Update axum prometheus-metrics example (#2516)
Co-authored-by: Dudin.Roman <Roman@HPROMAN>
2024-01-15 14:25:31 +01:00
David PedersenandGitHub 358f196810 Add note about missing CSRF validation in oauth example (#2512) 2024-01-13 15:37:03 +01:00
David Pedersen 48d169016a Update example-tls-graceful-shutdown
Was just a matter of updating axum-server
2023-12-31 00:18:55 +01:00
David PedersenandGitHub 3b43b257e7 Add dependency injection example (#2466) 2023-12-30 18:11:33 +01:00
c34041510c Add an example integration test for SSE (#2465)
Signed-off-by: Hung-Han (Henry) Chen <[email protected]>
Co-authored-by: David Pedersen <[email protected]>
2023-12-30 18:04:23 +01:00
David Pedersen 5d388c8d91 Remove outdated comment 2023-12-29 17:51:14 +01:00
David PedersenandGitHub 12e8c6219d Support graceful shutdown on serve (#2398) 2023-12-29 11:17:58 +00:00