#[non_exhaustive]pub struct Config {Show 16 fields
pub command: Option<String>,
pub app: Option<AppPart>,
pub game: Option<GameProgram>,
pub check_keys: Option<CheckKeys>,
pub check_text: Option<CheckText>,
pub rules: Option<String>,
pub font_atlas: Option<FontAtlas>,
pub web: Option<Web>,
pub notices: Option<Notices>,
pub export: Option<ExportPart>,
pub disclosure: Option<Disclosure>,
pub glyph_tiles: Option<GlyphTiles>,
pub private_assets: Option<PrivateAssets>,
pub targets: BTreeMap<String, TargetSetting>,
pub target_profiles: Option<String>,
pub assets: Option<String>,
}Expand description
What shuyi.ron says.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.command: Option<String>What the project calls this tool in what it prints (usage: …,
generated files): shuyi unless it says otherwise.
app: Option<AppPart>Who the game is: its name, id, version and storage’s name, which
check --target checks and app-info writes as Rust
(crate::app_info).
game: Option<GameProgram>The game’s tool program, for frame-png and lang-status.
check_keys: Option<CheckKeys>check-keys.
check_text: Option<CheckText>check-text.
rules: Option<String>The game’s rules package, which lint checks is fenced: clippy’s
bans and no screen, device or tool crate under it (ADR-0032 §4).
font_atlas: Option<FontAtlas>font-atlas.
web: Option<Web>web.
notices: Option<Notices>The game’s own license texts, which its packages carry.
export: Option<ExportPart>What export turns on and ships beside the program.
disclosure: Option<Disclosure>What the game’s packages may hold, which export holds each final
package to (crate::export::disclosure).
glyph_tiles: Option<GlyphTiles>glyph-tiles.
private_assets: Option<PrivateAssets>private-assets.
targets: BTreeMap<String, TargetSetting>check --target: the targets the game ships on, by the id of
their profile (ADR-0008 §1), and how it shows its frame on each.
It lists only those.
target_profiles: Option<String>The folder of the game’s own target profiles, if it has any: each adds a target, or replaces the engine’s of its id.
assets: Option<String>The folder of the game’s files, which run --watch lays over the
embedded ones: assets unless it says.