Expand description
Project configuration parsing and discovery.
Contains the top-level ShapeProject struct and functions for parsing
shape.toml files and discovering project roots.
Structs§
- Build
External Section - [build.external] section
- Build
Section - [build] section
- Extension
Entry - An extension entry in [[extensions]]
- Modules
Section - [modules] section
- Project
Root - A discovered project root with its parsed configuration
- Project
Section - [project] section
- Shape
Project - Top-level shape.toml configuration
Enums§
- External
Lock Mode - External input lock mode for compile-time workflows.
Functions§
- find_
project_ root - Walk up from
start_dirlooking for ashape.tomlfile. ReturnsSome(ProjectRoot)if found,Noneotherwise. - normalize_
package_ identity - Normalize project metadata into a canonical package identity.
- normalize_
package_ identity_ with_ fallback - Normalize project metadata into a canonical package identity with explicit fallbacks.
- parse_
shape_ project_ toml - Parse a
shape.tomldocument into aShapeProject. - try_
find_ project_ root - Walk up from
start_dirlooking for ashape.tomlfile.