Commit Graph

11 Commits

Author SHA1 Message Date
Maarten Deprez d604bcc851
Support deserializing paths to sequences for multi-component (eg. tail) matches (#3432)
* Support deserializing paths to sequences for multi-component (eg. tail) matches

* Support deserializing paths to sequences: use "/{tail}*" syntax

* some fixes

* make `size_hint` work properly

* fix for tuple struct

---------

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2026-04-18 17:40:25 +00:00
nitn3lav 4f0912d1c7
PathDeserializer: use `deserialize_str` for `deserialize_any` (#2881)
* PathDeserializer: use `deserialize_str` for `deserialize_any`

* fix `deserialize_any` for `seq` and `map`

* add tests for `deserialize_any`

* parse numeric values as well

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2026-02-10 09:53:23 +00:00
Rob Ede d7d9000b19
chore: address clippy warnings 2024-08-07 04:06:18 +01:00
dependabot[bot] 8c31d137aa
build(deps): bump taiki-e/install-action from 2.26.18 to 2.27.2 (#3294)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-02-19 12:31:10 +00:00
Rob Ede 79a38e0628
apply standard formatting 2023-07-17 02:38:12 +01:00
Torin Cooper-Bennun 07a7290432
Fix typo in error string for i32 parse in router deserialization (#2876)
* fix typo in error string for i32 parse

* update actix-router changelog for #2876

* Update CHANGES.md

Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-09-19 18:44:52 +01:00
Ali MJ Al-Nasrawy 40048a5811
rework actix_router::Quoter (#2709)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-03-28 20:58:35 +00:00
Ali MJ Al-Nasrawy fd412a8223
`Quoter::requote` returns `Vec<u8>` (#2613) 2022-01-31 21:26:34 +00:00
Ali MJ Al-Nasrawy fe0bbfb3da
optimize PathDeserializer (#2570) 2022-01-05 10:48:20 +00:00
Rob Ede 86df295ee2
fully percent decode path segments when capturing (#2566) 2022-01-04 15:19:29 +00:00
Rob Ede f6e69919ed
update to router 0.5.0 beta (#2339) 2021-08-06 22:42:31 +01:00