Files
pezkuwi-subxt/substrate/client/sysinfo/Cargo.toml
T
Alexandru Gheorghe dca142398e substrate: sysinfo: Expose failed hardware requirements (#2144)
The check_hardware functions does not give us too much information as to
what is failing, so let's return the list of failed metrics, so that callers can print 
it.

This would make debugging easier, rather than try to guess which
dimension is actually failing.

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
2023-11-03 15:26:40 +02:00

33 lines
893 B
TOML

[package]
name = "sc-sysinfo"
version = "6.0.0-dev"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository.workspace = true
description = "A crate that provides basic hardware and software telemetry information."
documentation = "https://docs.rs/sc-sysinfo"
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
futures = "0.3.19"
libc = "0.2"
log = "0.4.17"
rand = "0.8.5"
rand_pcg = "0.3.1"
derive_more = "0.99"
regex = "1"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
sc-telemetry = { path = "../telemetry" }
sp-core = { path = "../../primitives/core" }
sp-io = { path = "../../primitives/io" }
sp-std = { path = "../../primitives/std" }
[dev-dependencies]
sp-runtime = { path = "../../primitives/runtime" }