sparklers 0.1.1

Safe, ergonomic Rust bindings to the Sparkle application update framework for macOS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub type Result<T> = std::result::Result<T, Error>;

#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error(transparent)]
    Io(#[from] std::io::Error),

    #[error("Invalid feed URL: {0}")]
    InvalidFeedUrl(String),

    #[error("Sparkle initialization failed: {0}")]
    SparkleInit(String),

    #[error("Updater not ready")]
    UpdaterNotReady,
}