rust-websocket-lite
rust-websocket-lite copied to clipboard
"default-features = false" cause compile error
Compiling websocket-lite v0.5.0
error[E0432]: unresolved import `self::inner`
--> /Users/afpro/.cargo/registry/src/github.com-1ecc6299db9ec823/websocket-lite-0.5.0/src/ssl.rs:87:15
|
87 | pub use self::inner::*;
| ^^^^^ could not find `inner` in `self`
error[E0425]: cannot find function `async_wrap` in module `ssl`
--> /Users/afpro/.cargo/registry/src/github.com-1ecc6299db9ec823/websocket-lite-0.5.0/src/client.rs:153:31
|
153 | let stream = ssl::async_wrap(domain, stream).await?;
| ^^^^^^^^^^ not found in `ssl`
error[E0425]: cannot find function `wrap` in module `ssl`
--> /Users/afpro/.cargo/registry/src/github.com-1ecc6299db9ec823/websocket-lite-0.5.0/src/client.rs:169:31
|
169 | let stream = ssl::wrap(domain, stream)?;
| ^^^^ not found in `ssl`
error: aborting due to 3 previous errors
Yes, this is due to the ssl-native-tls
and ssl-openssl
features being an either/or selection.
Maybe default-features = false
should deactivate SSL completely.