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:
Weiliang Li
2019-12-10 16:26:27 +09:00
committed by Gavin Wood
parent 448dbc89a5
commit 6da9f59d72
210 changed files with 552 additions and 556 deletions
@@ -8,7 +8,7 @@ edition = "2018"
[dependencies]
app-crypto = { package = "sc-application-crypto", path = "../../application-crypto", default-features = false }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false }
rstd = { package = "sp-std", path = "../../sr-std", default-features = false }
sp-std = { path = "../../std", default-features = false }
schnorrkel = { version = "0.8.5", features = ["preaudit_deprecated"], optional = true }
sp-api = { path = "../../sr-api", default-features = false }
sp-consensus = { path = "../common", optional = true }
@@ -21,7 +21,7 @@ default = ["std"]
std = [
"app-crypto/std",
"codec/std",
"rstd/std",
"sp-std/std",
"schnorrkel",
"sp-api/std",
"sp-consensus",
@@ -33,7 +33,7 @@ use schnorrkel::{
SignatureError, errors::MultiSignatureStage,
vrf::{VRFProof, VRFOutput, VRF_OUTPUT_LENGTH, VRF_PROOF_LENGTH}
};
use rstd::vec::Vec;
use sp_std::vec::Vec;
/// A BABE pre-runtime digest. This contains all data required to validate a
@@ -23,7 +23,7 @@ use sp_timestamp::TimestampInherentData;
#[cfg(feature = "std")]
use codec::Decode;
use rstd::result::Result;
use sp_std::result::Result;
/// The BABE inherent identifier.
pub const INHERENT_IDENTIFIER: InherentIdentifier = *b"babeslot";
@@ -23,7 +23,7 @@ mod digest;
pub mod inherents;
use codec::{Encode, Decode};
use rstd::vec::Vec;
use sp_std::vec::Vec;
use sp_runtime::{ConsensusEngineId, RuntimeDebug};
#[cfg(feature = "std")]