Expand description
macOS / desktop config transport selection. Apple host→widget transport: one driver, chosen by config (not runtime fan-out).
Availability (containerURL, suite exists) is not delivery proof — the
developer picks crate::config::TransportKind from signing knowledge.
Structs§
- Fake
Transport - In-memory transport for unit tests.
- Receipt
- Widget-side ack that it rendered a config from a specific transport.
Constants§
- NAME_
APPGROUP - Driver name written into widget receipts (
appgroupfile transport). - NAME_
CONTAINER - Driver name for widget extension container file.
- NAME_
DEFAULTS - Driver name for App Group
UserDefaultssuite.
Traits§
- Transport
- Host-side read/write channel to the widget extension.
Functions§
- build_
driver - Fail loud when the chosen transport cannot be constructed.
- pick_
freshest_ maps - Thin alias of
store::pick_freshestfor transport callers. - resolve_
driver - Resolve a single host transport from plugin config (+
WIDGET_TRANSPORT). - validate_
mobile_ transport - iOS: only
appGroup(orauto→ appGroup). Other kinds fail at init. Android: Apple-only transports are ignored (treated as AppGroup / SharedPreferences).