1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 20:10:35 +02:00
Commit Graph

55 Commits

Author SHA1 Message Date
6c65e2a79f prepare router 0.2.5 release (#198) 2020-09-21 22:46:59 +01:00
e5ca271764 actix-router: fix from_hex error (#196) 2020-09-20 18:04:18 +01:00
88d99ac89c Fix clippy errors. (#187) 2020-09-06 10:41:42 +01:00
0c5f1da625 Remove garbled doc comment for actix_router::IntoPattern::is_single (#168) 2020-07-29 05:46:53 +09:00
8ace9264b7 Check code style with rustfmt on CI (#164) 2020-07-22 12:32:13 +09:00
10b4c30a06 Use OR instead of deprecated / in license field (#155) 2020-07-14 11:11:30 +01:00
187a58472d fix noisy check warning 2020-04-04 23:57:52 +01:00
2f67e4f563 Use markdown format 2020-01-31 00:01:24 +09:00
d5a6c83207 Suppress/fix clippy warnings 2020-01-29 12:05:55 +09:00
7dddeab2a8 Add ResourceDef::resource_path_named() path generation method 2019-12-31 18:02:43 +06:00
dcbcc40da2 Revert "Support named parameters for ResourceDef::resource_path() in form of ((&k, &v), ...)"
This reverts commit b0d44198ba.
2019-12-31 15:14:53 +06:00
b0d44198ba Support named parameters for ResourceDef::resource_path() in form of ((&k, &v), ...) 2019-12-31 14:53:30 +06:00
974bd6b01e leak string instead of rc 2019-12-31 12:04:35 +06:00
e21c58930b Add impl IntoPattern for &String 2019-12-25 21:34:14 +04:00
59c5e9be6a Use IntoPattern for RouterBuilder::path() 2019-12-25 21:01:07 +04:00
a2a9d9764d introduce IntoPattern trait 2019-12-25 19:54:20 +04:00
bf0a9d2f6e Add IntoPatterns trait 2019-12-25 15:34:21 +04:00
0fe8038d23 allow specify set of resource patters 2019-12-25 15:10:01 +04:00
110457477a update changes 2019-12-07 11:04:53 +06:00
40fbbb9c32 fix crate name 2019-12-07 10:39:33 +06:00
6c00ab8296 add string crate 2019-12-07 09:59:39 +06:00
cbdbc05dbd update tokio verion and prep alpha3 release 2019-12-07 09:57:43 +06:00
021c742d22 use string crate from master 2019-12-06 00:10:27 +06:00
3a858feaec migrate to tokio 0.2.2 2019-12-05 16:40:24 +06:00
be7904fd57 Fix code style (#65)
* Fix clippy warnings

* cargo fmt

* Remove redundant lifetime
2019-11-15 00:28:29 +09:00
8f05986a9f Use map() instead of and_then() (#51) 2019-10-03 14:55:44 +09:00
aad013f559 Fix clippy warnings (#40)
Add explicit `dyn`s

Remove let binding

Use +=

Return false

Derive Default for TcpConnector

Squash if/else

Remove unnecessary return keywords

Use is_empty()

Fix clippy attribute

Allow mut_from_ref
2019-08-17 05:15:51 +09:00
ca289ddf7f Include license files into all sub-crates
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2019-05-30 20:38:44 +02:00
139fa3b9a2 Fix typo 2019-05-15 20:51:24 +02:00
a14f612382 remove debug prints 2019-05-15 10:29:10 -07:00
059e2ad042 Fix checked resource match 2019-05-15 10:21:29 -07:00
76c317e0b2 Added support for remainder match 2019-04-22 21:19:22 -07:00
51c4dfe5cb Allow to reset Path instance; export Quoter type 2019-04-07 22:48:18 -07:00
629ed05f82 Get dynamic segment by name instead of iterator 2019-04-03 21:40:21 -07:00
f696914038 prepare router release 2019-03-09 14:38:08 -08:00
43ad18ccb1 remove get_decoded 2019-03-09 13:58:07 -08:00
34995a8ccf revert re-quoting change 2019-03-09 13:56:09 -08:00
046142ffbc added is_prefix_match and resource_path 2019-03-08 15:34:40 -08:00
49e6dbcda2 remove unused ResourceMap 2019-03-08 12:33:44 -08:00
877614a494 add params decoding 2019-03-08 04:43:51 -08:00
25f1eae51f add ResourceDef::root_prefix, insert slash to the beggining of the pattern 2019-03-05 21:03:53 -08:00
82930de8e7 use default type for RouterBuilder 2019-03-04 14:03:46 -08:00
04a3e59bd5 update tests 2019-03-04 12:41:39 -08:00
0ff0daa795 allow custom checks for resource selection 2019-03-04 11:47:03 -08:00
fb43940824 allow empty pattern 2019-03-03 21:00:58 -08:00
a53f06a1a4 allow register router resource for ResourceDef 2019-02-09 20:43:39 -08:00
9979bfb3ef rename Pattern to ResourceDef 2019-02-09 07:24:35 -08:00
cedba24a36 add Url type from actix web 2019-02-01 13:25:56 -08:00
cbc378b67f allow deserialize from the path 2019-01-15 19:25:49 -08:00
b5d84bd980 use release version of string 2019-01-10 10:40:27 -08:00