Commit Graph
301 Commits
Author SHA1 Message Date
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
David PedersenandGitHub c3db223532 Rework error handling example (#2382) 2023-12-29 01:49:13 +01:00
FémLol StúdióandGitHub 4f010d9b2d Updating tls-rustls example (#2457) 2023-12-29 01:07:58 +01:00
gerardclandGitHub fd3bfe4448 Fix comments on reqwest-response example for axum 0.7 (#2437) 2023-12-18 20:31:21 +01:00
Fujiwara TakumiandGitHub 2f585ac9b7 Upgrade tokio-tungstenite to 0.21 (#2435) 2023-12-18 15:13:35 +01:00
gerardclandGitHub 12676aabea Update example-reqwest-response (#2430) 2023-12-17 12:47:45 +01:00
FrancisandGitHub 1fa21bbb73 Update example http-proxy to hyper 1.0 (#2394) 2023-12-02 16:58:31 +01:00
MapeandGitHub b02ce30737 Update example reverse-proxy to axum 0.7 (#2395) 2023-12-02 11:48:10 +01:00
Erèbe - Romain GerardandGitHub 6d7ddee9ae Update example low-level-rustls to axum 0.7 (#2375) 2023-11-29 09:52:16 +01:00
Erèbe - Romain GerardandGitHub 52dec90ed2 Update example low-level-openssl to axum 0.7 (#2376) 2023-11-29 09:51:31 +01:00
Joel UckelmanandGitHub 2e963cea9d Add a use of route_service with ServeFile to the static-file-server example (#2361) 2023-11-27 15:49:54 +01:00
David Pedersen 9d0e634285 Fix comment in testing example 2023-11-27 10:58:03 +01:00
David PedersenandGitHub e63cc49f55 Update unix-domain-socket, listen-multiple-addrs, and testing examples (#2358) 2023-11-27 10:23:52 +01:00
David PedersenandGitHub 15781fe22b Prepare serve for potentially supporting graceful shutdown (#2357) 2023-11-26 12:21:35 +00:00
da82e887cd Update graceful shutdown example (#2355)
Co-authored-by: Jonas Platte <[email protected]>
2023-11-26 10:34:41 +00:00
19年梦醒andGitHub fc3cb44b91 Upgrade headers to 0.4.0 (#2351) 2023-11-25 08:47:57 +00:00
David PedersenandGitHub 20862d42f5 Add example showing how to use hyper's low level API (#2338) 2023-11-23 13:39:01 +01:00
43b14a5f02 Update to latest versions of hyper and http-body (#1882)
Co-authored-by: Michael Scofield <[email protected]>
Co-authored-by: Jonas Platte <[email protected]>
2023-11-23 11:03:03 +00:00
c8cf147657 Make sure axum-extra also supports being compiled to WASM (#2237)
Co-authored-by: Jonas Platte <[email protected]>
2023-09-21 15:14:57 +02:00
Yuri AstrakhanandGitHub 786329d85d Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
David PedersenandGitHub 9eb502c768 Use tuples instead of ServiceBuilder internally (#2229) 2023-09-17 10:56:47 +02:00
Lennart MelzerandGitHub 368c3ee08f Add IntoResponse impl to customize-extractor-error example (#2191) 2023-09-11 12:12:03 +00:00
Jonas PlatteandGitHub 3f5c907e2d Add auto-reload example (#2166) 2023-09-11 13:56:47 +02:00
PGIIIandGitHub 998ef8dc89 Add tls-graceful-shutdown example (#2208) 2023-09-11 13:55:11 +02:00
Olaf AldersandGitHub 503d31976f Use "set up" rather than "setup" when used as a verb 2023-09-08 16:13:36 +00:00
nabbisenandGitHub d244d3f936 Fix typo in examples README: plural form examples 2023-09-05 13:51:18 +00:00
Igor ShevchenkoandGitHub 8e033e7f88 Fix typos in examples/diesel-postgres/src/main.rs (#2159) 2023-08-08 08:13:13 +00:00
Igor ShevchenkoandGitHub 9dbfdbb4df Fix typo in prometheus-metrics/src/main.rs (#2160) 2023-08-08 08:11:01 +00:00
David Pedersen e8cf5f4f0e Mention tokio-stream in SSE example 2023-08-06 20:45:35 +02:00
David PedersenandGitHub 5b89f1dfaa Add example showing how to proxy reqwest::Response (#2138) 2023-08-02 08:15:47 +00:00
a6a849bb5b Update tokio-tungstenite 0.20 (#2116)
Co-authored-by: Jonas Platte <[email protected]>
2023-08-02 09:38:56 +02:00
Adrian Jerome WrightandGitHub e5b0852bdb Update main.rs - Correct method in comments (#2132) 2023-07-30 07:48:07 +00:00
tuhanaandGitHub 64c566cd1c Fix typo on customize-extractor-error example (#2124) 2023-07-27 14:03:10 +00:00
David PedersenandGitHub f9ea40bb44 Don't depend on axum-macros in examples (#2122) 2023-07-26 20:21:39 +02:00