diff --git a/Cargo.lock b/Cargo.lock index 336472d..95f21f4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -242,7 +242,7 @@ dependencies = [ [[package]] name = "btcnode-metrics" -version = "2.0.18" +version = "2.0.19" dependencies = [ "anyhow", "axum", @@ -327,9 +327,9 @@ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" [[package]] name = "corepc-client" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e371481af3feb399abfc3c1d51e4c7d029e9f82a0867bd2e2efdab63ef13bb8" +checksum = "f839931fb03a88111ee56c30dd3d924df00c4ae7a1a1ceeaee0d1cfc208d137b" dependencies = [ "bitcoin", "corepc-types", @@ -341,9 +341,9 @@ dependencies = [ [[package]] name = "corepc-types" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fa32f494e25aa816dc5adfed14374676765deb0914b8fe8dfb63058866cce86" +checksum = "62d331cb4009f3cb5032e12f8bcd46c7ee6fd903b7106440d0ed7a1915be7804" dependencies = [ "bitcoin", "serde", diff --git a/Cargo.toml b/Cargo.toml index 3415c39..00a65ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "btcnode-metrics" edition = "2024" -version = "2.0.18" +version = "2.0.19" description = "The Bitcoin node metrics exporter for Prometheus based on Rust Bitcoin Community's crate for Bitcoin JSON-RPC." license = "Apache-2.0" homepage = "https://github.com/AltaModaTech/btcnode-metrics" @@ -19,7 +19,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] } clap = { version = "4", features = ["derive"] } toml = "1" anyhow = "1" -corepc-client = { version = "0.18", features = ["client-sync"] } +corepc-client = { version = "0.19", features = ["client-sync"] } thiserror = "2" diff --git a/README.md b/README.md index fac886b..21a63cf 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,17 @@ These instructions are for installing and running from the shell. To install as ### Install +`cargo install btcnode-metrics@` + +where '' is one of [this project's crates.io versions](https://crates.io/crates/btcnode-metrics/versions). The patch (3rd segment of version) indicates the version of corepc-client included. + +Alternatively, to install the most recent version of this crate: + `cargo install btcnode-metrics` ### Configure -After installing btcnode-metrics, +After installing btcnode-metrics, modify the example config file to match your situation. - Copy `config.toml.example` to `config.local.toml`. - Edit `config.local.toml`