mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix errors that came when turning off the tls feature
This commit is contained in:
parent
f5f4498b25
commit
8969485ccc
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ use dns::Dns; // necessary to work around https://github.com/rust-lang/rust/issu
|
|||
use std::str::FromStr;
|
||||
#[cfg(feature="ditherpunk")]
|
||||
use gam::DecodePng;
|
||||
#[cfg(feature="tls")]
|
||||
use std::convert::TryInto;
|
||||
#[cfg(feature="tls")]
|
||||
use tungstenite::{WebSocket, stream::MaybeTlsStream};
|
||||
|
|
@ -39,6 +40,7 @@ impl NetCmd {
|
|||
dns: dns::Dns::new(&xns).unwrap(),
|
||||
#[cfg(any(target_os = "none", target_os = "xous"))]
|
||||
ping: None,
|
||||
#[cfg(feature="tls")]
|
||||
ws: None,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue