reformat shellchat with the latest alphabetization rules

This commit is contained in:
bunnie 2024-09-23 17:22:47 +08:00
parent 3a9a7ebf02
commit e61a2e3238

View file

@ -5,6 +5,7 @@ use std::sync::{Arc, Mutex};
use std::thread; use std::thread;
use std::time::{Duration, Instant}; use std::time::{Duration, Instant};
use String;
use com::api::NET_MTU; use com::api::NET_MTU;
use net::NetPingCallback; use net::NetPingCallback;
#[cfg(any(feature = "precursor", feature = "renode"))] #[cfg(any(feature = "precursor", feature = "renode"))]
@ -14,13 +15,12 @@ use num_traits::*;
use perflib::*; use perflib::*;
use xous::MessageEnvelope; use xous::MessageEnvelope;
use xous_ipc::Buffer; use xous_ipc::Buffer;
use String;
#[cfg(feature = "ditherpunk")] #[cfg(feature = "ditherpunk")]
use {gam::DecodePng, std::str::FromStr}; use {gam::DecodePng, std::str::FromStr};
#[cfg(feature = "websocket")] #[cfg(feature = "websocket")]
use { use {
tls::Tls, tls::Tls,
tungstenite::{stream::MaybeTlsStream, WebSocket}, tungstenite::{WebSocket, stream::MaybeTlsStream},
}; };
use crate::{CommonEnv, ShellCmdApi, ShellOpcode}; use crate::{CommonEnv, ShellCmdApi, ShellOpcode};
@ -645,9 +645,9 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
// this starts the performance counter // this starts the performance counter
pm.start(); pm.start();
use aes::Aes256;
use aes::cipher::generic_array::GenericArray; use aes::cipher::generic_array::GenericArray;
use aes::cipher::{BlockEncrypt, KeyInit}; use aes::cipher::{BlockEncrypt, KeyInit};
use aes::Aes256;
let mut key_array: [u8; 32]; let mut key_array: [u8; 32];
let mut data_array: [u8; 16]; let mut data_array: [u8; 16];