Expand description
pite-project: pite.toml manifest, res:// paths, templates.
Structs§
- Export
Config - Export settings. Everything defaults.
platformswas removed in 0.1.1 (export never read it); manifests that still carry it parse untouched and warn viavalidate_manifest. - Pite
Manifest - Project
Meta - Vendor
Entry - One pinned package in
[vendor].sha256covers the stored artifact: the wheel file when zipped, a canonical tree hash when unpacked.
Constants§
Functions§
- create_
project - deprecated_
replacement - Replacement for a deprecated manifest key, if any. Empty today: the registry exists so a future rename warns instead of silently changing meaning.
- find_
project_ root - load_
manifest - resolve_
res - save_
manifest - Write the manifest back to
dir/pite.toml. Serializes throughtoml::Value(sorted tables) so saves are byte-stable even with unknownextrakeys aboard; known fields land alphabetically on disk. - template_
scene - Fresh
main.pitesceneforcreate_project. The format version comes from thepite-sceneconst so scaffolds track format bumps. - to_
res_ path - validate_
manifest - Pure manifest validation: unknown/deprecated keys warn (sorted, stable),
impossible values error. Filesystem checks (icon exists) live in
pite check.