Skip to main content

Crate libupdated

Crate libupdated 

Source

Re-exports§

pub use traits::*;

Modules§

checks
Implementations of IntegriryChecks for updates, e.g. simple timeout, systemd is_system_running.
directory_installer
Simple installer that copys the update files to a target directory.
directory_source
Simple update source that scans a directory for an update.
file_store
Simple persistent store that saves key-value pairs to a file.
log_reporter
Simple progress reporter that logs progress messages to the console.
traits
trigger
Implementations of UpdateTriggers, e.g. Sleep.
update_workflow
This module contains generic building blocks for update workflows.
util
workflow_runner
This module contains building blocks to search, configure and run update workflows.

Attribute Macros§

workflow
Helper macro to register a workflow by name. Updated can select a registered workflow at run-time. Currently, you must force linkage to the crate that contains the workflow function by declaring extern crate <your workflow crate>; in updated’s main.rs. Otherwise, the linker will skip the dependency as its symbols seem to be unused.