Rust App quick guide
The installed public
libertas-rs rustdoc owns exact
runtime APIs. The Rust manual owns full language
behavior; use the annotation inventory for every
schema macro.
What to load
- The Rust App rules card: every project, discovery, export, type-mapping, rustdoc, attribute-spelling, protocol, SDK runtime, persistent data, string resource, Tokio and native build rule generated from the manual.
- The code organization card for module boundaries, explicit type exports and thin entry functions, with the manual's Rust layout.
- The shared cards for the meaning of what the attributes declare: App design, documentation, protocols and runtime and its feature cards, persistent data, calculations, validation rules, presentation, messages (LMF1), AI Import, data-type evolution and Matter.
Where the manual helps most
- Optional types and
labeled decisions:
worked examples for
StringversusOption<T>, Unions and Enumerations. - General field attributes: the Rust spelling of the AI Import example; the AI Import card owns the blank rules.
- Formatted runtime text:
libertas_formatted_textwith typed arguments under the messages card. - Matter SDK dependency
and native build packages
for
Cargo.toml.