Skip to main content

project_layout

Function project_layout 

Source
pub fn project_layout(project: &Path) -> Result<ProjectLayout, Diagnostic>
Expand description

Read the explicit project layout contract used by build and development commands.

ยงErrors

Returns a diagnostic for invalid, unversioned, or unsupported project locks. Lockless custom projects use the current composition-root layout.