mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-08 00:17:31 +00:00
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:
parent
ded27f48d5
commit
e56b10f835
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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};
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user