Nikolay Kim
b350280dba
Slight optimization and docs
2023-06-16 23:29:56 +06:00
Nikolay Kim
1b199712a9
Update versions
2023-06-16 20:32:52 +06:00
Nikolay Kim
274488bd84
Remove boxed rc service
2023-06-16 00:16:14 +06:00
Nikolay Kim
e450ac80b8
Make Ctx copy
2023-06-16 00:16:14 +06:00
Nikolay Kim
7960b550c9
Migrate to ntex-service 1.2 ( #209 )
...
* Migrate to ntex-service 1.2
2023-06-16 00:16:14 +06:00
Nikolay Kim
0e1f0b5f73
Service container ( #208 )
...
* Enforce service readiness during call
* Introduce service sharable readiness
2023-06-16 00:16:14 +06:00
Nikolay Kim
44ff6a8ee6
Remove Rc<S> where S: Service as it brakes readiness check validity ( #198 )
...
* Add SharedService, a service that can be checked for readiness by multiple tasks
2023-04-14 09:48:27 -07:00
Nikolay Kim
29e04cf478
Switch to 2021 edition ( #172 )
2023-02-02 19:30:07 +01:00
Nikolay Kim
7abd4a61f8
Prepare release
2023-01-24 08:46:56 +01:00
leone
251e63063e
[FEATURE] FnShutdown service with on_shutdown callback ( #163 )
...
* FnShutdown service with on_shutdown callback
2023-01-24 08:42:31 +01:00
Nikolay Kim
f47e830cfb
Improve tests ( #158 )
...
* Improve tests
2023-01-06 17:08:24 +01:00
Nikolay Kim
f44cad4512
Prepare release
2023-01-04 12:19:52 +01:00
Nikolay Kim
a54f6f7ac2
Prepare release
2022-12-28 13:02:24 +01:00
Nikolay Kim
4baf42d6d1
Restart timer after runtime stop ( #154 )
...
* Code coverage
* Restart timer after runtime stop
2022-12-28 12:42:54 +01:00
Nikolay Kim
67eb653ef2
Prepare ntex-service release
2022-12-28 09:45:41 +01:00
Nikolay Kim
b416386bae
Update versions
2022-12-28 09:36:16 +01:00
Nikolay Kim
537d8dc18d
Use GAT ( #153 )
...
* Rename Transform to Middleware
* Drop FnService's shutdown helper
* refactor Service trait to use GAT
* Migrate ntex to new service
* move Stack to service
* use BoxFuture
* simplify poll_shitdown method
2022-12-26 19:58:38 +01:00
Alex Orlenko
de9738c9c0
Update ntex_service documentation ( #148 )
2022-12-13 11:47:26 +01:00
Nikolay Kim
0f28860fed
make AndThenFactory::new public
2022-07-07 21:56:27 +06:00
Nikolay Kim
f1bffbbe52
Revert "Make AndThenFactory::new() public, cleanups"
...
This reverts commit 4a642901a1
.
2022-07-07 21:54:44 +06:00
Nikolay Kim
073ea6db29
prep release
2022-07-07 10:30:38 +06:00
Nikolay Kim
97c99c7b3d
prep release
2022-07-07 10:29:19 +06:00
Nenad Banfic
bcec02a381
Add ?Sized to Rc service ( #125 )
...
Co-authored-by: nebanfic <banfic.nenad@gmail.com>
2022-07-07 07:33:16 +06:00
Nikolay Kim
4a642901a1
Make AndThenFactory::new() public, cleanups
2022-02-10 17:05:36 +06:00
Nikolay Kim
6b35f10c2f
Tests cleanups
2022-02-02 17:22:23 +06:00
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