File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Changes
2
2
3
+ ## [ 0.3.0-b.1] - 2021-12-xx
4
+
5
+ * Upgrade to ntex 0.5.0 b.2
6
+
3
7
## [ 0.3.0-b.0] - 2021-12-19
4
8
5
- * upgrade to ntex 0.5
9
+ * Upgrade to ntex 0.5
6
10
7
11
## [ 0.2.4] - 2021-12-02
8
12
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " ntex-redis"
3
- version = " 0.3.0-b.0 "
3
+ version = " 0.3.0-b.1 "
4
4
authors = [
" ntex contributors <[email protected] >" ]
5
5
description = " Redis client"
6
6
documentation = " https://docs.rs/ntex-redis"
@@ -21,7 +21,7 @@ openssl = ["ntex/openssl"]
21
21
rustls = [" ntex/rustls" ]
22
22
23
23
[dependencies ]
24
- ntex = " 0.5.0-b.1 "
24
+ ntex = " 0.5.0-b.2 "
25
25
itoa = " 0.4.5"
26
26
btoi = " 0.4.2"
27
27
log = " 0.4"
@@ -30,3 +30,8 @@ derive_more = "0.99"
30
30
[dev-dependencies ]
31
31
rand = " 0.8"
32
32
env_logger = " 0.9"
33
+
34
+ [patch .crates-io ]
35
+ ntex = { git = " https://github.com/ntex-rs/ntex.git" }
36
+ ntex-io = { git = " https://github.com/ntex-rs/ntex.git" }
37
+ ntex-tls = { git = " https://github.com/ntex-rs/ntex.git" }
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ impl Client {
29
29
let queue2 = queue. clone ( ) ;
30
30
ntex:: rt:: spawn ( async move {
31
31
poll_fn ( |cx| loop {
32
- match ready ! ( io. poll_read_next ( & Codec , cx) ) {
32
+ match ready ! ( io. poll_recv ( & Codec , cx) ) {
33
33
Some ( Ok ( item) ) => {
34
34
if let Some ( tx) = queue2. borrow_mut ( ) . pop_front ( ) {
35
35
let _ = tx. send ( Ok ( item) ) ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ impl SimpleClient {
24
24
{
25
25
self . io . encode ( cmd. to_request ( ) , & Codec ) ?;
26
26
27
- poll_fn ( |cx| match ready ! ( self . io. poll_read_next ( & Codec , cx) ) {
27
+ poll_fn ( |cx| match ready ! ( self . io. poll_recv ( & Codec , cx) ) {
28
28
Some ( Ok ( item) ) => Poll :: Ready ( U :: to_output (
29
29
item. into_result ( ) . map_err ( CommandError :: Error ) ?,
30
30
) ) ,
You can’t perform that action at this time.
0 commit comments