-
Notifications
You must be signed in to change notification settings - Fork 61
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
Support for TLS-Less Builds? #118
Comments
Thanks! @L-jasmine I think we should fix this. We should be able to turn off TLS via a feature flag. |
Thank you for looking into this! |
@flosincapite #120 |
I can confirm that our build chain works again, so this is no longer an issue for me. Thank you so much! |
(What is your protocol for issues? Should I close this one?) |
Thank you for confirming the solution. Please go ahead and close the issue. Cheers |
I think I'm running into this issue right now. When I turn off default features I get this: error[E0432]: unresolved import `rustls`
--> /home/lastmjs/development/wasmedge-quickjs/src/event_loop/mod.rs:18:5
|
18 | use rustls::OwnedTrustAnchor;
| ^^^^^^ use of undeclared crate or module `rustls`
error[E0432]: unresolved import `crate::event_loop::AsyncTlsConn`
--> /home/lastmjs/development/wasmedge-quickjs/src/internal_module/wasi_net_module.rs:3:55
|
3 | use crate::event_loop::{AsyncTcpConn, AsyncTcpServer, AsyncTlsConn};
| ^^^^^^^^^^^^
| |
| no `AsyncTlsConn` in `event_loop`
| help: a similar name exists in the module: `AsyncTcpConn`
|
note: found an item that was configured out
--> /home/lastmjs/development/wasmedge-quickjs/src/event_loop/mod.rs:124:12
|
124 | pub struct AsyncTlsConn(pub(crate) tokio_rustls::client::TlsStream<tokio::net::TcpStream>);
| ^^^^^^^^^^^^
= note: the item is gated behind the `tls` feature
|
Hello! My team has been using
wasmedge-quickjs
for sandboxing; it's been great! However, I notice that the recent addition of TLS support breaks our build.Since it's an optional dependency, I thought building with
--no-default-features
would work, but I get the errorIs there any way to build without TLS support?
The text was updated successfully, but these errors were encountered: