Skip to content
Snippets Groups Projects
Commit 8247ad56 authored by Stanislav Tkach's avatar Stanislav Tkach Committed by Bastian Köcher
Browse files

Migrate subkey and chain-spec-builder to the 2018 edition (#1605)

parent 24c531cf
No related merge requests found
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
name = "subkey" name = "subkey"
version = "0.1.0" version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"] authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies] [dependencies]
substrate-primitives = { version = "*", path = "../core/primitives" } substrate-primitives = { version = "*", path = "../core/primitives" }
......
...@@ -17,12 +17,8 @@ ...@@ -17,12 +17,8 @@
#![cfg_attr(feature = "bench", feature(test))] #![cfg_attr(feature = "bench", feature(test))]
#[cfg(feature = "bench")] #[cfg(feature = "bench")]
extern crate test; extern crate test;
extern crate substrate_primitives;
extern crate rand;
#[macro_use]
extern crate clap;
use clap::load_yaml;
use rand::{RngCore, rngs::OsRng}; use rand::{RngCore, rngs::OsRng};
use substrate_primitives::{ed25519::Pair, hexdisplay::HexDisplay}; use substrate_primitives::{ed25519::Pair, hexdisplay::HexDisplay};
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
name = "chain-spec-builder" name = "chain-spec-builder"
version = "0.1.0" version = "0.1.0"
authors = ["haydn dufrene <haydn.dufrene@gmail.com>"] authors = ["haydn dufrene <haydn.dufrene@gmail.com>"]
edition = "2018"
[dependencies] [dependencies]
clap = { version = "~2.32", features = ["yaml"] } clap = { version = "~2.32", features = ["yaml"] }
......
#[macro_use] use clap::{App, load_yaml};
extern crate clap;
use clap::App;
extern crate node_cli;
extern crate substrate_service;
extern crate substrate_primitives;
use node_cli::chain_spec; use node_cli::chain_spec;
use substrate_service::chain_ops::build_spec; use substrate_service::chain_ops::build_spec;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment