pub fn setup_project(
db: &mut dyn Database,
path: &Path,
) -> Result<Vec<CrateInput>, ProjectError>Expand description
Sets up the DB to compile the project at the given path.
The path can be either a directory with a Cairo project file or a .cairo file.
Returns the IDs of the project crates.