git-ents.gitmain
⌘K
foforge
mod.rs17 lines · 693 B · rusthistorycomment on this file
1//! The toolchain sub-domain: the [`Toolchain`] entity (`entity`), its
2//! resolution/materialization machinery ([`resolve`]), the `toolchain`
3//! command's business logic (`command`), and the `toolchain`
4//! subcommand's argument grammar (`cli`), kept in separate files so
5//! the data shape, the resolution algorithm, the command mechanism, and
6//! the CLI grammar stay easy to read independently — the same split
7//! `ents-forge`'s `comment` sub-domain uses.
8
9mod cli;
10mod command;
11mod entity;
12mod recipe;
13
14pub use cli::ToolchainAction;
15pub use command::{import, list, log, register, view};
16pub use entity::Toolchain;
17pub use recipe::{Component, Recipe, cache_key, materialize, resolve};