pub trait ManifestParser {
// Required methods
fn manifest_name(&self) -> &str;
fn can_parse(&self, manifest_path: &Path) -> bool;
fn parse(
&self,
manifest_path: &Path,
workspace_root: &Path,
) -> Result<(Project, Vec<Dependency>), KdoError>;
}Expand description
Trait implemented by each language-specific manifest parser.
Required Methods§
Sourcefn manifest_name(&self) -> &str
fn manifest_name(&self) -> &str
Returns the canonical manifest filename (e.g., Cargo.toml).