parity-version pr reopen (#7136)
* parity-version module split from util removed unused util deps and features trigger buildbot again only kvdb links rocksdb snappy linker issues * rm snappy * fixed old version imports
This commit is contained in:
@@ -19,4 +19,5 @@ futures = "0.1"
|
||||
parking_lot = "0.4"
|
||||
parity-hash-fetch = { path = "../hash-fetch" }
|
||||
parity-reactor = { path = "../util/reactor" }
|
||||
parity-version = { path = "../util/version" }
|
||||
path = { path = "../util/path" }
|
||||
|
||||
@@ -28,6 +28,7 @@ extern crate ethsync;
|
||||
extern crate futures;
|
||||
extern crate target_info;
|
||||
extern crate parity_reactor;
|
||||
extern crate parity_version as version;
|
||||
extern crate path;
|
||||
extern crate semver;
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
use std::fmt;
|
||||
use semver::{Version};
|
||||
use bigint::hash::H160;
|
||||
use util::misc::raw_package_info;
|
||||
use version::raw_package_info;
|
||||
use types::ReleaseTrack;
|
||||
|
||||
/// Version information of a particular release.
|
||||
|
||||
@@ -34,7 +34,7 @@ use bigint::hash::{H160, H256};
|
||||
use util::Address;
|
||||
use bytes::Bytes;
|
||||
use parking_lot::Mutex;
|
||||
use util::misc;
|
||||
use version;
|
||||
|
||||
/// Filter for releases.
|
||||
#[derive(Debug, Eq, PartialEq, Clone)]
|
||||
@@ -115,7 +115,7 @@ fn platform() -> String {
|
||||
} else if cfg!(target_os = "linux") {
|
||||
format!("{}-unknown-linux-gnu", Target::arch())
|
||||
} else {
|
||||
misc::platform()
|
||||
version::platform()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user