forked from paritytech/substrate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaning up dependencies (paritytech#125)
* cargo update * Update to latest ctrlc crate * Update vergen * Update to latest pretty_assertions * Update log * Update parking_lot * Update hex-rustc
- Loading branch information
Showing
16 changed files
with
122 additions
and
117 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,8 @@ authors = ["Parity Technologies <[email protected]>"] | |
|
||
[dependencies] | ||
polkadot-primitives = { path = "../primitives" } | ||
parking_lot = "0.4" | ||
log = "0.3" | ||
parking_lot = "0.7.1" | ||
log = "0.4.6" | ||
parity-codec = "3.0" | ||
substrate-primitives = { git = "https://github.com/paritytech/substrate" } | ||
kvdb = { git = "https://github.com/paritytech/parity-common", rev="616b40150ded71f57f650067fcbc5c99d7c343e6" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <[email protected]>"] | |
description = "Polkadot node implementation in Rust." | ||
|
||
[dependencies] | ||
log = "0.3" | ||
log = "0.4.6" | ||
tokio = "0.1.7" | ||
futures = "0.1.17" | ||
exit-future = "0.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,10 @@ authors = ["Parity Technologies <[email protected]>"] | |
|
||
[dependencies] | ||
futures = "0.1.17" | ||
parking_lot = "0.4" | ||
parking_lot = "0.7.1" | ||
tokio = "0.1.7" | ||
error-chain = "0.12" | ||
log = "0.3" | ||
log = "0.4.6" | ||
exit-future = "0.1" | ||
parity-codec = "3.0" | ||
polkadot-availability-store = { path = "../availability-store" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <[email protected]>"] | |
|
||
[dependencies] | ||
bitvec = { version = "0.8", default-features = false, features = ["alloc"] } | ||
rustc-hex = "1.0" | ||
rustc-hex = { version = "2.0.1", default-features = false } | ||
log = { version = "0.3", optional = true } | ||
serde = { version = "1.0", default-features = false } | ||
serde_derive = { version = "1.0", optional = true } | ||
|
@@ -50,6 +50,7 @@ default = ["std"] | |
std = [ | ||
"bitvec/std", | ||
"polkadot-primitives/std", | ||
"rustc-hex/std", | ||
"parity-codec/std", | ||
"parity-codec-derive/std", | ||
"substrate-primitives/std", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file modified
BIN
-13.1 KB
(97%)
runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm
Binary file not shown.
Binary file modified
BIN
-77.5 KB
(89%)
runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,10 @@ version = "0.3.0" | |
authors = ["Parity Technologies <[email protected]>"] | ||
|
||
[dependencies] | ||
parking_lot = "0.4" | ||
parking_lot = "0.7.1" | ||
error-chain = "0.12" | ||
lazy_static = "1.0" | ||
log = "0.3" | ||
log = "0.4.6" | ||
slog = "^2" | ||
tokio = "0.1.7" | ||
hex-literal = "0.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,11 +31,6 @@ use futures::{future, Future}; | |
|
||
use std::cell::RefCell; | ||
|
||
mod vergen { | ||
#![allow(unused)] | ||
include!(concat!(env!("OUT_DIR"), "/version.rs")); | ||
} | ||
|
||
// the regular polkadot worker simply does nothing until ctrl-c | ||
struct Worker; | ||
impl cli::IntoExit for Worker { | ||
|
@@ -45,11 +40,11 @@ impl cli::IntoExit for Worker { | |
let (exit_send, exit) = oneshot::channel(); | ||
|
||
let exit_send_cell = RefCell::new(Some(exit_send)); | ||
ctrlc::CtrlC::set_handler(move || { | ||
ctrlc::set_handler(move || { | ||
if let Some(exit_send) = exit_send_cell.try_borrow_mut().expect("signal handler not reentrant; qed").take() { | ||
exit_send.send(()).expect("Error sending exit notification"); | ||
} | ||
}); | ||
}).expect("Error setting Ctrl-C handler"); | ||
|
||
exit.map_err(drop) | ||
} | ||
|
@@ -68,7 +63,7 @@ quick_main!(run); | |
fn run() -> cli::error::Result<()> { | ||
let version = VersionInfo { | ||
name: "Parity Polkadot", | ||
commit: vergen::short_sha(), | ||
commit: env!("VERGEN_SHA_SHORT"), | ||
version: env!("CARGO_PKG_VERSION"), | ||
executable_name: "polkadot", | ||
author: "Parity Team <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters