Commit Graph
372 Commits
Author SHA1 Message Date
David Mládek b9e35ec780 Split examples & check minimum versions (#3370)
Currently, both cargo deny and our MSRV checks use Cargo.lock file which has unified features and versions across both the axum crates and all the examples. This can hide some issues as usually when someone adds an example, they might use cargo add which will silently update the dependency for the whole repository. Some compilation errors (like axum requiring [email protected] while it uses features from [email protected]) will then be hidden.

I don't think most users would ever need to use the minimal versions anyway so this is not as severe, but someone might run into compilation errors.
2025-12-02 22:24:37 +01:00
Yann Simon 8954d7922a Update and fix mongo example (#3549) 2025-11-04 11:57:40 +01:00
Paul Mattern 37a08a17d4 Fix misplaced comment in error handling example (#3529) 2025-10-11 22:16:47 +02:00
Paul Mattern 8389ab10b0 examples: refactor error logging in error-handling example (#3527) 2025-10-11 17:41:12 +02:00
tottoto 4160bbe6de examples: Update to thiserror 2 (#3522) 2025-10-08 23:19:41 +09:00
tottoto f9c0e7069a examples: Update to jsonwebtoken 10 (#3520) 2025-10-07 13:19:27 -04:00
tottoto 29be91240d examples: Use diesel HasQuery trait (#3519) 2025-10-07 00:13:36 +09:00
tottoto a847c60937 examples: Update to diesel-async 0.7 (#3518) 2025-10-06 23:58:01 +09:00
tottoto bf9b43cabe Update to tokio-tungstenite 0.28 (#3497) 2025-09-25 22:09:35 +09:00
tottoto d184798937 axum-extra: Make axum optional dependency (#3485) 2025-09-20 22:50:56 +02:00
tottoto d5e505619f Update to cargo-deny api version 2 (#3475) 2025-09-13 14:48:25 +02:00
tottoto e8ab6029d1 examples: Update to askama 0.14 (#3474) 2025-09-13 13:19:19 +02:00
tottoto 8d0497f793 examples: Update to brotli 8 (#3473) 2025-09-13 10:29:21 +02:00
tottoto 1b844c9fc6 examples: Update to metrics 0.24 (#3472) 2025-09-13 10:06:19 +02:00
tottoto 83d19e7b4f examples: Update to redis 0.32 (#3471) 2025-09-13 09:06:00 +02:00
tottoto 038f0966a8 examples: Update to diesel-async 0.6 (#3470) 2025-09-12 17:03:33 +02:00
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 LundinandDavid Mládek 4b0590b30e examples/prometheus-metrics: run upkeep task (#3430)
Co-authored-by: David Mládek <[email protected]>
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
richardandrichard 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 PlatteandDavid 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 SparksandBenjamin 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