Skip to main content

Module project

Module project 

Source
Expand description

Project root detection and shape.toml configuration

Discovers the project root by walking up from a starting directory looking for a shape.toml file, then parses its configuration.

This module is split into submodules for maintainability:

  • dependency_spec — dependency specification types and native dependency handling
  • permissions — permission-related types and logic
  • sandbox — sandbox configuration and parsing helpers
  • project_config — project configuration parsing and discovery

Re-exports§

pub use sandbox::SandboxSection;
pub use dependency_spec::*;
pub use permissions::*;
pub use project_config::*;

Modules§

dependency_spec
Dependency specification types for shape.toml [dependencies].
permissions
Permission-related types and logic for shape.toml [permissions].
project_config
Project configuration parsing and discovery.
sandbox
Sandbox configuration for shape.toml [sandbox].