Migrate srml-support to the 2018 edition (#1663)

This commit is contained in:
Stanislav Tkach
2019-02-03 12:42:12 +02:00
committed by Gav Wood
parent ddb44db551
commit 87f0f6fd8f
10 changed files with 48 additions and 63 deletions
+8 -26
View File
@@ -20,37 +20,19 @@
#![cfg_attr(not(feature = "std"), feature(alloc))]
#[cfg(feature = "std")]
pub extern crate serde;
pub use serde;
#[doc(hidden)]
pub extern crate sr_std as rstd;
extern crate sr_io as runtime_io;
pub use sr_std as rstd;
#[doc(hidden)]
pub extern crate sr_primitives as runtime_primitives;
extern crate srml_metadata;
extern crate mashup;
#[cfg_attr(test, macro_use)]
extern crate srml_support_procedural;
extern crate substrate_inherents as inherents;
#[cfg(test)]
#[macro_use]
extern crate pretty_assertions;
#[cfg(feature = "std")]
extern crate serde_derive;
#[cfg(test)]
#[macro_use]
extern crate parity_codec_derive;
pub use parity_codec as codec;
#[doc(hidden)]
pub extern crate parity_codec as codec;
pub use parity_codec_derive;
#[cfg(feature = "std")]
#[doc(hidden)]
pub extern crate once_cell;
pub extern crate paste;
pub use once_cell;
#[doc(hidden)]
pub use paste;
pub use sr_primitives as runtime_primitives;
pub use self::storage::generator::Storage as GenericStorage;