mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 00:37:57 +00:00
1b5f4243d1
This PR removes sp-std crate from substrate/primitives sub-directories. For now crates that have `pub use` of sp-std or export macros that would necessitate users of the macros to `extern crate alloc` have been excluded from this PR. There should be no breaking changes in this PR. --------- Co-authored-by: Koute <koute@users.noreply.github.com>
37 lines
959 B
TOML
37 lines
959 B
TOML
[package]
|
|
name = "sp-storage"
|
|
version = "19.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "Storage related primitives"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
documentation = "https://docs.rs/sp-storage/"
|
|
readme = "README.md"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
|
impl-serde = { version = "0.4.0", optional = true, default-features = false }
|
|
ref-cast = "1.0.0"
|
|
serde = { features = ["alloc", "derive"], optional = true, workspace = true }
|
|
sp-debug-derive = { path = "../debug-derive", default-features = false }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"impl-serde/std",
|
|
"serde/std",
|
|
"sp-debug-derive/std",
|
|
]
|
|
|
|
# Serde support without relying on std features.
|
|
serde = ["dep:serde", "impl-serde"]
|