verbosity: Verbosity,
}
+impl fmt::Debug for Shell {
+ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+ write!(f, "Shell")
+ }
+}
+
enum ShellOut {
Write(Box<Write>),
Stream(StandardStream, ColorChoice),
use util::{CargoResult, profile};
/// Contains information about how a package should be compiled.
+#[derive(Debug)]
pub struct CompileOptions<'a> {
pub config: &'a Config,
/// Number of concurrent jobs to use.
Doctest,
}
-#[derive(Clone, Copy, PartialEq, Eq, Deserialize)]
+#[derive(Clone, Copy, Debug, PartialEq, Eq, Deserialize)]
pub enum MessageFormat {
Human,
Json
}
}
-#[derive(Clone, Copy)]
+#[derive(Clone, Copy, Debug)]
pub enum FilterRule<'a> {
All,
Just (&'a [String]),
}
+#[derive(Debug)]
pub enum CompileFilter<'a> {
Everything {
/// Flag whether targets can be safely skipped when required-features are not satisfied.
use util::{self, CargoResult, internal, ProcessBuilder};
+#[derive(Debug)]
pub struct Rustc {
pub path: PathBuf,
pub wrapper: Option<PathBuf>,