Migrate executor, xinherens, keyring and keystore to 2018 edition (#1585)

This commit is contained in:
Stanislav Tkach
2019-01-29 15:30:07 +02:00
committed by Gav Wood
parent ecffe0c371
commit e6839d2d41
14 changed files with 42 additions and 80 deletions
+4 -16
View File
@@ -20,27 +20,15 @@
// https://github.com/paritytech/substrate/issues/1547
#![allow(deprecated)]
extern crate substrate_primitives;
extern crate parity_crypto as crypto;
extern crate subtle;
extern crate rand;
extern crate serde_json;
extern crate hex;
#[macro_use]
extern crate serde_derive;
#[macro_use]
extern crate error_chain;
#[cfg(test)]
extern crate tempdir;
use std::collections::HashMap;
use std::path::PathBuf;
use std::fs::{self, File};
use std::io::{self, Write};
use serde_derive::{Serialize, Deserialize};
use error_chain::{error_chain, error_chain_processing, impl_error_chain_processed,
impl_extract_backtrace, impl_error_chain_kind};
use substrate_primitives::{hashing::blake2_256, ed25519::{Pair, Public, PKCS_LEN}};
pub use crypto::KEY_ITERATIONS;