mirror of
https://github.com/samsonjs/agate.git
synced 2026-03-25 09:05:50 +00:00
Organize imports
This commit is contained in:
parent
471a9927a0
commit
33d39cc34b
1 changed files with 23 additions and 21 deletions
44
src/main.rs
44
src/main.rs
|
|
@ -1,25 +1,27 @@
|
|||
use tokio::{
|
||||
io::{AsyncReadExt, AsyncWriteExt},
|
||||
net::{TcpListener, TcpStream},
|
||||
runtime::Runtime,
|
||||
use {
|
||||
once_cell::sync::Lazy,
|
||||
percent_encoding::{AsciiSet, CONTROLS, percent_decode_str, percent_encode},
|
||||
rustls::{
|
||||
internal::pemfile::{certs, pkcs8_private_keys},
|
||||
NoClientAuth, ServerConfig,
|
||||
},
|
||||
std::{
|
||||
borrow::Cow,
|
||||
error::Error,
|
||||
ffi::OsStr,
|
||||
fs::File,
|
||||
io::BufReader,
|
||||
path::Path,
|
||||
sync::Arc,
|
||||
},
|
||||
tokio::{
|
||||
io::{AsyncReadExt, AsyncWriteExt},
|
||||
net::{TcpListener, TcpStream},
|
||||
runtime::Runtime,
|
||||
},
|
||||
tokio_rustls::{TlsAcceptor, server::TlsStream},
|
||||
url::{Host, Url},
|
||||
};
|
||||
use tokio_rustls::{TlsAcceptor, server::TlsStream};
|
||||
use once_cell::sync::Lazy;
|
||||
use percent_encoding::{AsciiSet, CONTROLS, percent_decode_str, percent_encode};
|
||||
use rustls::{
|
||||
internal::pemfile::{certs, pkcs8_private_keys},
|
||||
NoClientAuth, ServerConfig,
|
||||
};
|
||||
use std::{
|
||||
borrow::Cow,
|
||||
error::Error,
|
||||
ffi::OsStr,
|
||||
fs::File,
|
||||
io::BufReader,
|
||||
path::Path,
|
||||
sync::Arc,
|
||||
};
|
||||
use url::{Host, Url};
|
||||
|
||||
fn main() -> Result {
|
||||
if !ARGS.silent {
|
||||
|
|
|
|||
Loading…
Reference in a new issue