updatehub_sdk/lib.rs
1// Copyright (C) 2019, 2020 O.S. Systems Sofware LTDA
2//
3// SPDX-License-Identifier: Apache-2.0
4
5//! The `updatehub-sdk` crate is used to communicate with UpdateHub Agent.
6//!
7//! When running an agent instance, the API provides some methods
8//! for communicating with UpdateHub:
9//!
10//! - [abort_download](Client::abort_download)
11//! - [info](Client::info)
12//! - [local_install](Client::local_install)
13//! - [log](Client::log)
14//! - [probe](Client::probe)
15//! - [remote_install](Client::remote_install)
16
17pub mod api;
18mod client;
19mod error;
20pub mod listener;
21mod serde_helpers;
22
23pub use client::Client;
24pub use error::{Error, Result};