launchpad: drive the endpoints from data/launchpad.yml

This commit is contained in:
2026-09-18 13:27:20 +02:00
parent ead97e1213
commit 7af767898e
5 changed files with 117 additions and 14 deletions
+3 -2
View File
@@ -7,8 +7,9 @@
//!
//! This module is deliberately not a central registry: each file is
//! embedded by the module that owns it (distro_info.rs owns
//! data/distro_info.yml, put/ssh.rs owns data/host_keys.yml, quirks.rs
//! owns data/quirks.yml) through the [`embed_data!`] macro below, so data
//! data/distro_info.yml, launchpad.rs owns data/launchpad.yml, put/ssh.rs
//! owns data/host_keys.yml, quirks.rs owns data/quirks.yml) through the
//! [`embed_data!`] macro below, so data
//! and its accessors stay together and a diff touching one domain cannot
//! half-touch another. The macro embeds the file at compile time and
//! parses it once into a `lazy_static` on first use; since the data ships