mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
cleanup some warnings
This commit is contained in:
parent
4454dffe4e
commit
d19020a9ad
3 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
use crate::{danger, Tls};
|
||||
use locales::t;
|
||||
#[cfg(feature = "rootCA")]
|
||||
use modals::Modals;
|
||||
use std::convert::TryInto;
|
||||
use std::io::Read;
|
||||
|
|
@ -7,6 +8,7 @@ use std::io::Write;
|
|||
use std::net::TcpStream;
|
||||
use std::str::from_utf8;
|
||||
use std::sync::Arc;
|
||||
#[cfg(feature = "rootCA")]
|
||||
use xous_names::XousNames;
|
||||
|
||||
pub fn shellchat<'a>(
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ use xous_names::XousNames;
|
|||
|
||||
/// PDDB Dict for tls trusted certificates keys
|
||||
const TLS_TRUSTED_DICT: &str = "tls.trusted";
|
||||
#[allow(dead_code)]
|
||||
const CURRENT_VERSION_KEY: &str = "__version";
|
||||
|
||||
pub struct Tls {
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ use der::{Encode, Header, Reader, Tag};
|
|||
use rkyv::{Archive, Deserialize, Serialize};
|
||||
use std::cmp::min;
|
||||
use std::convert::TryInto;
|
||||
#[allow(unused_imports)]
|
||||
use std::fmt;
|
||||
use std::io::{Error, ErrorKind};
|
||||
use x509_parser::prelude::{FromDer, X509Certificate};
|
||||
|
|
|
|||
Loading…
Reference in a new issue