1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-30 18:44:35 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
Rob Ede
c1a6388614
refactor: address clippy warnings 2024-05-06 06:03:44 +01:00
LoveSy
c10f05a867
Add unicode feature to switch between regex and regex-lite crates as a trade-off between full unicode support and binary size (#3291)
* - Add `unicode` feature to switch between `regex` and `regex-lite`

as a trade-off between full unicode support and binary size.

* Update CHANGES.md

* Update CHANGES.md

* refactor: move regexset code selection to own module

* docs: add docs within RegexSet module

* chore: restore manifests

* test: ensure all actix-router codepaths are tested

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-03-03 15:50:16 +00: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
fdef224a06
docs: document internal Path fields 2023-12-23 18:49:17 +00:00
Rob Ede
5e5e5d8315
chore: remove allow(uninlined_format_args) 2023-12-16 10:33:00 +00:00
Rob Ede
c7a0af31d3
docs: doc and metadata tweaks 2023-12-16 10:33:00 +00:00
Rob Ede
905c30af86
Actix Web Rustls v0.21 support (#3116) 2023-08-29 01:11:11 +01:00
Rob Ede
b4fcdffdc3
chore: update msrv to 1.68 (#3094) 2023-08-01 19:33:32 +01:00
Rob Ede
3eb5a059ad
chore: address clippy warnings 2023-07-20 11:42:20 +01:00
Rob Ede
d22c9f9fb1
update syn to 2 in web codegen (#3081) 2023-07-20 10:49:01 +01:00
Rob Ede
79a38e0628
apply standard formatting 2023-07-17 02:38:12 +01:00
Rob Ede
241da6e081
update MSRV to 1.65 (#3059) 2023-07-02 01:09:15 +01:00
Rob Ede
67efa4a4db
migrate to doc_auto_cfg 2023-02-26 21:55:25 +00:00
Rob Ede
6f0a6bd1bb
address clippy lints
For intrepid commit message readers:
The choice to add allows for the inlined format args lint instead of actually
inlining them is not very clear because our actual real world MSRV is not clear.
We currently claim 1.60 is our MSRV but this is mainly due to dependencies. I'm
fairly sure that we could support < 1.58 if those deps are outdated in a users
lockfile. We'll remove these allows again at some point soon.
2023-01-01 20:56:34 +00:00
Rob Ede
cc7145d41d
rust 1.64 clippy run (#2891) 2022-09-25 20:54:17 +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
Rob Ede
6408291ab0
appease clippy by deriving Eq on a bunch of items (#2818) 2022-07-23 16:26:48 +01:00
Rob Ede
8d260e599f
clippy 2022-07-23 02:48:28 +01:00
Rob Ede
b62f1b4ef7
migrate deprecated method in docs 2022-07-01 12:40:00 +01:00
Rob Ede
2253eae2bb
update msrv to 1.56 (#2777)
* update msrv to 1.56

* remove transitive dashmap dependency

closes #2747
2022-06-11 04:03:26 +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
Rob Ede
fe5279c77a
use tracing in actix-router 2022-03-10 03:14:14 +00:00
Rob Ede
3d621677a5
clippy 2022-02-08 08:00:47 +00:00
Ali MJ Al-Nasrawy
9fde5b30db
tweak and document router (#2612)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-01-31 22:12:48 +00:00
Ali MJ Al-Nasrawy
fd412a8223
Quoter::requote returns Vec<u8> (#2613) 2022-01-31 21:26:34 +00:00
Rob Ede
1cc3e7b24c
deprecate Path::path (#2590) 2022-01-19 20:26:33 +00:00
Rob Ede
3dd98c308c
document Path::unprocessed panic 2022-01-19 18:33:23 +00:00
Ali MJ Al-Nasrawy
fe0bbfb3da
optimize PathDeserializer (#2570) 2022-01-05 10:48:20 +00:00
Ali MJ Al-Nasrawy
49cfabeaf5
simplify Resource trait (#2568)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-01-05 04:34:13 +00:00
Rob Ede
86df295ee2
fully percent decode path segments when capturing (#2566) 2022-01-04 15:19:29 +00:00
Rob Ede
85c9b1a263
move quoter 2022-01-04 12:58:40 +00:00
Rob Ede
93754f307f
try path config from Data as well 2022-01-04 04:08:46 +00:00
Rob Ede
c7639bc3be
document quoter 2022-01-04 03:48:12 +00:00
Rob Ede
adf9935841
improve scope documentation
closes #2389
2021-12-25 03:44:09 +00:00
Rob Ede
dd4a372613
allow error handler middleware to return different body type (#2515) 2021-12-14 21:17:50 +00:00
Rob Ede
fb091b2b88
split up router pattern and resource_path modules 2021-12-14 18:59:59 +00:00
Rob Ede
07f2fe385b
standardize crate level lints 2021-12-08 06:09:56 +00:00
Rob Ede
406f694095
standardize rustfmt max_width 2021-12-08 06:01:11 +00:00
Rob Ede
9bdd334bb4
add test for duplicate dynamic segent name 2021-11-23 15:57:18 +00:00
Rob Ede
591abc37c3
add test runtime macro (#2409) 2021-10-19 17:30:32 +01:00
Rob Ede
efdf3ab1c3
clippy 2021-10-19 01:32:58 +01:00
Ali MJ Al-Nasrawy
7d01ece355
ResourceDef: support multiple-patterns as prefix (#2356)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-08-31 14:15:22 +01:00
Aravinth Manivannan
168b2f227d
compile time validation of path (#2350)
* compile time validation of path

* added trybuild err message

* Update Cargo.toml

* add changelog entry

* test more cases of path validation

* fmt

Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-08-30 21:50:40 +01:00
Ali MJ Al-Nasrawy
f9da6e48e0
ResourceDef: define behavior for prefix with trailing slash (#2355)
* ResourceDef: define behavior

* fix tests

* add scope test

* revert firestorm bump

* update changelog

* fmt

Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-08-30 20:05:49 +01:00
Rob Ede
5f412c67db
clippy 2021-08-13 18:49:58 +01:00
Rob Ede
f6e69919ed
update to router 0.5.0 beta (#2339) 2021-08-06 22:42:31 +01:00