pub trait MigrationSource {
// Required method
fn extract_dependencies(
&self,
project_dir: &Path,
) -> Result<Vec<Dependency>>;
}
Expand description
Trait for sources that can extract dependencies from project files
Required Methods§
Sourcefn extract_dependencies(&self, project_dir: &Path) -> Result<Vec<Dependency>>
fn extract_dependencies(&self, project_dir: &Path) -> Result<Vec<Dependency>>
Extracts dependencies from the project directory