Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for tokio #52

Merged
merged 6 commits into from
Jun 27, 2022
Merged

feat: add support for tokio #52

merged 6 commits into from
Jun 27, 2022

Conversation

dignifiedquire
Copy link
Collaborator

@dignifiedquire dignifiedquire commented Jun 22, 2022

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

Allows configuration of either tokio or async-std.
Drops support for `socks5` with `async-std`, as the underlying library `fast-sockst5` has done so in the latest release.
@dignifiedquire dignifiedquire requested review from Hocuri and link2xt June 22, 2022 19:56
@link2xt
Copy link
Collaborator

link2xt commented Jun 22, 2022

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

@dignifiedquire
Copy link
Collaborator Author

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
Copy link
Collaborator

link2xt commented Jun 22, 2022

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: dizda/fast-socks5#9

@link2xt link2xt changed the title feat: add support for tokoi feat: add support for tokio Jun 22, 2022
}
}

/// Execute io operations with an optional timeout using.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy-pasted comment: "using" what?

dignifiedquire added a commit to chatmail/core that referenced this pull request Jun 22, 2022
dignifiedquire added a commit to chatmail/core that referenced this pull request Jun 23, 2022
dignifiedquire added a commit to chatmail/core that referenced this pull request Jun 24, 2022
dignifiedquire added a commit to chatmail/core that referenced this pull request Jun 27, 2022
@dignifiedquire dignifiedquire merged commit c6aba19 into master Jun 27, 2022
@dignifiedquire dignifiedquire deleted the tokio branch June 27, 2022 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Tokio runtime
2 participants