tottoto
b07918b213
Update to tonic 0.8 ( #1700 )
2023-01-20 10:34:44 +01:00
David Pedersen
8c081c20ab
Remove accidentally committed dbg!
s
2023-01-20 10:14:49 +01:00
David Pedersen
00d20eb007
Simpify parse-body-based-on-content-type
example ( #1697 )
2023-01-14 18:39:09 +01:00
David Pedersen
1be25d9496
Add internal macro to make tests of nest
easier to write ( #1694 )
2023-01-14 14:12:01 +00:00
David Pedersen
607a20dfac
Support deserialize_any
for Path
( #1693 )
2023-01-13 12:27:38 +00:00
David Pedersen
25a46fbe79
fixup changelog
2023-01-13 11:54:30 +01:00
valkyrie_pilot
e4c6d76bca
Implement IntoResponse
for [u8; N]
and &'static [u8; N]
( #1690 )
...
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-01-13 09:12:51 +00:00
David Pedersen
e3aaeb3cb7
Release axum, axum-core, and axum-macros ( #1688 )
2023-01-09 13:54:49 +01:00
Alex Pyattaev
8d92902c8e
Updated websocket example to improve clarity and to be more distinct from chat example ( #1637 )
...
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-01-08 15:51:59 +00:00
David Pedersen
d11af167ca
Replace actions-rs/toolchain@v1
with stable alternative ( #1687 )
2023-01-08 16:41:59 +01:00
David Pedersen
3d31bcb6fb
Remove lingering async-graphql example file
...
It should have been deleted previously
2023-01-08 16:28:45 +01:00
Hans Meine
7192c590c9
add more comments to chat example ( #1665 )
2023-01-08 15:24:19 +00:00
Austaras
6638b274db
Update to base64 0.20 ( #1641 )
2023-01-08 15:21:24 +00:00
David Pedersen
be9a8c0380
Document breaking changes related to nest
( #1684 )
2023-01-07 19:06:59 +01:00
David Pedersen
1aa357c879
Misc documentation improvements ( #1647 )
...
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-01-07 14:07:54 +01:00
Paolo Barbolini
211de92d24
Enable the runtime feature of hyper when using tokio ( #1671 )
2023-01-06 12:28:31 +01:00
Alexander Jackson
b6c282a2b7
Fix warnings for cloning references in generated code ( #1676 )
2023-01-05 11:50:02 +01:00
Tobias Bieniek
2d8242b2c5
docs/middleware: Add missing Clone
derive on MyLayer
( #1649 )
2023-01-05 10:47:38 +00:00
Eray Karatay
949da2b300
axum-extra: Add serde_json as dev-dependency ( #1673 )
2023-01-03 21:14:24 +01:00
Jonas Platte
cad6611bf7
Update deny.toml bans ( #1668 )
2023-01-03 19:53:17 +01:00
Liigo Zhuang
978ae63358
Update extract.md ( #1653 )
2022-12-19 08:44:03 +01:00
Lukas Kalkhoran
71e83291e1
Fix typo ( #1646 )
2022-12-16 10:16:09 +00:00
Jonas Platte
1ff5ab5ba2
Add emoji for contact links (new issue page)
2022-12-09 11:00:00 +01:00
Jonas Platte
15b6f8cc70
Add "I have looked for existing issues" checkbox to issue templates ( #1632 )
2022-12-09 09:30:25 +00:00
Jonas Platte
b372244099
Guide people to the right places to ask questions ( #1631 )
...
* README: Link to discussions instead of issues in Getting Help section
* Link to Discussions and Discord on new issue page
2022-12-09 10:14:31 +01:00
avdb
ea6eb81d6f
Typo fixes ( #1628 )
2022-12-08 17:50:59 +00:00
Mario Kaufmann
e3d8868f99
Minor doc fixes ( #1622 )
2022-12-06 21:46:35 +00:00
David Pedersen
7e13d69639
Add status
and body_text
methods to built-in rejections ( #1612 )
...
* Add `status` and `body_text` methods to built-in rejections
This should make it easier to customize a built-in rejection while
preserving either the status or body.
Fixes https://github.com/tokio-rs/axum/issues/1611
* changelog
2022-12-02 19:54:16 +01:00
Cemre Mengu
5826ca268c
Add missing import of http
in docs example ( #1613 )
2022-12-02 14:47:04 +00:00
David Pedersen
ee3cb971f7
axum-extra v0.4.2 ( #1609 )
2022-12-02 10:55:11 +00:00
David Pedersen
7386e5d185
Bug fixes for RouterExt:{route_with_tsr, route_service_with_tsr}
( #1608 )
...
* Bug fixes for `RouterExt:{route_with_tsr, route_service_with_tsr}`
* changelog link
2022-12-02 11:42:49 +01:00
tottoto
56d0dd9ec2
Update to tokio-tungstenite-0.18.0 and use sha1 ( #1598 )
2022-12-02 11:13:57 +01:00
tottoto
6c133be5b7
Refactor initializing tracing-subscriber in examples ( #1596 )
...
* Refactor initializing tracing-subscriber
* Revert "Refactor initializing tracing-subscriber"
This reverts commit 0876260bf9
in favor of tracing_subscriber::registry.
* Use EnvFilter::try_from_default_env in chat example
* Use EnvFilter::try_from_default_env in examples
2022-11-30 10:46:19 +01:00
tottoto
2c74c538dd
Fix clippy warning in example ( #1597 )
2022-11-29 23:39:11 +00:00
Allan
b1f7ee938d
Update axum-extra feature flag table ( #1594 )
2022-11-29 22:11:36 +00:00
tottoto
dd4e141f4c
Remove outdated link alias from readme ( #1591 )
2022-11-29 11:51:44 +01:00
David Pedersen
2121979a48
axum-extra - v0.4.1 ( #1590 )
2022-11-29 10:57:25 +01:00
David Pedersen
c7985b7858
Fix wrong From
impl for Resource
( #1589 )
...
Really not sure how this got past the tests.
2022-11-29 09:35:26 +00:00
David Pedersen
87a80ec47b
axum v0.6.1 ( #1588 )
2022-11-29 08:43:18 +00:00
tottoto
3279d64f96
Update to matchit 0.7 ( #1582 )
2022-11-27 10:19:01 +01:00
LeoniePhiline
28f1996f9c
Clarify nested outer fallbacks in CHANGELOG.md ( #1581 )
2022-11-27 01:03:13 +01:00
David Pedersen
eb2e933054
Expand the docs for Router::with_state
( #1580 )
2022-11-27 01:01:59 +01:00
Ian Alexander Wood
8d62697c72
add axum-http-auth-example to ECOSYSTEM.md ( #1574 )
2022-11-26 08:47:32 +01:00
David Pedersen
b984fec572
Remove notice about breaking changes from readme
2022-11-25 22:42:35 +01:00
ttys3
834d4e50bc
docs: add axum-otel-metrics to axum ecosystem ( #1573 )
2022-11-25 17:41:59 +01:00
David Pedersen
1b6780cf6c
axum 0.6 and friends 🎉 ( #1570 )
...
* changelog
* bump versions
* reorder changelogs a bit
* Apply suggestions from code review
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
* Expand fallback inheritance
* Reword tsr
* Mention `parse-body-based-on-content-type` example
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2022-11-25 12:29:58 +00:00
David Pedersen
0b26411f39
Change Router::with_state
and impl Service for Router<()>
( #1552 )
...
* Implement `Service` for `Router<(), B>`
* wip
* wip
* fix some tests
* fix examples
* fix doc tests
* clean up docs
* changelog
* fix
* also call `with_state` when converting `MethodRouter` into a `MakeService`
* suggestions from review
2022-11-24 14:43:10 +00:00
LeoniePhiline
fde38f6618
docs: Add axum-csrf-sync-pattern
to ECOSYSTEM.md
( #1567 )
...
This crate provides a Cross-Site Request Forgery protection layer and middleware for use with the axum web framework.
The middleware implements the CSRF Synchronizer Token Pattern for AJAX backends and API endpoints as described in the OWASP CSRF prevention cheat sheet.
2022-11-24 08:59:10 +00:00
freedit-dev
102d5887fa
add showcase freedit ( #1559 )
2022-11-22 08:26:30 +00:00
jimmycuadra
6771729d27
Improve State
and Router
docs ( #1543 )
2022-11-22 09:08:39 +01:00