pub(crate) trait CompilerBackend {
// Required methods
fn check(
&self,
entry_file: &Path,
deps: &HashMap<String, PathBuf>,
) -> Result<(), DealerError>;
fn build(
&self,
entry_file: &Path,
deps: &HashMap<String, PathBuf>,
output_dir: &Path,
package_name: &str,
rusttime_path: &Path,
) -> Result<(), DealerError>;
fn metadata(
&self,
entry_file: &Path,
) -> Result<ProjectMetadata, DealerError>;
}