File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,19 @@ accept = []
30
30
connect = []
31
31
32
32
# use openssl impls
33
- openssl = [" tls-openssl" , " tokio-openssl" ]
33
+ openssl = [" tls-openssl" , " tokio-openssl" , " actix-codec " ]
34
34
35
35
# use rustls impls
36
- rustls = [" tokio-rustls" , " webpki-roots" ]
36
+ rustls = [" tokio-rustls" , " webpki-roots" , " actix-codec " ]
37
37
38
38
# use native-tls impls
39
- native-tls = [" tokio-native-tls" ]
39
+ native-tls = [" tokio-native-tls" , " actix-codec " ]
40
40
41
41
# support http::Uri as connect address
42
42
uri = [" http" ]
43
43
44
44
[dependencies ]
45
- actix-codec = " 0.5.0"
45
+ actix-codec = { version = " 0.5.0" , optional = true }
46
46
actix-rt = { version = " 2.2.0" , default-features = false }
47
47
actix-service = " 2.0.0"
48
48
actix-utils = " 3.0.0"
@@ -67,6 +67,7 @@ webpki-roots = { version = "0.22", optional = true }
67
67
tokio-native-tls = { version = " 0.3" , optional = true }
68
68
69
69
[dev-dependencies ]
70
+ actix-codec = " 0.5.0"
70
71
actix-rt = " 2.2.0"
71
72
actix-server = " 2.0.0"
72
73
bytes = " 1"
You can’t perform that action at this time.
0 commit comments