(&self)
| 130 | |
| 131 | impl Build { |
| 132 | pub fn manifest_path(&self) -> PathBuf { |
| 133 | self.cargo_opts |
| 134 | .manifest_path |
| 135 | .clone() |
| 136 | .unwrap_or_else(|| "Cargo.toml".into()) |
| 137 | } |
| 138 | |
| 139 | pub fn output_format(&self) -> &OutputFormat { |
| 140 | self.output_format.as_ref().unwrap_or(&OutputFormat::Binary) |