Struct cargo_tarpaulin::config::Config
[−]
[src]
pub struct Config { pub manifest: PathBuf, pub run_ignored: bool, pub verbose: bool, pub line_coverage: bool, pub branch_coverage: bool, pub generate: Vec<OutputFile>, pub coveralls: Option<String>, pub ci_tool: Option<CiService>, }
Specifies the current configuration tarpaulin is using.
Fields
manifest: PathBuf
run_ignored: bool
verbose: bool
line_coverage: bool
branch_coverage: bool
generate: Vec<OutputFile>
coveralls: Option<String>
Key relating to coveralls service or repo
ci_tool: Option<CiService>
Enum representing CI tool used.
Methods
impl Config
[src]
fn from_args(args: &ArgMatches) -> Config
Create configuration from clap ArgMatches.
fn is_coveralls(&self) -> bool
Determine whether to send data to coveralls