[package] name = "sp-storage" version = "21.0.0" authors.workspace = true edition.workspace = true description = "Storage related primitives (polkadot v1.10.0)" 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, version = "14.0.0" } [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"]