This commit is contained in:
thiolliere
2019-08-29 17:43:04 +02:00
committed by GitHub
parent 9900562389
commit 26202c66f7
14 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ edition = "2018"
serde = { version = "1.0", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.0.5", default-features = false, features = ["derive"] }
srml-metadata = { path = "../metadata", default-features = false }
sr-std = { path = "../../core/sr-std", default-features = false }
rstd = { package = "sr-std", path = "../../core/sr-std", default-features = false }
runtime_io = { package = "sr-io", path = "../../core/sr-io", default-features = false }
sr-primitives = { path = "../../core/sr-primitives", default-features = false }
primitives = { package = "substrate-primitives", path = "../../core/primitives", default-features = false }
@@ -30,7 +30,7 @@ std = [
"serde",
"runtime_io/std",
"codec/std",
"sr-std/std",
"rstd/std",
"sr-primitives/std",
"srml-metadata/std",
"inherents/std",
+1 -1
View File
@@ -19,7 +19,7 @@
use crate::rstd::prelude::*;
use crate::codec::{Codec, Encode};
use crate::storage::unhashed;
use sr_std::borrow::Borrow;
use rstd::borrow::Borrow;
/// An implementation of a map with a two keys.
///
+1 -1
View File
@@ -27,7 +27,7 @@ extern crate bitmask;
#[cfg(feature = "std")]
pub use serde;
#[doc(hidden)]
pub use sr_std as rstd;
pub use rstd;
#[doc(hidden)]
pub use codec;
#[cfg(feature = "std")]
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
use sr_std::prelude::*;
use rstd::prelude::*;
use codec::{Codec, Encode, EncodeAppend};
use crate::{storage::{self, unhashed, hashed::StorageHasher}, rstd::borrow::Borrow};
@@ -16,7 +16,7 @@
use codec::{Codec, Encode, Decode};
use crate::{storage::{self, unhashed, hashed::StorageHasher}, traits::Len};
use sr_std::{
use rstd::{
borrow::Borrow,
marker::PhantomData,
};
@@ -15,8 +15,8 @@
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
#[cfg(not(feature = "std"))]
use sr_std::prelude::*;
use sr_std::borrow::Borrow;
use rstd::prelude::*;
use rstd::borrow::Borrow;
use codec::{Codec, Encode};
use crate::{storage::{self, unhashed, hashed::StorageHasher}, traits::Len};
@@ -15,8 +15,8 @@
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
#[cfg(not(feature = "std"))]
use sr_std::prelude::*;
use sr_std::{borrow::Borrow, iter::FromIterator};
use rstd::prelude::*;
use rstd::{borrow::Borrow, iter::FromIterator};
use codec::{Codec, Encode};
use crate::{storage::{self, unhashed, hashed::{Twox128, StorageHasher}}, traits::Len};