Migrate srml-assets, srml-aura, srml-balances and srml-consens to the 2018 edition (#1633)

This commit is contained in:
Stanislav Tkach
2019-02-05 19:26:58 +02:00
committed by Bastian Köcher
parent 0242cee284
commit 1cb02c318b
18 changed files with 67 additions and 147 deletions
+3 -17
View File
@@ -18,27 +18,13 @@
#![cfg_attr(not(feature = "std"), no_std)]
extern crate sr_std as rstd;
#[macro_use]
extern crate srml_support as runtime_support;
extern crate parity_codec;
#[macro_use]
extern crate parity_codec_derive;
extern crate sr_primitives as primitives;
extern crate parity_codec as codec;
extern crate srml_system as system;
extern crate substrate_primitives;
#[cfg(test)]
extern crate sr_io as runtime_io;
extern crate substrate_inherents as inherents;
use rstd::prelude::*;
use parity_codec::Encode;
use parity_codec as codec;
use codec::Encode;
use parity_codec_derive::{Encode, Decode};
use runtime_support::{storage, Parameter};
use runtime_support::storage::StorageValue;
use runtime_support::storage::unhashed::StorageVec;