axum/axum-macros/tests
David Pedersen 9c0a89cd09
Add #[derive(FromRef)] (#1430)
* add `#[derive(FromRef)]`

* tests

* don't support skipping fields

probably wouldn't work at all since the whole state likely needs `Clone`

* UI tests

* changelog

* changelog link

* revert hello-world example, used for testing

* Re-export `#[derive(FromRef)]`

* Don't need to return `Result`

* use `collect` instead of quoting the iterator

* Mention it in axum's changelog
2022-10-10 18:40:14 +00:00
..
debug_handler Remove ContentLengthLimit (#1400) 2022-09-24 11:29:53 +00:00
from_ref/pass Add #[derive(FromRef)] (#1430) 2022-10-10 18:40:14 +00:00
from_request Don't internally Arc the state (#1460) 2022-10-09 20:55:28 +00:00
typed_path Update expected stderr of trybuild test (#1402) 2022-09-22 18:36:31 +02:00