mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
be8e626806
We currently use a bit of a hack in `.cargo/config` to make sure that clippy isn't too annoying by specifying the list of lints. There is now a stable way to define lints for a workspace. The only down side is that every crate seems to have to opt into this so there's a *few* files modified in this PR. Dependencies: - [x] PR that upgrades CI to use rust 1.74 is merged. --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
39 lines
1.0 KiB
TOML
39 lines
1.0 KiB
TOML
[package]
|
|
name = "sp-storage"
|
|
version = "13.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 = { version = "1.0.193", default-features = false, features = ["alloc", "derive"], optional = true }
|
|
sp-debug-derive = { path = "../debug-derive", default-features = false }
|
|
sp-std = { path = "../std", default-features = false }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"impl-serde/std",
|
|
"serde/std",
|
|
"sp-debug-derive/std",
|
|
"sp-std/std",
|
|
]
|
|
|
|
# Serde support without relying on std features.
|
|
serde = ["dep:serde", "impl-serde"]
|