We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dee45d0 commit 1529a6dCopy full SHA for 1529a6d
1 file changed
compio-ws/examples/echo_server_tls.rs
@@ -11,6 +11,7 @@ use tungstenite::Message;
11
// openssl req -x509 -newkey rsa:2048 -keyout localhost.key -out localhost.crt
12
// -days 365 -nodes -subj "/CN=localhost"
13
#[cfg(feature = "native-tls")]
14
+#[allow(deprecated)] // On iOS, `from_pkcs8` is not implemented.
15
async fn create_tls_acceptor() -> Result<TlsAcceptor, Box<dyn std::error::Error>> {
16
use compio_tls::native_tls;
17
0 commit comments