Skip to content

Commit f88b8d2

Browse files
authored
Feat/add docrs metadata (#8)
* Add package.metadata.docs.rs to config targets * Update lock file
1 parent 63481e4 commit f88b8d2

2 files changed

Lines changed: 49 additions & 43 deletions

File tree

Cargo.lock

Lines changed: 35 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "btcnode-metrics"
33
edition = "2024"
4-
version = "2.0.4"
4+
version = "2.0.5"
55
description = "The Bitcoin node metrics exporter for Prometheus based on Rust Bitcoin Community's crate for Bitcoin JSON-RPC."
66
license-file = "LICENSE"
77
homepage = "https://github.com/AltaModaTech/btcnode-metrics"
@@ -21,3 +21,16 @@ toml = "1"
2121
anyhow = "1"
2222
corepc-client = { version = "0.10", features = ["client-sync"] }
2323
thiserror = "2"
24+
25+
26+
[package.metadata.docs.rs]
27+
# Target to test build on, used as the default landing page (default: "x86_64-unknown-linux-gnu")
28+
default-target = "x86_64-unknown-linux-gnu"
29+
# Targets to build (default: see below)
30+
targets = [
31+
"aarch64-apple-darwin",
32+
"aarch64-unknown-linux-gnu",
33+
"x86_64-apple-darwin",
34+
"x86_64-unknown-linux-gnu",
35+
"x86_64-pc-windows-msvc"
36+
]

0 commit comments

Comments
 (0)