mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: move metrics to its own crate (#9691)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
52
crates/node/metrics/Cargo.toml
Normal file
52
crates/node/metrics/Cargo.toml
Normal file
@ -0,0 +1,52 @@
|
||||
[package]
|
||||
name = "reth-node-metrics"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
|
||||
[dependencies]
|
||||
reth-db-api.workspace = true
|
||||
reth-provider.workspace = true
|
||||
reth-metrics.workspace = true
|
||||
reth-tasks.workspace = true
|
||||
|
||||
metrics.workspace = true
|
||||
metrics-exporter-prometheus.workspace = true
|
||||
metrics-process.workspace = true
|
||||
metrics-util.workspace = true
|
||||
|
||||
tokio.workspace = true
|
||||
|
||||
once_cell.workspace = true
|
||||
|
||||
jsonrpsee = { workspace = true, features = ["server"] }
|
||||
http.workspace = true
|
||||
tower.workspace = true
|
||||
|
||||
tracing.workspace = true
|
||||
eyre.workspace = true
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
tikv-jemalloc-ctl = { version = "0.5.0", optional = true }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
procfs = "0.16.0"
|
||||
|
||||
[dev-dependencies]
|
||||
reth-db = { workspace = true, features = ["test-utils"] }
|
||||
reqwest.workspace = true
|
||||
reth-chainspec.workspace = true
|
||||
socket2 = { version = "0.4", default-features = false }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
jemalloc = ["dep:tikv-jemalloc-ctl"]
|
||||
|
||||
|
||||
[build-dependencies]
|
||||
vergen = { version = "8.0.0", features = ["build", "cargo", "git", "gitcl"] }
|
||||
Reference in New Issue
Block a user