mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
once_cell in std from 1.70 (#14402)
* once_cell now stable * cargo fmt --------- Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -32,7 +32,6 @@ tt-call = "1.0.8"
|
||||
macro_magic = "0.4.1"
|
||||
frame-support-procedural = { version = "4.0.0-dev", default-features = false, path = "./procedural" }
|
||||
paste = "1.0"
|
||||
once_cell = { version = "1", default-features = false, optional = true }
|
||||
sp-state-machine = { version = "0.28.0", default-features = false, optional = true, path = "../../primitives/state-machine" }
|
||||
bitflags = "1.3"
|
||||
impl-trait-for-tuples = "0.2.2"
|
||||
@@ -53,7 +52,6 @@ default = ["std"]
|
||||
std = [
|
||||
"sp-core/std",
|
||||
"k256/std",
|
||||
"once_cell",
|
||||
"serde/std",
|
||||
"sp-api/std",
|
||||
"sp-io/std",
|
||||
|
||||
@@ -114,8 +114,8 @@ fn default_byte_getter(
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
#[allow(non_upper_case_globals)]
|
||||
static #cache_name: #scrate::once_cell::sync::OnceCell<#scrate::sp_std::vec::Vec<u8>> =
|
||||
#scrate::once_cell::sync::OnceCell::new();
|
||||
static #cache_name: ::core::sync::OnceLock<#scrate::sp_std::vec::Vec<u8>> =
|
||||
::core::sync::OnceLock::new();
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
impl<#runtime_generic: #runtime_trait, #optional_instance_bound>
|
||||
|
||||
@@ -41,9 +41,6 @@ pub use codec;
|
||||
pub use frame_metadata as metadata;
|
||||
#[doc(hidden)]
|
||||
pub use log;
|
||||
#[cfg(feature = "std")]
|
||||
#[doc(hidden)]
|
||||
pub use once_cell;
|
||||
#[doc(hidden)]
|
||||
pub use paste;
|
||||
#[doc(hidden)]
|
||||
|
||||
Reference in New Issue
Block a user