@@ -19,12 +19,12 @@ deltachat_derive = { path = "./deltachat_derive" }
19
19
20
20
ansi_term = { version = " 0.12.1" , optional = true }
21
21
anyhow = " 1"
22
- async-imap = { git = " https://github.com/async-email/async-imap" }
23
- async-native-tls = { version = " 0.3 " }
24
- async-smtp = { git = " https://github.com/async-email/async-smtp" , branch =" master " , default-features = false , features = [" smtp-transport" , " socks5" ] }
25
- async-std -resolver = " 0.21"
26
- async-std = { version = " 1" }
27
- async -tar = { version = " 0.4 " , default-features = false }
22
+ async-imap = { git = " https://github.com/async-email/async-imap" , branch = " runtimes " , default-features = false , features = [ " runtime-tokio " ] }
23
+ async-native-tls = { version = " 0.4 " , default-features = false , features = [ " runtime-tokio " ] }
24
+ async-smtp = { git = " https://github.com/async-email/async-smtp" , branch =" tokio " , default-features = false , features = [" smtp-transport" , " socks5" , " runtime-tokio " ] }
25
+ trust-dns -resolver = " 0.21"
26
+ tokio = { version = " 1" , features = [ " full " ] }
27
+ tokio -tar = { version = " 0.3 " } # TODO: integrate tokio into async-tar
28
28
backtrace = " 0.3"
29
29
base64 = " 0.13"
30
30
bitflags = " 1.3"
@@ -65,22 +65,24 @@ sha2 = "0.10"
65
65
smallvec = " 1"
66
66
strum = " 0.24"
67
67
strum_macros = " 0.24"
68
- surf = { version = " 2.3" , default-features = false , features = [" h1-client" ] }
69
68
thiserror = " 1"
70
69
toml = " 0.5"
71
70
url = " 2"
72
71
uuid = { version = " 1" , features = [" serde" , " v4" ] }
73
- fast-socks5 = " 0.4 "
72
+ fast-socks5 = " 0.8 "
74
73
humansize = " 1"
75
74
qrcodegen = " 1.7.0"
76
75
tagger = " 4.3.3"
77
76
textwrap = " 0.15.0"
78
77
zip = { version = " 0.6.2" , default-features = false , features = [" deflate" ] }
78
+ async-channel = " 1.6.1"
79
+ futures-lite = " 1.12.0"
80
+ tokio-stream = { version = " 0.1.9" , features = [" fs" ] }
81
+ reqwest = { version = " 0.11.11" , features = [" json" ] }
79
82
80
83
[dev-dependencies ]
81
84
ansi_term = " 0.12.0"
82
- async-std = { version = " 1" , features = [" unstable" , " attributes" ] }
83
- criterion = { version = " 0.3.4" , features = [" async_std" ] }
85
+ criterion = { version = " 0.3.4" , features = [" tokio" ] }
84
86
futures-lite = " 1.12"
85
87
log = " 0.4"
86
88
pretty_env_logger = " 0.4"
@@ -132,5 +134,10 @@ harness = false
132
134
default = [" vendored" ]
133
135
internals = []
134
136
repl = [" internals" , " rustyline" , " log" , " pretty_env_logger" , " ansi_term" , " dirs" ]
135
- vendored = [" async-native-tls/vendored" , " async-smtp/native-tls-vendored" , " rusqlite/bundled-sqlcipher-vendored-openssl" ]
137
+ vendored = [
138
+ " async-native-tls/vendored" ,
139
+ " async-smtp/native-tls-vendored" ,
140
+ " rusqlite/bundled-sqlcipher-vendored-openssl" ,
141
+ " reqwest/native-tls-vendored"
142
+ ]
136
143
nightly = [" pgp/nightly" ]
0 commit comments