1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 00:21:08 +01:00
actix-web/awc/src
Jonathan Lim 3db7891303
Scope macro (#3136)
* add scope proc macro

* Update scope macro code to work with current HttpServiceFactory

* started some test code

* add some unit tests

* code formatting cleanup

* add another test for combining and calling 2 scopes

* format code with formatter

* Update actix-web-codegen/src/lib.rs with comment documentation fix

Co-authored-by: oliver <151407407+kwfn@users.noreply.github.com>

* work in progress. revised procedural macro to change othe macro call

* add tests again. refactor nested code.

* clean up code. fix bugs with route and method attributes with parameters

* clean up for rust fmt

* clean up for rust fmt

* fix out of date comment for scope macro

* sync to master branch by adding test_wrap

* needed to format code

* test: split out scope tests

* test: add negative tests

* chore: move imports back inside (?)

* docs: tweak scope docs

* fix: prevent trailing slashes in scope prefixes

* chore: address clippy lints

---------

Co-authored-by: oliver <151407407+kwfn@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-06-07 22:10:48 +00:00
..
client Scope macro (#3136) 2024-06-07 22:10:48 +00:00
middleware build(deps): bump taiki-e/install-action from 2.26.18 to 2.27.2 (#3294) 2024-02-19 12:31:10 +00:00
responses build(deps): bump taiki-e/install-action from 2.26.18 to 2.27.2 (#3294) 2024-02-19 12:31:10 +00:00
any_body.rs apply standard formatting 2023-07-17 02:38:12 +01:00
builder.rs actix-web: Add rustls 0.23 (#3363) 2024-05-18 19:05:58 +00:00
connect.rs apply standard formatting 2023-07-17 02:38:12 +01:00
error.rs apply standard formatting 2023-07-17 02:38:12 +01:00
frozen.rs apply standard formatting 2023-07-17 02:38:12 +01:00
lib.rs chore: temp allow #[allow(non_local_definitions)] 2024-03-01 18:11:30 +00:00
request.rs chore: avoid single char error bindings 2023-09-03 19:09:42 +01:00
sender.rs chore: avoid single char error bindings 2023-09-03 19:09:42 +01:00
test.rs build(deps): bump taiki-e/install-action from 2.26.18 to 2.27.2 (#3294) 2024-02-19 12:31:10 +00:00
ws.rs chore: avoid single char error bindings 2023-09-03 19:09:42 +01:00