2018-06-04 10:19:50 +02:00
|
|
|
// Copyright 2015-2018 Parity Technologies (UK) Ltd.
|
2016-12-11 19:15:58 +01:00
|
|
|
// This file is part of Parity.
|
|
|
|
|
|
|
|
// Parity is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
|
|
|
// Parity is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
//! Updater for Parity executables
|
|
|
|
|
2018-07-10 12:17:53 +02:00
|
|
|
#![warn(missing_docs)]
|
|
|
|
|
2019-01-04 14:05:46 +01:00
|
|
|
extern crate common_types;
|
2018-02-09 09:32:06 +01:00
|
|
|
extern crate ethabi;
|
|
|
|
extern crate ethcore;
|
2018-04-10 12:13:49 +02:00
|
|
|
extern crate ethcore_sync as sync;
|
2018-01-10 13:35:18 +01:00
|
|
|
extern crate ethereum_types;
|
2018-04-03 16:49:23 +02:00
|
|
|
extern crate keccak_hash as hash;
|
2019-01-04 14:05:46 +01:00
|
|
|
extern crate parity_bytes as bytes;
|
2018-02-09 09:32:06 +01:00
|
|
|
extern crate parity_hash_fetch as hash_fetch;
|
2019-01-04 14:05:46 +01:00
|
|
|
extern crate parity_path;
|
2017-12-22 14:37:39 +01:00
|
|
|
extern crate parity_version as version;
|
2018-02-09 09:32:06 +01:00
|
|
|
extern crate parking_lot;
|
2018-04-03 16:49:23 +02:00
|
|
|
extern crate rand;
|
2017-10-16 17:28:59 +02:00
|
|
|
extern crate semver;
|
2018-02-09 09:32:06 +01:00
|
|
|
extern crate target_info;
|
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
extern crate ethabi_contract;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate ethabi_derive;
|
|
|
|
#[macro_use]
|
2018-04-03 16:49:23 +02:00
|
|
|
extern crate lazy_static;
|
|
|
|
#[macro_use]
|
2018-02-09 09:32:06 +01:00
|
|
|
extern crate log;
|
2016-12-11 19:15:58 +01:00
|
|
|
|
2018-04-03 16:49:23 +02:00
|
|
|
#[cfg(test)]
|
|
|
|
extern crate tempdir;
|
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
#[macro_use]
|
|
|
|
extern crate matches;
|
|
|
|
|
2016-12-11 19:15:58 +01:00
|
|
|
mod updater;
|
2016-12-11 22:47:43 +01:00
|
|
|
mod types;
|
2017-10-16 17:28:59 +02:00
|
|
|
mod service;
|
2016-12-11 22:47:43 +01:00
|
|
|
|
2018-02-09 09:32:06 +01:00
|
|
|
pub use service::Service;
|
2017-10-16 17:28:59 +02:00
|
|
|
pub use types::{ReleaseInfo, OperationsInfo, CapState, VersionInfo, ReleaseTrack};
|
2016-12-22 18:26:39 +01:00
|
|
|
pub use updater::{Updater, UpdateFilter, UpdatePolicy};
|