We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62091a0 commit e719558Copy full SHA for e719558
src/api.rs
@@ -6,7 +6,7 @@ use anyhow::Context;
6
use log::info;
7
use poem::{
8
http::StatusCode,
9
- listener::{self, TcpListener, UnixListener},
+ listener::{TcpListener, UnixListener},
10
Route, Server
11
};
12
use poem_openapi::{
@@ -19,8 +19,7 @@ use poem_openapi::{
19
use serde::Deserialize;
20
use std::{
21
collections::HashMap,
22
- fs::FileType,
23
- os::{self, unix::fs::FileTypeExt},
+ os::unix::fs::FileTypeExt,
24
path::Path,
25
sync::{atomic::Ordering, Arc}
26
0 commit comments