1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 17:52:56 +01:00
Commit Graph

169 Commits

Author SHA1 Message Date
edgerunnergit
65c0545a7a
added support for creating custom methods with route macro (#2969)
Co-authored-by: Rob Ede <robjtede@icloud.com>
Closes https://github.com/actix/actix-web/issues/2893
2023-02-06 12:40:41 +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
29bd6a1dd5
fix version requirement for futures_util 2022-12-18 01:34:48 +00:00
Rob Ede
894effb856
prepare actix-router release 0.5.1 2022-09-19 18:52:16 +01:00
Rob Ede
7767cf3071
prepare actix-web release 4.2.0 2022-09-11 16:44:46 +01:00
Rob Ede
b59a96d9d7
prepare actix-web-codegen release 4.1.0 2022-09-11 16:42:28 +01:00
Rob Ede
679f61cf37
bump msrv to 1.59 2022-08-27 13:14:16 +01:00
Rob Ede
d78ff283af
prepare actix-test release 0.1.0 2022-07-24 02:13:46 +01:00
Roland Fredenhagen
8759d79b03
routes macro allowing multiple paths per handler (#2718)
* WIP: basic implementation for `routes` macro

* chore: changelog, docs, tests

* error on missing methods

* Apply suggestions from code review

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>

* update test stderr expectation

* add additional tests

* fix stderr output

* remove useless ResourceType

this is dead code from back when .to and .to_async were different ways to add a service

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-04 04:31:49 +00:00
Yuki Okushi
6b7196225e
Bump up MSRV to 1.57 (#2789) 2022-06-22 12:08:06 +01:00
Rob Ede
43671ae4aa
release 4.1 group (#2781) 2022-06-12 00:15:43 +09: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
JY Choi
8e76a1c775
Allow a path as a guard in route handler macro (#2771)
* Allow a path as a guard in route handler macro

* Update CHANGES.md

Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-06-06 18:53:23 +01:00
Rob Ede
d0c08dbb7d
prepare releases: actix-http 3.0.0 and actix-web 4.0.0 (#2663) 2022-02-25 18:46:35 +00:00
Rob Ede
75e6ffb057
prepare actix-router release 0.5.0 (#2658) 2022-02-22 11:38:25 +00:00
Rob Ede
51e573b888
prepare actix-test release 0.1.0-beta.13 2022-02-16 03:13:41 +00:00
Rob Ede
074d18209d
better document relationship with tokio 2022-02-08 10:21:47 +00:00
Rob Ede
593fbde46a
prepare actix-web release 4.0.0-rc.3 2022-02-08 09:31:48 +00:00
Rob Ede
7fe800c3ff
prepare actix-web release 4.0.0-rc.2 2022-02-02 03:54:26 +00:00
Rob Ede
5469b02638
prepare actix-web-codegen release 0.5.0-rc.2 2022-02-01 00:12:42 +00:00
Rob Ede
20609e93fd
prepare actix-test release 0.1.0-beta.12 2022-01-31 22:34:59 +00:00
Rob Ede
c3c7eb8df9
prepare actix-web release 4.0.0-rc.1 2022-01-31 22:23:33 +00:00
Rob Ede
47f5faf26e
prepare actix-router release 0.5.0-rc.3 2022-01-31 22:21:30 +00:00
Rob Ede
c5d6df0078
prepare actix-web release 4.0.0-beta.21 2022-01-21 20:23:29 +00:00
Rob Ede
bc89f0bfc2
s/example/examples 2022-01-21 16:56:33 +00:00
Rob Ede
c959916346
fmt codegen 2022-01-20 01:54:57 +00:00
Rob Ede
f227e880d7
refactor route codegen to be cleaner 2022-01-20 01:53:02 +00:00
Rob Ede
f2e736719a
add url_for test for conflicting named resources 2022-01-20 01:30:33 +00:00
Rob Ede
81ef12a0fd
add warn log to from_parts if given request is cloned
closes #2562
2022-01-19 22:23:53 +00:00
Rob Ede
8faca783fa
prepare actix-web release 4.0.0-beta.20 2022-01-14 20:00:26 +00:00
Rob Ede
8bbf2b5052
prepare actix-test release 0.1.0-beta.11 2022-01-04 15:37:48 +00:00
Rob Ede
8621ae12f8
prepare actix-web release 4.0.0-beta.19 2022-01-04 15:35:08 +00:00
Rob Ede
5abd1c2c2c
prepare actix-web-codegen release 0.5.0-rc.1 2022-01-04 15:34:16 +00:00
Rob Ede
05336269f9
prepare actix-router release 0.5.0-beta.4 2022-01-04 15:33:44 +00:00
Rob Ede
a80e93d6db
prepare actix-web release 4.0.0-beta.18 2021-12-29 10:17:11 +00:00
Rob Ede
a87e01f0d1
bump msrv to 1.54 2021-12-29 08:59:15 +00:00
Rob Ede
11d50d792b
prepare actix-web release 4.0.0-beta.17 2021-12-29 07:07:51 +00:00
Rob Ede
76684a786e
update server dep to rc2 (#2550) 2021-12-27 18:45:31 +00:00
Rob Ede
de20d21703
use dash hyphenation in markdown 2021-12-22 08:21:30 +00:00
Rob Ede
212c6926f9
Revert "use dash hyphenation in changelogs"
This reverts commit 1ea619f2a1.
2021-12-22 08:18:44 +00:00
Rob Ede
1ea619f2a1
use dash hyphenation in changelogs 2021-12-22 08:17:35 +00:00
Rob Ede
9cd8526085
prepare actix-router release 0.5.0-beta.3 2021-12-17 21:24:34 +00:00
Rob Ede
73bbe56971
prepare actix-test release 0.1.0-beta.9 2021-12-17 21:00:15 +00:00
Rob Ede
6c2c7b68e2
prepare actix-web release 4.0.0-beta.15 2021-12-17 20:59:01 +00:00
Rob Ede
fc4e9ff96b
prepare actix-web-codegen release 0.5.0-beta.6 2021-12-11 00:33:31 +00:00
Rob Ede
6481a5fb73
prepare actix-test release 0.1.0-beta.8 2021-12-11 00:32:26 +00:00
Rob Ede
cc37be9700
prepare actix-web release 4.0.0-beta.14 2021-12-11 00:30:12 +00:00
Rob Ede
07f2fe385b
standardize crate level lints 2021-12-08 06:09:56 +00:00
Rob Ede
2a72bdae09
improve typed header macro (#2481) 2021-12-02 15:25:39 +00:00
Rob Ede
18b8ef0765
prepare actix-test release 0.1.0-beta.7 2021-11-22 18:47:43 +00:00