Commit Graph

26 Commits

Author SHA1 Message Date
Nikolay Kim 4c1cefefe6 rename Factor to ServiceFactory 2019-11-12 11:09:19 +06:00
Nikolay Kim ae40042ea7 drop IntoFuture trait 2019-11-11 13:35:35 +06:00
Nikolay Kim 68e00ec18c refactor naming 2019-11-11 11:44:06 +06:00
Nikolay Kim 5a4ce470f9 disable tests 2019-11-11 02:44:58 +06:00
Nikolay Kim c5e8764508 remove Pin from Service::poll_ready(); simplify combinators api; make code compile 2019-11-11 01:09:05 +06:00
Michal Hornický 7528e7f1cb Migrate actix-service to std::future,
This is a squash of ~8 commits, since it included a lot of experimentation. To see the commits,
look into the semtexzv/std-future-service-tmp branch.
2019-11-07 18:36:13 -05:00
Nikolay Kim f0776fca94 Use associated type for NewService config 2019-05-12 06:03:50 -07:00
Nikolay Kim 6bbbdba921 revert generic Request change 2019-03-09 06:36:23 -08:00
Nikolay Kim 70ead175b9 IntoService for fn_cfg_factory 2019-03-08 20:51:50 -08:00
Nikolay Kim 49867b5e9d fix IntoService 2019-03-08 20:50:29 -08:00
Nikolay Kim 1153715149 change generics order for Transform trait 2019-03-05 09:49:08 -08:00
Nikolay Kim dfbb77f98d make service Request type generic 2019-03-05 07:35:26 -08:00
Nikolay Kim b5b3168b34 do not use void for now 2019-03-02 13:49:21 -08:00
Nikolay Kim 668e4f9ac4 update utils; add NewTransform::map_init_err 2019-03-02 13:18:01 -08:00
Nikolay Kim d0b8b6940c add configuration parameter to transform factory 2019-03-02 12:16:30 -08:00
Nikolay Kim 83f51b28d7 allow to customize cfg parameter for FnNewService 2019-02-22 17:12:26 -08:00
Nikolay Kim 83a19e9cb3 add IntoConfigurableNewService 2019-02-22 14:30:00 -08:00
Nikolay Kim 6b4010892d add IntoNewService for FnNewService 2019-02-22 14:19:43 -08:00
Nikolay Kim d2bd9134aa add fn service helpers 2019-02-22 14:13:48 -08:00
Nikolay Kim a0e2d926e6 add fn_nservice 2019-02-22 13:20:52 -08:00
Nikolay Kim 43d2dd473f update tests 2019-02-22 13:08:31 -08:00
Nikolay Kim 862be49e30 add Config argument to NewService 2019-02-22 12:44:37 -08:00
Nikolay Kim bd977373bc generalize apply combinator with transform trait 2019-02-03 10:42:27 -08:00
Nikolay Kim d83bf95304 Use associated type instead of generic for Service definition 2019-02-01 19:53:13 -08:00
Nikolay Kim 316974616a Use FnMut instead of Fn for FnService 2019-01-11 21:39:58 -08:00
Nikolay Kim 5f37d85f9b move service to separate crate 2018-12-09 09:56:23 -08:00