David Mládek
0feb657818
feat: percent-decode incoming path before routing
2024-05-03 16:03:41 +02:00
David Mládek
c18cb846d7
docs, tests, and nesting for matchit
2024-05-02 22:54:34 +02:00
David Mládek
4ce0c0fabf
deps: freeze matchit dependency on 0.8.0
...
`axum` has some assumptions about the way paths are structured which may
be potentially changed in a minor release. For example, there are plans
to support [suffixes in matched
segments](https://github.com/ibraheemdev/matchit/issues/17 ) among other
features which would allow routes such as `/{file}.jpg` which `axum`
currently does not expect.
2024-05-02 22:54:34 +02:00
David Mládek
8c800adbec
tests: update expected test panic
2024-05-02 22:54:31 +02:00
David Mládek
3e73226967
tests: update all matchit usage in tests and examples
2024-05-02 22:53:24 +02:00
David Mládek
af00b77a71
fix: update automatic wildcards in nested services
2024-05-02 22:53:24 +02:00
David Mládek
6a857bb21c
fix: update path stripping with new matchit syntax
2024-05-02 22:53:24 +02:00
David Mládek
145980206c
fix: update typed path to new matchit syntax
2024-05-02 22:53:24 +02:00
David Mládek
a0fef2ad3b
chore: update matchit to 0.8
2024-05-02 22:53:24 +02:00
Martin Nordholts
c57c2847b2
route.md: Add wildcard example code ( #2569 )
...
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2024-05-02 19:13:08 +00:00
Jonas Platte
5201798d4e
Enable diagnostic attributes for Rust 1.78+ ( #2693 )
2024-04-30 11:05:38 -04:00
Afifurrohman
e3bb7083c8
ci: Bump crate-ci/typos
to v1.20.8 ( #2711 )
2024-04-16 02:56:01 -04:00
Chan Kang
b85bdc1be9
Fix comment spacing in websocket example
2024-04-11 07:57:11 -04:00
Liss Heidrich
50c035c20b
Add Serve::tcp_nodelay
( #2653 )
2024-04-01 23:26:18 +02:00
tison
dbd6178393
Upgrade reqwest to 0.12 ( #2688 )
...
Signed-off-by: tison <wander4096@gmail.com>
2024-03-29 08:34:56 +01:00
dakai-chen
ae8c43765d
Optimize deserialization of Path ( #2679 )
2024-03-27 08:51:48 +01:00
Shaobo Liu
6bd6556385
Fix typo in auto-reload example. ( #2680 )
2024-03-26 10:22:59 +01:00
David Mládek
170f877440
axum: Remove unnecessary Arc::clone
( #2675 )
2024-03-25 20:48:53 +01:00
David Pedersen
d7b852896d
Fix changelog link ( #2677 )
2024-03-25 08:00:19 +01:00
David Pedersen
ef8a9e812c
Release axum and axum-extra ( #2676 )
2024-03-24 20:17:10 +01:00
mikihiro
c6fd852844
Update sync_wrapper
to 1.0.0 from 0.1.1
...
... and fix CI.
2024-03-23 19:46:20 +01:00
David Mládek
2ec68d6c4d
Add rejection tracing to all extractors ( #2584 )
2024-03-16 22:34:18 +01:00
David Mládek
2ce382f0ab
Remove h2 from dependencies when http2 feature is off ( #2605 )
2024-03-16 15:57:08 +00:00
jasper
8b13d4cf3c
Add axum-typed-routing to ECOSYSTEM.md ( #2608 )
2024-03-14 22:12:15 +00:00
David Pedersen
19f6f7900f
Fix layers being cloned for each request ( #2586 )
2024-03-14 21:24:32 +01:00
David Mládek
3569950a2e
Make nightly_error_messages feature compatible with latest nightly
2024-03-14 21:19:03 +01:00
Vigith Maurice
b6b203b306
fix typo in prometheus_metrics_example ( #2627 )
...
Signed-off-by: Vigith Maurice <vigith@gmail.com>
2024-03-02 21:51:18 +01:00
David Mládek
b03f6c1184
Fix typo in CONTRIBUTING.md ( #2612 )
2024-02-25 21:47:01 +01:00
Jonas Platte
4d65ba0215
ci: Unbreak cargo-deny action ( #2613 )
2024-02-22 09:59:05 +01:00
drbh
d703e6f97a
feat: add simple tokio redis example ( #2543 )
2024-02-11 12:27:12 +01:00
Deffendor
6bc400104e
add minijinja templating example ( #2523 )
2024-02-11 12:17:41 +01:00
Mahdi
5b4dc2dafe
Update ECOSYSTEM.md ( #2560 )
2024-02-11 12:16:44 +01:00
David Mládek
66b3b3df55
Document usage of concrete state in FromRequest
macro ( #2550 ) ( #2581 )
2024-02-11 12:12:03 +01:00
Kirill Zaborsky
62324aad91
chore: remove outdated link ( #2497 )
2024-02-09 00:59:08 +01:00
Martin Nordholts
a3ec44a5a0
Run cargo clippy --fix to fix CI ( #2568 )
...
… and allow one lint.
2024-02-09 00:55:59 +01:00
Jonas Platte
5f7fcc5866
Fix blocking-mode tcp listener in auto-reload example ( #2558 )
2024-01-31 14:55:42 +00:00
Rdbo
530aa5530c
Fix typos in testing example ( #2542 )
2024-01-26 21:17:40 +00:00
Max Countryman
d1fb14ead1
Update ECOSYSTEM.md ( #2528 )
2024-01-19 20:36:22 +01:00
AlphaKeks
9e31949079
Improve documentation of axum_extra::extract::Query
( #2517 )
2024-01-15 21:49:40 +01:00
Nick Price
934b1aac06
Grammar: Fix "it's" vs "its" in several places ( #2518 )
2024-01-15 21:48:11 +01:00
dayvejones
94901e0fe7
Update axum prometheus-metrics example ( #2516 )
...
Co-authored-by: Dudin.Roman <Roman@HPROMAN>
2024-01-15 14:25:31 +01:00
Joseph Lenton
dd3ff101e2
docs: add Axum Test to ECOSYSTEM.md ( #2513 )
2024-01-14 11:35:29 +01:00
David Pedersen
358f196810
Add note about missing CSRF validation in oauth example ( #2512 )
2024-01-13 15:37:03 +01:00
David Pedersen
9ebd105d04
Release ( #2510 )
2024-01-13 14:31:03 +01:00
David Pedersen
45116730c6
Internally Arc
Router
, without breaking changes ( #2483 )
...
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2024-01-13 12:44:32 +00:00
David Pedersen
d3112a40d5
Re-export BodyDataStream
from axum ( #2509 )
2024-01-11 21:56:22 +01:00
Joshua Chapman
791d5038a9
Add is_missing method to typed header rejection reason ( #2503 )
2024-01-10 12:17:03 +01:00
Yann Simon
f7c4cd883a
Fix link to serde::Deserialize ( #2498 )
2024-01-09 16:25:17 +00:00
Taiki Endo
5b6204168a
Update actions/checkout action to v4 ( #2495 )
2024-01-07 09:28:54 +01:00
David Pedersen
c486cc8207
Implement TypedPath
for WithRejection<TypedPath, _>
( #2491 )
2024-01-04 21:08:20 +01:00