summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Expand)Author
2023-03-10Add low level OpenSSL example (#1828)Firstyear
2023-03-10Fix static-file-server example instructions (#1832)Moises-Herradon-Cueto
2023-03-03Remove remnants of spa feature (#1802)John Downey
2023-02-26Add example showing how to run axum on hyper 1.0 (#1791)David Pedersen
2023-02-25Use `JsonRejection::{status, body_text}` in customize extractor error example...David Pedersen
2023-02-25Remove `SpaRouter` (#1784)David Pedersen
2023-02-24Update to tower-http 0.4 (#1783)David Pedersen
2023-02-17Add `MockConnectInfo` (#1767)David Pedersen
2023-01-20Fix some comments in websockets example (#1702)FrankReh
2023-01-20Update to tonic 0.8 (#1700)tottoto
2023-01-14Simpify `parse-body-based-on-content-type` example (#1697)David Pedersen
2023-01-08Updated websocket example to improve clarity and to be more distinct from cha...Alex Pyattaev
2023-01-08Remove lingering async-graphql example fileDavid Pedersen
2023-01-08add more comments to chat example (#1665)Hans Meine
2022-12-16Fix typo (#1646)Lukas Kalkhoran
2022-11-30Refactor initializing tracing-subscriber in examples (#1596)tottoto
2022-11-29Fix clippy warning in example (#1597)tottoto
2022-11-24Change `Router::with_state` and `impl Service for Router<()>` (#1552)David Pedersen
2022-11-18Add example of how to test WebSockets (#1535)David Pedersen
2022-11-18Type safe state inheritance (#1532)David Pedersen
2022-11-18Fix `Handler::with_state` not working if request body was changed via layer (...David Pedersen
2022-11-08Add example of static-file-server using serve dir with handler as service (#1...Konstantin Kostiuk
2022-10-11Expand static file serving example (#1471)David Pedersen
2022-10-08Start second server on different port for metrics endpoint (#1444)Valentin Brandl
2022-10-04Use RequestPartsExt more in docs / examples (#1445)Jonas Platte
2022-10-01Fix typo in example (#1439)Horu
2022-09-25Add tokio feature & make tokio optional for WASM support (#1382)Logan Keenan
2022-09-25Allow Routers to inherit state (#1368)Jonas Platte
2022-09-24Remove `ContentLengthLimit` (#1400)Marek Kuskowski
2022-09-22Split RouterService off of Router (#1381)Jonas Platte
2022-09-19Add example showing how to return `anyhow::Error`s (#1398)David Pedersen
2022-08-25Add example for parsing body based on `Content-Type` (#1320)David Pedersen
2022-08-22Only allow last extractor to mutate the request (#1272)David Pedersen
2022-08-19Make extractor field public in exampleDavid Pedersen
2022-08-19Extend custom rejection examples (#1276)Altair Bueno
2022-08-17Always store state in an `Arc` (#1270)David Pedersen
2022-08-17Add type safe state extractor (#1155)David Pedersen
2022-08-17Add `WithRejection` (#1262)Altair Bueno
2022-08-12Improve performance in low-level-rustls example (#1254)kkocdko
2022-08-09Replace async-graphql with link to async-graphql's own examples (#1234)David Pedersen
2022-07-28Fix intra-doc links on docs.rs (#1205)Jonas Platte
2022-07-27Fix comment typos in stream-to-file example (#1200)Péter Leéh
2022-07-26Add an example for head request (#1189)Lex Cao
2022-07-23Redirect HTTP to HTTPS in `tls-rustls` example (#1166)Sugih Jamin
2022-07-20Add example for multiple listen addrs (#1179)Kartavya Vashishtha
2022-07-20test: use `ready()` and `call()` to avoid using `clone()` (#1176)azzamsa
2022-07-18Fix two comment typos (#1172)Allan
2022-06-17Remove explicit TryFrom, TryInto imports (#1099)Jonas Platte
2022-06-17Bump MSRV to 1.56 and update to the 2021 edition (#1098)David Pedersen
2022-06-15More robust asset paths in examples (#1090)David Pedersen