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

TLS example should use async_tls instead of async-native-tls #230

Open
YuhanLiin opened this issue Sep 21, 2021 · 0 comments
Open

TLS example should use async_tls instead of async-native-tls #230

YuhanLiin opened this issue Sep 21, 2021 · 0 comments

Comments

@YuhanLiin
Copy link

The TLS example depends on async-native-tls, which has async-std as a dependency. I'm not sure how compatible smol is with libraries based on async-std, which is a whole other runtime. This also raises the question of whether futures-lite crates are compatible with futures-based crates, since the two use different Futures libraries. Even if compatibility isn't an issue, having async-std alongside smol will blow up compile times, which defeats the purpose of using smol in the first place. I suggest we use async_tls instead, since it doesn't depend on async-std or futures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant