github.com/tokio-rs/axum
Ergonomic and modular web framework built with Tokio, Tower, and Hyper
https://github.com/tokio-rs/axum
e53c85c496625095b3a005a49f72aa47abd1b84c authored over 2 years ago
* New release candidates
* Update axum/Cargo.toml
Co-authored-by: Jonas Platte <jplatte+gi...
e39d053d2f7ab22c8ef8ca49229eaa37b7b88aa4 authored over 2 years ago9c804d506e22daaf5d629b4bcc38e69cc6f6da40 authored over 2 years ago
* Don't allow extracting `MatchedPath` for nested paths
* misc clean up
* Update docs
*...
0e3f9d09385bf22331361ee50352f95abeb07dea authored over 2 years ago* Change `FailedToDeserializeQueryString` rejection for `Form`
Its now called `FailedToDeseri...
e0ef641e5fc12048b1632cf2feebddac19a2f8ad authored over 2 years ago* add example of static-file-seriver using serve dit with handler as service
* update handle ...
8d6313afa07ea93836890af2c877bac346d2e1b3 authored over 2 years ago21475f94fffc1ae0716f4fd1caad51cea740dbc7 authored over 2 years ago
36f24990c83707dfa72a5f55c665b553a4eaba2d authored over 2 years ago
944f388ae0f54607902f8cd9b8279ec53c46862c authored over 2 years ago
a27bd2c6a24811e47ff466111eb6504e9c4b635f authored over 2 years ago
2aadf4bfd07bd5e234279716a525a45ba17db8b3 authored almost 3 years ago
* Add example for `Router::inherit_state`
* clarification
* Update axum/src/routing/mod.rs...
b59c7a8c849c5753fe357d90ac78831327984c52 authored almost 3 years ago* Generalize `AppendHeaders` to accept any `impl IntoIterator`
* changelog
958d360ac4c93df6bae4c23704d5b4418fe1d448 authored almost 3 years ago4979b4c9b6666c6271ffe971f7ea955421a422ef authored almost 3 years ago
* Add RawForm extractor
* Change RawForm(String) to RawForm(Option<String>)
* Fix tests
...
bc8a507f583ef999bababa7f477459661b813e0d authored almost 3 years agobeb5ebbe8abb5f7e9afec08ed86e878d6272375e authored almost 3 years ago
7caa4a3a47a31c211d301f3afbc518ea2c07b4de authored almost 3 years ago
b378fb283f37640ca05f790de7279b363ecefe88 authored almost 3 years ago
199a7a66b842982a3fcda129666ae5ef86907c39 authored almost 3 years ago
* add `#[derive(FromRef)]`
* tests
* don't support skipping fields
probably wouldn't wo...
9c0a89cd09f682b519eff1d90fba0c210c184099 authored almost 3 years ago1681ecf4387ae7d09766be473650da25e42024bb authored almost 3 years ago
Fixes #1467
We didn't actually use the bounds. I guess they were left over from a
previous v...
* Document differences between `DefaultBodyLimit` and `RequestBodyLimit`
* fix grammar
* f...
70833b9f4f8c528a88e7d97fe5193a37f4bf51e3 authored almost 3 years agoNot sure what else there is to say :P
Fixes https://github.com/tokio-rs/axum/issues/1401
7420721f4d8736394c2d630cb06a9f690f32b036 authored almost 3 years ago* Document when extractors run
* Document returning `impl IntoResponse`
b607ad5823057b5128a2c05cd02692705b4e771a authored almost 3 years agof9dc96fdcef1c7dbd668d0731a76ea3f7079984d authored almost 3 years ago
a2ab338e6806f3df80bbb7cf0a1325c69bbbf546 authored almost 3 years ago
* Add a dedicated error message for state type inference issues
* Generate valid code even if...
7cbacd1433dcffb52c0d8bb497019a450173974a authored almost 3 years ago* Start second server on different port for metrics endpoint
* Don't track metrics on metrics...
ee0b71a4accfc42929fdfaf1664c0fb96b62b24a authored almost 3 years ago* Use RequestPartsExt more in docs / examples
* Remove unused import
a7d89541786167e990d095a03ac7bdba68d7a55a authored almost 3 years agoa57bd9a118b349e41ae33d05b9ecebc8e01f01a6 authored almost 3 years ago
a3c58a18ed7181a524987c8f77ecef525187bca0 authored almost 3 years ago
* Move RequestExt and RequestPartsExt into axum-core
* Add RequestExt::into_limited_body
…...
b94248191e66418de7a4dab34a9e0636eb83845e authored almost 3 years ago* Reexport key-expansion
* Description
Co-authored-by: Marek Barvíř <[email protected]>
be54583d98499b81bd59cf24117a299aa3a86d8c authored almost 3 years ago* Remove FromRequest impl for Cached<T>
* Add a test for Cached<T> as the last argument of a ...
410fd49aa969cab3ee79f140d5924b318e5b8df1 authored almost 3 years agoaxum::middleware::from_fn_with_state now allows middleware to access application state.
2c833ad27656e59cf7e94e8384cd05df3bd37b9d authored almost 3 years ago* Add From impls for extract::ws::Message
These come from tungstenite but were not exposed by...
fef95bf37a138cdf94985e17f27fd36481525171 authored almost 3 years ago5a11ae896074cb23d6dc5b53aeffa21b2b3a9dce authored almost 3 years ago
9196c09fe829753705290a4d21108e33e4a2a374 authored almost 3 years ago
* add server feature and make tokio and hyper/server and tcp optional
* address review commen...
31638a2b2227b6c7f2d48c928948f07654b8a956 authored almost 3 years agoThey were identical to the methods without the prefix.
83ba8c3876d362e57aca09d16dff4317cf97e431 authored almost 3 years ago* Add `map_response` and friends
* changelog
04ef2f1bc010dd56553a8d031d741098db707190 authored almost 3 years ago0e4a894c1656bb490232ea93713f065ba8d28107 authored almost 3 years ago
bf341fd034f742aeb04316115cdae5360c84da30 authored almost 3 years ago
8dd9c8d286b61b6b698de7b041a39c1195de122c authored almost 3 years ago
* Rename Fallback::Custom to Fallback::Service
* Allow Routers to inherit state
* Rename R...
4847d681b1fd925f1c83c528a6ecab6e22d201f4 authored almost 3 years ago* Add `map_request` and friends
* finish it
* changelog ref
* Apply suggestions from co...
2077d500218ebfdc9395f12a71d0d97af4656c2e authored almost 3 years ago* feat: remove ContentLengthLimit
* feat: remove ContentLengthLimit rejections
* fix: update m...
896ffc5fbaf708e0e989a450ffd32b974f41dd44 authored almost 3 years ago* Support `State` with `#[derive(FromRequest[Parts])]`
Fixes https://github.com/tokio-rs/axum...
c3f3db79ecadb5c843890ddcf627f53799a96aed authored almost 3 years agoe3a17c1249e8c34c45c46fdf1be8f07c7d2c2e09 authored almost 3 years ago
4c846488c23c28462faab8e72f1144a2acdb6241 authored almost 3 years ago
69d64cecc3707d4c7897e7f8abb2111f305c5419 authored almost 3 years ago
18e3fac5d3382cd5fc30a51e00a2dd62accd76e4 authored almost 3 years ago
Fixes https://github.com/tokio-rs/axum/issues/1373
611c50ec8be6262888510ae6fece7f324e02f0d8 authored almost 3 years ago112f5354ab82490c3321a04a5a518abaeb704cb3 authored almost 3 years ago
de9909d955c7df7fa97ced64dce21e36a0599151 authored almost 3 years ago
7105805ba257072c3db03dd9c151739515fb76ed authored almost 3 years ago
… and route_service_with_tsr.
4ade706ab01f1172710810ea64f803668b31fa78 authored almost 3 years agoc93d7c324e852cc447c16bc4caf8428af42968f7 authored almost 3 years ago
21876fcc64a163a8e8f99ac6278738c1733a4e16 authored almost 3 years ago
* Support streaming/chunked requests in `ContentLengthLimit`
* changelog
c81549d95b0babb5f1090830f14955653cf9d2e6 authored almost 3 years agoCo-authored-by: David Pedersen <[email protected]>
015de21a526cf14d7f2b074e79f0dbfeef5edcd0 authored almost 3 years ago* Use `400 Bad Request` for `FailedToDeserializeQueryString` rejections
Fixes https://github....
8e52c5246fbd2804294516b466a8fa60bbcf8aeb authored almost 3 years ago84f58ae9a5f1893ceeb2b9f485f052fde29b0b44 authored almost 3 years ago
c09ecefcabb5e30e732439082d87fa397df20179 authored almost 3 years ago
c8dbe5a7e9ff441a3ff0ffb29ffede41307c5b6d authored almost 3 years ago
Previously, it was difficult to find out the path in the deep JSON tree at
which a deserializat...
2abda4de88709254169ef51d2284b61752e6b8b4 authored almost 3 years ago
* Refactor proc-macro attribute parsing
* Remove `#[allow(warnings)]` which was accidentally ...
8da69a98fcd69653aaad8669e8ce4acb2d3b2dfc authored almost 3 years ago* rc.2
* don't bump version of axum-macros
* fix
* Update axum/Cargo.toml
Co-authore...
54d8439e35f05c346c7f30b9c974b18fa9becb68 authored almost 3 years ago* Apply default limit to request body size
* Support disabling the default limit
* docs
...
759e9887473b2c6fee3cb5650b286a0a72215150 authored almost 3 years agoc6be9776121e48f9ddbd27333c9056e4437d0819 authored almost 3 years ago
6fc31e18888c93edc1ef6d4b69d0a402c8ab8cd4 authored almost 3 years ago
da4ea4d4c2fd0b95717e08f1b4caecef6e4aab09 authored almost 3 years ago
b5d4bf236e5d00e253e6b04750b036dce77eb9e5 authored almost 3 years ago
4c9edb4cd4c9d18841bdaf68b67083d1f197dc90 authored almost 3 years ago
3f92f7d254048f6cc5b8377ec2d1c0c6c42e0789 authored almost 3 years ago
805463c2efc3324638137c8e85d94be7e0f51031 authored almost 3 years ago
* [doc] Added notes about extractor precedence
Both JSON and Form extractors consume the Body...
b2ed55bd1f90fe1deac815ba4fffc772b79f9f3e authored almost 3 years agof8683f37f8549ac6d74357a3e99ca82847143c0f authored almost 3 years ago
eb6451c4fe2862e666f308e5aa6d1fb5a4ff82ee authored almost 3 years ago
eaabdb39732bf1e82372fc058aa945ceff78eea2 authored almost 3 years ago
* Add example for parsing body based on `Content-Type`
* format
* Update examples/parse-bo...
6d7c27770012f9a2a96ce7d7e2b340b315194cca authored almost 3 years ago92f6b68390120cdf973f11d98bc64ff45f2ca644 authored almost 3 years ago
426b9f91e8c465d8128c2d163d978dd205dcb8fb authored almost 3 years ago
* Explicitely point out example dependency
Save the next visitor to that docs page the troubl...
d0b4c9032e11cc9712223bd2ac3e770544cad744 authored almost 3 years ago169e2f7c24cbca826b929f774e50dab2cca13a62 authored almost 3 years ago
* Bump version of all crates
* use the right versions inside the workspace
b315b60bca6416d6bf13656e44ea0f49ac0bd6f7 authored almost 3 years ago* Add missing leading double colon
* Separate handling of last element in FromRequest derive
...
db08419a3b4e666d87b23965988411b3cb0f69b7 authored almost 3 years ago
0e04260a27dc6c3930977a803d55a41254919cdb authored almost 3 years ago
* Add `ServiceExt`
* changelog
fa51cf52664d2e33fe37ca4252879bb1c73e87e9 authored almost 3 years ago* Add `RequestExt` and `RequestPartsExt`
* don't double box futures
* changelog pr link
ab36e65449ba111cc5944688773eaaed2725736c authored almost 3 years ago* Document limitation with implementing both `FromRequest` and `FromRequestParts`
* Add menti...
e3ebb62c3fb098dcd4664863b2096322dd7e7bf1 authored almost 3 years ago* Support running a single UI test
* Generate correct `FromRequestParts` bound
* don't dep...
bb05dea6729827da7b8def39e2d6c465811214e1 authored almost 3 years ago* Only allow last extractor to mutate the request
* Change `FromRequest` and add `FromRequest...
be624306f44df2b94d861f33e75804b5c217fb29 authored almost 3 years agof1769e513475189251710b0021e72ac0514abf3c authored almost 3 years ago
79f6aabd0213dca40ebb95206adea2e503534c5c authored almost 3 years ago
* examples: Created new `error-handling` example
* examples(error-handling): Add error codes ...
789f51ba1a2c163b9b7e327d2921f6d7f5181868 authored almost 3 years ago18dd830b84235ebe21b8cd29ace973271cfb45e9 authored almost 3 years ago