mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
misc: Remove unnecessary "extern crate"
Now all crates use edition = "2018" then the majority of the "extern crate" statements can be removed. Only those for importing macros need to remain. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
1205bce0ef
commit
496ceed1d0
@@ -5,9 +5,6 @@
|
||||
|
||||
#[macro_use(crate_authors)]
|
||||
extern crate clap;
|
||||
extern crate api_client;
|
||||
extern crate serde_json;
|
||||
extern crate vmm;
|
||||
|
||||
use api_client::simple_api_command;
|
||||
use api_client::Error as ApiClientError;
|
||||
|
||||
@@ -3,14 +3,8 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
extern crate anyhow;
|
||||
extern crate signal_hook;
|
||||
extern crate vmm;
|
||||
extern crate vmm_sys_util;
|
||||
|
||||
#[macro_use(crate_authors)]
|
||||
extern crate clap;
|
||||
|
||||
#[macro_use]
|
||||
extern crate event_monitor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user