Commit graph

52 commits

Author SHA1 Message Date
Nikolay Kim
a2a5899bbe Add BytesVec type 2022-01-29 23:53:13 +06:00
Nikolay Kim
bf808d4d18
Move util services to ntex-util (#89)
* move util services to ntex-util

* update versions
2022-01-03 21:59:35 +06:00
Nikolay Kim
7e6735a044 Remove fn_transform 2021-12-30 16:45:45 +06:00
Nikolay Kim
ca72be32e9 Add Io::poll_status_update() method to use instead of register_dispatcher() 2021-12-30 16:42:43 +06:00
Nikolay Kim
7751e944f4 proper handling for openssl ZERO_RETURN error 2021-12-28 12:26:51 +06:00
Nikolay Kim
531bafbae2 prep release 2021-12-26 19:25:06 +06:00
Nikolay Kim
359d94fd5a ServiceFactory takes config type as a type parameter instead of an associated type 2021-12-24 03:52:57 +06:00
Nikolay Kim
606d5fe7ad fix 2021-12-24 01:18:10 +06:00
Nikolay Kim
b07928faed Service now takes the the request type as a type parameter instead of an associated type 2021-12-23 23:22:11 +06:00
Nikolay Kim
6bc654762d cleanup api; update tests 2021-12-17 09:52:00 +06:00
Nikolay Kim
2188d92725
Refactor ntex::time (#68)
* move time to util crate

* update changes
2021-12-10 18:20:16 +06:00
Nikolay Kim
f49a0b8de2 Simplify fn_transform 2021-09-17 10:40:13 +06:00
Nikolay Kim
fe13bf8281 refactor Transform trait 2021-09-15 21:47:19 +06:00
Nikolay Kim
b4b6f2fe88 simplify Transform trait; add PipelineFactory::apply() combinator 2021-08-26 11:29:11 +06:00
Nikolay Kim
3e480c0423 Add rc wrapped service RcService 2021-06-03 14:29:26 +06:00
Nikolay Kim
fffe03e76f clippy 2021-05-17 17:32:53 +06:00
Nikolay Kim
c3540207e3 Move utils to ntex-util crate 2021-04-11 12:15:40 +06:00
Nikolay Kim
91ee6762e7 move low level utils to separate crate 2021-04-04 01:20:18 +06:00
Nikolay Kim
8b3655457b prep release 2021-04-03 22:49:09 +06:00
Nikolay Kim
9638f2bf58 update tests 2021-04-03 17:37:00 +06:00
Nikolay Kim
284cc4caf0 make url optional; change Ready fut 2021-04-03 17:15:24 +06:00
Nikolay Kim
89a7a2b390 fix doc tests 2021-04-03 14:59:02 +06:00
Nikolay Kim
cb9e3ffeda reduce futures crate dependencies 2021-04-03 13:25:20 +06:00
Nikolay Kim
d56309c64f add custom Ready and Lazy futures 2021-04-02 20:40:59 +06:00
Nikolay Kim
290f863976 Add .on_shutdown() callback to fn_service 2021-03-26 20:11:07 +06:00
Nikolay Kim
055bd730d4 fix runtime macros 2021-02-24 13:58:41 +06:00
Nikolay Kim
e04ae7cc86
Migrate to tokio 1.0 (#41)
* migrate to tokio 1.x

* update tests
2021-02-24 00:12:44 +06:00
Nikolay Kim
e4483569b8 Fix http date header update task 2021-02-22 14:52:03 +06:00
Nikolay Kim
c0d0c2b088 Use pin-project-lite instead of pin-project 2021-01-13 01:36:01 +06:00
Nikolay Kim
1e8f58db4a prep release 2020-09-24 14:26:31 +06:00
Nikolay Kim
86dcbb4abd Add fn_transform fn, allows to use function as transform service 2020-09-24 14:24:10 +06:00
Nikolay Kim
e48449c781 update license 2020-07-30 11:08:17 +06:00
Nikolay Kim
c5f96972b9 upgrade pin-project 2020-06-15 11:33:16 +06:00
Nikolay Kim
a4e4adb63a Check ready state for map_config_service 2020-04-27 15:35:39 +06:00
Nikolay Kim
2e3abe5e25 clippy warnings 2020-04-27 00:15:32 +06:00
Nikolay Kim
96513ea664 add map_init_err test 2020-04-26 23:52:14 +06:00
Nikolay Kim
ce85dcd047 fix wrong transform test 2020-04-26 23:16:03 +06:00
Nikolay Kim
557f878895 add tests for transform 2020-04-26 22:46:28 +06:00
Nikolay Kim
17619cedd3 Add map_config_service, replacement for apply_cfg 2020-04-22 11:41:45 +06:00
Nikolay Kim
8846453137 tests 2020-04-17 11:16:00 +06:00
Nikolay Kim
969799a1aa cleanup tests 2020-04-17 01:13:29 +06:00
Nikolay Kim
489ebb2aa0 more tests 2020-04-17 00:36:29 +06:00
Nikolay Kim
1dee624ccd clippy warns 2020-04-17 00:24:31 +06:00
Nikolay Kim
cb0fd33b72 update tests 2020-04-14 09:25:17 +06:00
Nikolay Kim
2299b75a74 no need for generics 2020-04-12 00:54:44 +06:00
Nikolay Kim
1133545686 simplify framed dispatcher 2020-04-06 23:32:23 +06:00
Nikolay Kim
c2676c2378 add fn_mut_service for FnMut functions 2020-03-31 10:29:55 +06:00
Nikolay Kim
20a404ed1e rename ntex-macros 2020-03-31 08:52:52 +06:00
Nikolay Kim
89cebe5534 refactor Service trait 2020-03-30 17:44:22 +06:00
Nikolay Kim
da7de6def7 custom macros for ntex-rt 2020-03-29 14:23:48 +06:00