From c488b386426fbb946aa6735135f5057a44819309 Mon Sep 17 00:00:00 2001 From: denis Date: Fri, 29 Jan 2021 10:55:12 +0200 Subject: [PATCH] wip: unused imports --- src/common/mod.rs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/common/mod.rs b/src/common/mod.rs index d1479ab20..5356b48d6 100644 --- a/src/common/mod.rs +++ b/src/common/mod.rs @@ -9,7 +9,6 @@ pub mod utils; pub mod wasm_vm; use std::io::Write; -use std::os::unix::net::UnixStream; use std::path::{Path, PathBuf}; use std::sync::mpsc::{channel, sync_channel, Receiver, SendError, Sender, SyncSender}; use std::thread; @@ -20,7 +19,6 @@ use crate::panes::PaneId; use directories_next::ProjectDirs; use input::InputMode; use serde::{Deserialize, Serialize}; -use structopt::StructOpt; use termion::input::TermRead; use wasm_vm::PluginEnv; use wasmer::{ChainableNamedResolver, Instance, Module, Store, Value}; @@ -31,14 +29,10 @@ use crate::layout::Layout; use command_is_executing::CommandIsExecuting; use errors::{AppContext, ContextType, ErrorContext, PluginContext, PtyContext, ScreenContext}; use input::input_loop; -use os_input_output::{get_os_input, OsApi}; -use pty_bus::{PtyBus, PtyInstruction, VteEvent}; +use os_input_output::OsApi; +use pty_bus::{PtyBus, PtyInstruction}; use screen::{Screen, ScreenInstruction}; -use utils::consts::MOSAIC_ROOT_PLUGIN_DIR; -use utils::{ - consts::{MOSAIC_IPC_PIPE, MOSAIC_TMP_DIR, MOSAIC_TMP_LOG_DIR}, - logging::*, -}; +use utils::consts::{MOSAIC_ROOT_PLUGIN_DIR, MOSAIC_IPC_PIPE}; use wasm_vm::{mosaic_imports, wasi_stdout, wasi_write_string, PluginInstruction}; #[derive(Serialize, Deserialize, Debug)]