Skip to main content

Module project

Module project 

Source
Expand description

Phase 36/37/39: Project Module System

Infrastructure for managing LOGOS projects.

This module provides the foundational types for working with LOGOS projects, from manifest parsing through build orchestration to registry publishing.

§Submodules

ModulePurpose
manifestParse and serialize Largo.toml manifests
buildCompile and run LOGOS projects
credentialsStore and retrieve API tokens
registryCommunicate with the package registry
shapeWhat a project is — the one decision every command reads

§Re-exports

This module re-exports common types for convenience:

§Module Loading

The Loader and ModuleSource types are re-exported from the compile crate for loading LOGOS modules from various URI schemes.

Re-exports§

pub use build::build;
pub use build::classify_cargo_failure;
pub use build::find_project_root;
pub use build::run;
pub use build::BuildConfig;
pub use build::BuildError;
pub use build::BuildResult;
pub use build::CargoFailure;
pub use build::CargoFailureKind;
pub use credentials::get_token as get_registry_token;
pub use credentials::Credentials;
pub use manifest::Manifest;
pub use manifest::ManifestError;
pub use registry::create_tarball;
pub use registry::is_git_dirty;
pub use registry::RegistryClient;

Modules§

build
Phase 37: Build Orchestration
build_c
The C build: largo build [--release] --emit c|c-bytecode.
credentials
Phase 39: Credential Management
deps
G10 — local dependency linking: resolve Largo.toml [dependencies] into the loader’s admitted dependency roots, and describe the assembled linked closure.
manifest
Phase 37: Largo.toml Manifest Parser
registry
Phase 39: Registry Client
shape
What a project IS — decided once, read by every largo command.

Structs§

Loader
Module loader that handles multiple URI schemes.
ModuleSource
A loaded module’s source content and metadata.