Skip to main content

Module manifest

Module manifest 

Source
Expand description

Phase 37: Largo.toml Manifest Parser

Parses project manifests for LOGOS build configuration.

The manifest file (Largo.toml) defines project metadata, dependencies, and build settings. This module provides types for parsing and serializing these manifests.

§Example Manifest

[package]
name = "my_project"
version = "1.0.0"
description = "A LOGOS project"
entry = "src/main.lg"

[dependencies]
std = "logos:std"
math = { path = "./math" }

Structs§

DependencyDetail
Detailed dependency specification.
Manifest
Project manifest (Largo.toml).
Package
Package metadata from the [package] section.
ResolvedDep
Where a declared dependency’s source is rooted on disk, resolved from the manifest against a canonical project root.
TestSection
The [test] section: conscious debt budgets for the test runner.
WebSection
The [web] section: a site’s opt-out of the framework’s built-in theme.

Enums§

DepSource
The origin a ResolvedDep was resolved from.
DependencyError
An error resolving a [dependencies] declaration into a ResolvedDep.
DependencySpec
Dependency specification.
ManifestError
Errors that can occur when loading a manifest