forked from brl/citadel-tools
external crate declarations no longer needed
This commit is contained in:
parent
b258604fd0
commit
c864e58f6d
@ -2,11 +2,6 @@
|
|||||||
#[macro_use] extern crate lazy_static;
|
#[macro_use] extern crate lazy_static;
|
||||||
#[macro_use] extern crate log;
|
#[macro_use] extern crate log;
|
||||||
#[macro_use] extern crate serde_derive;
|
#[macro_use] extern crate serde_derive;
|
||||||
extern crate env_logger;
|
|
||||||
extern crate serde;
|
|
||||||
extern crate toml;
|
|
||||||
extern crate inotify;
|
|
||||||
extern crate nix;
|
|
||||||
|
|
||||||
mod desktop;
|
mod desktop;
|
||||||
mod parser;
|
mod parser;
|
||||||
|
@ -3,6 +3,7 @@ name = "citadel-image"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Bruce Leidl <bruce@subgraph.com>"]
|
authors = ["Bruce Leidl <bruce@subgraph.com>"]
|
||||||
homepage = "https://github.com/subgraph/citadel"
|
homepage = "https://github.com/subgraph/citadel"
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libcitadel = { path = "../libcitadel" }
|
libcitadel = { path = "../libcitadel" }
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
#[macro_use] extern crate failure;
|
#[macro_use] extern crate failure;
|
||||||
#[macro_use] extern crate serde_derive;
|
#[macro_use] extern crate serde_derive;
|
||||||
|
|
||||||
extern crate clap;
|
|
||||||
extern crate toml;
|
|
||||||
|
|
||||||
use std::process::exit;
|
use std::process::exit;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
#[macro_use] extern crate failure;
|
#[macro_use] extern crate failure;
|
||||||
extern crate libc;
|
|
||||||
extern crate rpassword;
|
|
||||||
extern crate libcitadel;
|
|
||||||
|
|
||||||
mod installer;
|
mod installer;
|
||||||
mod cli;
|
mod cli;
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
#[macro_use] extern crate failure;
|
#[macro_use] extern crate failure;
|
||||||
#[macro_use] extern crate libcitadel;
|
#[macro_use] extern crate libcitadel;
|
||||||
|
|
||||||
extern crate libc;
|
|
||||||
|
|
||||||
use std::process::exit;
|
use std::process::exit;
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
#[macro_use] extern crate failure;
|
#[macro_use] extern crate failure;
|
||||||
#[macro_use] extern crate serde_derive;
|
#[macro_use] extern crate serde_derive;
|
||||||
|
|
||||||
extern crate libc;
|
|
||||||
extern crate clap;
|
|
||||||
extern crate toml;
|
|
||||||
extern crate termcolor;
|
|
||||||
extern crate walkdir;
|
|
||||||
|
|
||||||
use failure::Error;
|
use failure::Error;
|
||||||
use clap::{App,Arg,ArgMatches,SubCommand};
|
use clap::{App,Arg,ArgMatches,SubCommand};
|
||||||
use clap::AppSettings::*;
|
use clap::AppSettings::*;
|
||||||
|
@ -20,13 +20,6 @@ macro_rules! notify {
|
|||||||
($fmt:expr, $($arg:tt)+) => { println!("[+] {}", format!($fmt, $($arg)+)); };
|
($fmt:expr, $($arg:tt)+) => { println!("[+] {}", format!($fmt, $($arg)+)); };
|
||||||
}
|
}
|
||||||
|
|
||||||
extern crate libc;
|
|
||||||
extern crate serde;
|
|
||||||
extern crate toml;
|
|
||||||
extern crate ring;
|
|
||||||
extern crate untrusted;
|
|
||||||
extern crate rustc_serialize;
|
|
||||||
|
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
use std::result;
|
use std::result;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user