Skip to main content

xila/
lib.rs

1//! Xila Core façade crate.
2//!
3//! This crate re-exports the core subsystems, libraries, and drivers that form
4//! the Xila host runtime:
5//!
6//! - **Subsystems**: [`task`], [`lifecycle`], [`virtual_file_system`], [`users`],
7//!   [`time`], [`log`], [`memory`], and (with the `network` and `graphics` features)
8//!   [`network`] and [`graphics`].
9//! - **System libraries & storage**: [`authentication`], [`executable`],
10//!   [`file_system`], [`little_fs`], [`memory_file_system`], [`internationalization`],
11//!   [`shared`], and [`synchronization`].
12//! - **Optional capabilities**: [`audio`] (`audio`), [`neural_network`] and
13//!   [`drivers_neural_network`] (`neural_network`), [`bootsplash`] (`bootsplash`), and
14//!   [`time_zone`] and [`local_time`] (`time_zone`; the IANA zone name tables are
15//!   features of `xila-time-zone` itself, such as `iana-europe` or `iana-all`).
16
17#![no_std]
18
19pub mod about;
20
21#[cfg(feature = "audio")]
22pub use audio;
23
24#[cfg(feature = "neural_network")]
25pub use drivers_neural_network;
26#[cfg(feature = "neural_network")]
27pub use neural_network;
28
29pub use authentication;
30#[cfg(feature = "bluetooth")]
31pub use bluetooth;
32#[cfg(feature = "crash")]
33pub use crash;
34pub use embedded_i18n as internationalization;
35pub use executable;
36pub use file_system;
37pub use file_system::io_error;
38pub use lifecycle;
39pub use little_fs;
40pub use log;
41pub use memory;
42pub use memory_file_system;
43#[cfg(feature = "network")]
44pub use network;
45pub use shared;
46pub use synchronization;
47pub use task;
48pub use time;
49pub use users;
50pub use virtual_file_system;
51
52#[cfg(feature = "bootsplash")]
53pub use bootsplash;
54
55/// Time zone and daylight saving conversion with POSIX TZ rule strings
56/// (`xila-time-zone`). With the region features of `xila-time-zone`, such as
57/// `iana-europe` or `iana-all`, the `time_zone::iana` module maps IANA zone
58/// names to their POSIX TZ strings.
59#[cfg(feature = "time_zone")]
60pub use time_zone;
61
62/// The system time zone setting (`xila-local-time`): its storage in
63/// `/configuration/system/time_zone.json`, its loading at start-up and its
64/// publication to every task as the POSIX `TZ` environment variable.
65#[cfg(feature = "time_zone")]
66pub use local_time;
67
68#[cfg(feature = "graphics")]
69pub use graphics;