Less glob imports
This commit is contained in:
parent
fc0f7a2fff
commit
df54495c20
@ -1,4 +1,6 @@
|
|||||||
use super::*;
|
use super::{std, help, PackageManager};
|
||||||
|
use management::Management;
|
||||||
|
use std::process::Command;
|
||||||
/// A struct to hold parsed arg data.
|
/// A struct to hold parsed arg data.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct Config {
|
pub struct Config {
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
mod packagemanager;
|
mod packagemanager;
|
||||||
use packagemanager::*;
|
use packagemanager::{PackageManager, read_default};
|
||||||
|
|
||||||
mod management;
|
mod management;
|
||||||
use management::Management;
|
|
||||||
|
|
||||||
mod config;
|
mod config;
|
||||||
use config::Config;
|
use config::Config;
|
||||||
|
|
||||||
use std::process::{Command};//, Child};
|
|
||||||
use std::io;
|
use std::io;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use super::*;
|
use super::{std, help};
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
@ -3,8 +3,7 @@ use std::io::BufReader;
|
|||||||
use std::io::prelude::*;
|
use std::io::prelude::*;
|
||||||
use std::fs::{self, File};
|
use std::fs::{self, File};
|
||||||
use std::env;
|
use std::env;
|
||||||
use super::*;
|
use super::std;
|
||||||
|
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
|
|
||||||
/// Creates a `PackageManager` struct to hold in the needed data
|
/// Creates a `PackageManager` struct to hold in the needed data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user