Trait MigrationSource

Source
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§

Source

fn extract_dependencies(&self, project_dir: &Path) -> Result<Vec<Dependency>>

Extracts dependencies from the project directory

Implementors§