Files
pezkuwi-subxt/substrate/utils/binary-merkle-tree/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

29 lines
794 B
TOML

[package]
name = "binary-merkle-tree"
version = "4.0.0-dev"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
repository.workspace = true
description = "A no-std/Substrate compatible library to construct binary merkle tree."
homepage = "https://substrate.io"
[lints]
workspace = true
[dependencies]
array-bytes = { version = "6.1", optional = true }
log = { version = "0.4", default-features = false, optional = true }
hash-db = { version = "0.16.0", default-features = false }
[dev-dependencies]
array-bytes = "6.1"
env_logger = "0.9"
sp-core = { path = "../../primitives/core" }
sp-runtime = { path = "../../primitives/runtime" }
[features]
debug = ["array-bytes", "log"]
default = ["debug", "std"]
std = ["hash-db/std", "log/std", "sp-core/std", "sp-runtime/std"]