()
| 5222 | } |
| 5223 | |
| 5224 | fn load_sources_manifest() -> Result<SourcesManifest> { |
| 5225 | let path = Path::new("assets/sources.toml"); |
| 5226 | let text = fs::read_to_string(path).with_context(|| format!("read {}", path.display()))?; |
| 5227 | toml::from_str(&text).context("parse assets/sources.toml") |
| 5228 | } |
| 5229 | |
| 5230 | fn validate_sources_manifest(manifest: &SourcesManifest) -> Result<()> { |
| 5231 | if manifest.sources.is_empty() { |
no outgoing calls
no test coverage detected