pub fn setup_project(
db: &mut dyn Database,
path: &Path,
) -> Result<Vec<CrateInput>, ProjectError>Expand description
Setup the ‘db’ to compile the project in the given path. The path can be either a directory with cairo project file or a .cairo file. Returns the ids of the project crates.