Skip to main content

Module project_config

Module project_config 

Source
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§

BuildExternalSection
[build.external] section
BuildSection
[build] section
ExtensionEntry
An extension entry in [[extensions]]
ModulesSection
[modules] section
ProjectRoot
A discovered project root with its parsed configuration
ProjectSection
[project] section
ShapeProject
Top-level shape.toml configuration

Enums§

ExternalLockMode
External input lock mode for compile-time workflows.

Functions§

find_project_root
Walk up from start_dir looking for a shape.toml file. Returns Some(ProjectRoot) if found, None otherwise.
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.toml document into a ShapeProject.
try_find_project_root
Walk up from start_dir looking for a shape.toml file.