Skip to content

Libraries ​

Libraries expose reusable contracts, types, protocols, algorithms, adapters and concrete implementations without owning an independently installed runtime service. They may be internally stateful or use subsystem interfaces; architectural ownership and lifecycle determine placement.

Common foundations ​

Contracts and implementations ​

Execution and support ​

See Subsystems for runtime owners, Drivers for target implementations and Executables for launched programs and Wasmi integration.

Library API boundaries ​

Each page describes what code may rely on, how resources and lifetimes are managed, and what remains incomplete. Distinguish the named Cargo crate from the runtime owner: for example, audio manages caller-owned PCM streams while Graphics owns the active LVGL runtime.

For code links, the Core repository uses libraries/<crate>/ after Core #457. The eight runtime-owned services instead live under subsystems/. Internationalization is an external embedded-i18n integration, not a separate first-party crate, so use its page for build-time locale workflows.

When extending one of these APIs, check the direct source links in its page and the generated host Rustdoc for exact method names, feature gates, preconditions, error types and ownership constraints.