Files
pezkuwi-subxt/substrate/primitives/state-machine/Cargo.toml
T
Squirrel be8e626806 Set clippy lints in workspace (requires rust 1.74) (#2390)
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>
2023-12-13 15:11:07 +01:00

60 lines
1.6 KiB
TOML

[package]
name = "sp-state-machine"
version = "0.28.0"
authors.workspace = true
description = "Substrate State Machine"
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
documentation = "https://docs.rs/sp-state-machine"
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 }
hash-db = { version = "0.16.0", default-features = false }
log = { version = "0.4.17", default-features = false }
parking_lot = { version = "0.12.1", optional = true }
rand = { version = "0.8.5", optional = true }
smallvec = "1.11.0"
thiserror = { version = "1.0.48", optional = true }
tracing = { version = "0.1.29", optional = true }
sp-core = { path = "../core", default-features = false }
sp-externalities = { path = "../externalities", default-features = false }
sp-panic-handler = { path = "../panic-handler", optional = true }
sp-std = { path = "../std", default-features = false }
sp-trie = { path = "../trie", default-features = false }
trie-db = { version = "0.28.0", default-features = false }
[dev-dependencies]
array-bytes = "6.1"
pretty_assertions = "1.2.1"
rand = "0.8.5"
sp-runtime = { path = "../runtime" }
assert_matches = "1.5"
[features]
default = ["std"]
std = [
"codec/std",
"hash-db/std",
"log/std",
"parking_lot",
"rand",
"sp-core/std",
"sp-externalities/std",
"sp-panic-handler",
"sp-runtime/std",
"sp-std/std",
"sp-trie/std",
"thiserror",
"tracing",
"trie-db/std",
]