async-email / async-smtp

Apache License 2.0
60 stars 13 forks source link

feat: add support for tokio #52

Closed dignifiedquire closed 2 years ago

dignifiedquire commented 2 years ago

Allows configuration of either tokio or async-std. Drops support for socks5 with async-std, as the underlying library fast-socks5 has done so in the latest release.

Closes #13

link2xt commented 2 years ago

So how are we going to use async-smtp in delta chat now? We use socks5 there.

dignifiedquire commented 2 years ago

So how are we going to use async-smtp in delta chat now? We use socks5 there.

I am working on switching DC to tokio

link2xt commented 2 years ago

So how are we going to use async-smtp in delta chat now? We use socks5 there.

I am working on switching DC to tokio

Why? Not against it, just don't know what's the difference and first time I hear you are working on it. Seems most libraries (sqlx, async-native-tls) support multiple runtimes now.

fast-socks5 PR for reference: https://github.com/dizda/fast-socks5/pull/9