-
Notifications
You must be signed in to change notification settings - Fork 28
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
Why do I need a runtime? #42
Comments
From the quick scan of the code, it seems like this crate only provides async API. https://github.com/stepancheg/rust-tls-api/blob/master/api/src/socket.rs#L5-L10 You should also provide your source code when showing error messages - it is hard to reason about the output if one does not know the input. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to use this to be able to easly switch the tls implementation between
rustls
andnative-tls
.Is there a way to use this crate without an async runtime, with
std::net::tcp::TcpStream
?I tried to disable the default features to get rid of the async related stuff from this library but then I get these kind of errors:
The text was updated successfully, but these errors were encountered: