rustjail: remove the unused imported crates

remove the unused imported crates

Signed-off-by: fupan.lfp <fupan.lfp@antfin.com>
This commit is contained in:
fupan.lfp 2020-03-19 20:22:15 +08:00
parent ded27f48d5
commit e56b10f835
4 changed files with 1 additions and 4 deletions

View File

@ -44,7 +44,7 @@ use nix::unistd::{self, ForkResult, Gid, Pid, Uid};
use nix::Error;
use libc;
use protobuf::{CachedSize, SingularPtrField, UnknownFields};
use protobuf::SingularPtrField;
use oci::State as OCIState;
use std::collections::HashMap;

View File

@ -26,7 +26,6 @@ use crate::errors::*;
use lazy_static;
use std::string::ToString;
use protobuf::{CachedSize, RepeatedField, UnknownFields};
use slog::Logger;
// Info reveals information about a particular mounted filesystem. This

View File

@ -4,7 +4,6 @@ use lazy_static;
use nix::errno::Errno;
use nix::Error;
use oci::{LinuxIDMapping, LinuxNamespace, Spec};
use protobuf::RepeatedField;
use std::collections::HashMap;
use std::path::{Component, PathBuf};

View File

@ -16,7 +16,6 @@ extern crate regex;
extern crate rustjail;
extern crate serde_json;
extern crate signal_hook;
#[macro_use]
extern crate scan_fmt;
extern crate oci;