settings_model/lib.rs
1//! What settings are, as data: where a typed setting lives and how far it travels
2//! ([`Scope`], [`SettingsSchema`]), which kind of device reads it ([`DeviceClass`]), the names a
3//! theme is chosen by ([`theme`]), the sections every app reads ([`text_assistance`],
4//! [`appearance`], [`accessibility`], [`day_schedule`], [`control_hints`],
5//! [`personal_dictionary`]) and the document a host installs for its process to read
6//! ([`source`]).
7//!
8//! It keeps no file and draws nothing, so it builds for WebAssembly: `settings-store` keeps the
9//! person's document and its typed keys, the toolkit reads and draws it.
10
11pub mod accessibility;
12pub mod appearance;
13pub mod control_hints;
14pub mod day_schedule;
15mod device_class;
16pub mod personal_dictionary;
17mod schema;
18pub mod source;
19pub mod text_assistance;
20pub mod theme;
21
22pub use device_class::DeviceClass;
23pub use schema::{
24 APP_DEVICE_LOCAL_SECTION, APP_PERSONAL_SECTION, MAX_PERSONAL_VALUE_BYTES, Scope, SettingsSchema,
25};
26
27#[doc(hidden)]
28pub use serde_json as __serde_json;