Rajasekharan Vengalil
aed5fecc8a
Add support for tokio tracing for actix Service. ( #86 )
...
* Add support for tokio tracing for actix Service.
* Address comments
* Change trace's return type to ApplyTransform
* Remove redundant type args
* Remove reference to MakeSpan from docs
2020-01-15 11:43:52 -08:00
Nikolay Kim
a751899aad
Fixed unsoundness in AndThenService impl #83
2020-01-15 11:40:15 -08:00
Nikolay Kim
fa800aeba3
Fix AsRef<str> impl
2020-01-14 15:06:02 -08:00
Nikolay Kim
2f89483635
Merge branch 'master' of github.com:actix/actix-net
2020-01-14 00:42:29 -08:00
Nikolay Kim
3048073919
Add PartialEq<T: AsRef<str>>, AsRef<[u8]> impls
2020-01-13 11:58:31 +06:00
amosonn
4bbba803c1
Fix Service documentation ( #85 )
2020-01-12 07:44:01 +09:00
Sven-Hendrik Haase
4dcdeb6795
Merge pull request #84 from currency-engineering/master
...
Minor grammatical fix to docs.
2020-01-10 15:28:19 +01:00
Eric Findlay
3b4f222242
Minor grammatical fix to docs.
2020-01-10 20:52:49 +09:00
Nikolay Kim
7c5fa25b23
Add into_service helper function
2020-01-08 18:31:50 +06:00
Nikolay Kim
3551d6674d
Add Clone impl for condition::Waiter
2020-01-08 11:18:56 +06:00
Nikolay Kim
9f00daea80
add Condition and Pool
2020-01-08 10:59:27 +06:00
Nikolay Kim
7dddeab2a8
Add ResourceDef::resource_path_named() path generation method
2019-12-31 18:02:43 +06:00
Nikolay Kim
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
Nikolay Kim
b0d44198ba
Support named parameters for ResourceDef::resource_path() in form of ((&k, &v), ...)
2019-12-31 14:53:30 +06:00
Nikolay Kim
974bd6b01e
leak string instead of rc
2019-12-31 12:04:35 +06:00
Nikolay Kim
5779da0f49
refactor service and state manahement
2019-12-29 13:42:42 +06:00
Nikolay Kim
1918c8d4f8
rename .run to .start()
2019-12-29 10:07:46 +06:00
Nikolay Kim
e21c58930b
Add impl IntoPattern for &String
2019-12-25 21:34:14 +04:00
Nikolay Kim
59c5e9be6a
Use IntoPattern for RouterBuilder::path()
2019-12-25 21:01:07 +04:00
Nikolay Kim
a2a9d9764d
introduce IntoPattern trait
2019-12-25 19:54:20 +04:00
Nikolay Kim
bf0a9d2f6e
Add IntoPatterns trait
2019-12-25 15:34:21 +04:00
Nikolay Kim
119027f822
fmt
2019-12-25 15:10:13 +04:00
Nikolay Kim
0fe8038d23
allow specify set of resource patters
2019-12-25 15:10:01 +04:00
Nikolay Kim
b599bc4a0c
map_config() and unit_config() accepts IntoServiceFactory type
2019-12-22 16:30:49 +04:00
Nikolay Kim
a80e1f8370
fix new() method and make from_static and from_bytes_unchecked methods const
2019-12-22 16:24:28 +04:00
Nikolay Kim
5fe759cc02
Merge branch 'master' of github.com:actix/actix-net
2019-12-20 09:15:19 +06:00
Nikolay Kim
05549f0b42
Add methods to check LocalWaker registration state
2019-12-20 09:13:11 +06:00
Yuki Okushi
b1430eaded
Run tests for all features as possible ( #78 )
2019-12-19 16:31:32 +09:00
Nikolay Kim
0d3f9e74c5
Use .advance() intead of .split_to()
2019-12-19 09:50:31 +06:00
Nikolay Kim
cab73791ed
pin trsut-dns-proto
2019-12-15 13:04:26 +06:00
Nikolay Kim
a7ac1a76ed
add license files to actix-macros
2019-12-14 23:01:55 +06:00
Nikolay Kim
37bedff6fb
use parking_lot 0.10
2019-12-12 06:57:40 +06:00
Nikolay Kim
33fd6adc11
better InOrder test
2019-12-12 06:56:45 +06:00
Nikolay Kim
4305cdba2c
Revert InOrder service changes
2019-12-11 23:10:02 +06:00
Nikolay Kim
52ecb4bcc5
Add oneshot::Sender::is_canceled() method
2019-12-11 20:52:57 +06:00
Nikolay Kim
b28f32e82c
Allow to create framed::Dispatcher with custom mpsc::Receiver
2019-12-11 20:23:14 +06:00
Nikolay Kim
081205a02f
Disconnect callback accepts owned state
2019-12-11 18:57:43 +06:00
Nikolay Kim
8bb81c0768
optimize InOrder service
2019-12-11 18:55:53 +06:00
Nikolay Kim
c7a8743bf9
remove E param
2019-12-11 16:44:09 +06:00
Nikolay Kim
f26fcc703b
prep release
2019-12-11 14:56:05 +06:00
Nikolay Kim
ce4587df82
prepare actix-tls release
2019-12-11 14:53:58 +06:00
Nikolay Kim
9957f28137
prepare actix-testing release
2019-12-11 14:49:26 +06:00
Nikolay Kim
9d84d14ef4
update deps
2019-12-11 14:47:30 +06:00
Nikolay Kim
60bfa1bfb1
prepare actix-server release
2019-12-11 14:43:26 +06:00
Nikolay Kim
2c81c22b3e
refactor ioframe dispatcher
2019-12-11 14:36:11 +06:00
Nikolay Kim
dded482514
allow to close mpsc sender
2019-12-11 14:36:00 +06:00
Nikolay Kim
631cb86947
refactor framed and stream dispatchers
2019-12-11 12:42:07 +06:00
Nikolay Kim
2e5e69c9ba
Simplify oneshot and mpsc implementations
2019-12-11 11:28:09 +06:00
Nikolay Kim
e315cf2893
prep actix-rt release; update deps
2019-12-11 10:34:50 +06:00
Nikolay Kim
13fd615966
actix-macros release
2019-12-11 10:32:01 +06:00