added: launch_profile foundation primitives (rules, templates, model)

introduce the launch_profile module with the core types and pure functions
needed to parse, evaluate, and substitute against mojang-format version
JSON: Rule/OsCondition/FeatureSet with a single rule evaluator,
TemplateContext + substitute() for ${var} expansion, and the
LaunchProfile schema mirroring mojang's on-disk shape. no consumers yet.
This commit is contained in:
objz committed 2026-05-25 14:02:18 +02:00
1 parent 50e31f38bb
commit 22e4481a2b
5 files changed
+853

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
// foundation primitives for parsing, merging, and rendering mojang-format
// launch profiles. consumed by the vanilla launcher, forge/neoforge,
// fabric/quilt - anything that reads a mojang-style version JSON.
//
// phase 1 is pure additions: no consumers yet. later phases will wire
// these primitives into the launch pipeline and the installer paths.
pub mod model;
pub mod rules;
pub mod templates;