mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
Rename: primitives/sr-std -> primitives/sp-std (#4327)
* primitives/sr-std -> primitives/std * fix * fix conflict * rstd -> sp-std * git mv * fix review * fix merge
This commit is contained in:
@@ -8,7 +8,7 @@ edition = "2018"
|
||||
serde = { version = "1.0.101", optional = true }
|
||||
safe-mix = { version = "1.0.0", default-features = false }
|
||||
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
||||
rstd = { package = "sp-std", path = "../../primitives/sr-std", default-features = false }
|
||||
sp-std = { path = "../../primitives/std", default-features = false }
|
||||
sp-runtime = { path = "../../primitives/runtime", default-features = false }
|
||||
support = { package = "frame-support", path = "../support", default-features = false }
|
||||
system = { package = "frame-system", path = "../system", default-features = false }
|
||||
@@ -24,7 +24,7 @@ std = [
|
||||
"serde",
|
||||
"safe-mix/std",
|
||||
"codec/std",
|
||||
"rstd/std",
|
||||
"sp-std/std",
|
||||
"support/std",
|
||||
"sp-runtime/std",
|
||||
"system/std",
|
||||
|
||||
@@ -159,8 +159,8 @@
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use rstd::prelude::*;
|
||||
use rstd::{cmp, result, mem, fmt::Debug};
|
||||
use sp_std::prelude::*;
|
||||
use sp_std::{cmp, result, mem, fmt::Debug};
|
||||
use codec::{Codec, Encode, Decode};
|
||||
use support::{
|
||||
StorageValue, Parameter, decl_event, decl_storage, decl_module,
|
||||
@@ -614,7 +614,7 @@ mod imbalances {
|
||||
result, Subtrait, DefaultInstance, Imbalance, Trait, Zero, Instance, Saturating,
|
||||
StorageValue, TryDrop,
|
||||
};
|
||||
use rstd::mem;
|
||||
use sp_std::mem;
|
||||
|
||||
/// Opaque, move-only struct with private fields that serves as a token denoting that
|
||||
/// funds have been created without any equal and opposite accounting.
|
||||
|
||||
Reference in New Issue
Block a user