Skip to content

Commit 9b8d5d0

Browse files
committed
fix: prep for one three release
1 parent ca98cdf commit 9b8d5d0

File tree

4 files changed

+31
-26
lines changed

4 files changed

+31
-26
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v0.1.3
4+
5+
* Upgrade underlying `connection` dependency.
6+
37
## v0.1.2
48

59
* Expose total contacted nodes in report.

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bitcoin-node-census"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
edition = "2021"
55
authors = ["Nick Johnson <nick@yonson.dev>"]
66
description = "Track bitcoin node feature adoption"
@@ -10,7 +10,7 @@ keywords = ["bitcoin", "p2p", "network", "monitoring", "census"]
1010
categories = ["command-line-utilities", "network-programming"]
1111

1212
[dependencies]
13-
bitcoin-peers-crawler = "0.1.5"
13+
bitcoin-peers-crawler = "0.1.6"
1414
bitcoin = "0.32"
1515
tokio = { version = "1.42", features = ["rt-multi-thread", "macros", "sync", "time", "net"] }
1616
clap = { version = "4.5", features = ["derive", "env"] }

justfile

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,41 @@
33
# The recipes make heavy use of `rustup`'s toolchain syntax (e.g. `cargo +nightly`). `rustup` is
44
# required on the system in order to intercept the `cargo` commands and to install and use the appropriate toolchain with components.
55

6-
NIGHTLY_TOOLCHAIN := "nightly-2025-06-10"
7-
STABLE_TOOLCHAIN := "1.87.0"
6+
NIGHTLY_TOOLCHAIN := "nightly-2025-07-10"
7+
STABLE_TOOLCHAIN := "1.88.0"
88

99
@_default:
1010
just --list
1111

12-
# Light check including format and lint rules.
13-
@check:
14-
# Default to the nightly toolchain for modern format and lint rules.
15-
12+
# Quick check including lints and formatting. Run "fix" mode for auto-fixes.
13+
@check mode="verify":
14+
# Use nightly toolchain for modern format and lint rules.
1615
# Ensure the toolchain is installed and has the necessary components.
17-
rustup component add --toolchain {{NIGHTLY_TOOLCHAIN }} rustfmt clippy
16+
rustup component add --toolchain {{NIGHTLY_TOOLCHAIN}} rustfmt clippy
17+
just _check-{{mode}}
18+
19+
# Verify check, fails if anything is off. Good for CI.
20+
@_check-verify:
1821
# Cargo's wrapper for rustfmt predates workspaces, so uses the "--all" flag instead of "--workspaces".
19-
cargo +{{NIGHTLY_TOOLCHAIN }} fmt --check --all
22+
cargo +{{NIGHTLY_TOOLCHAIN}} fmt --check --all
2023
# Lint all workspace members. Enable all feature flags. Check all targets (tests, examples) along with library code. Turn warnings into errors.
21-
cargo +{{NIGHTLY_TOOLCHAIN }} clippy --all-features --all-targets -- -D warnings
22-
# Checking the extremes: all features enabled as well as none. If features are additive, this should expose conflicts.
23-
# If non-additive features (mutually exclusive) are defined, more specific commands are required.
24-
cargo +{{NIGHTLY_TOOLCHAIN }} check --no-default-features --all-targets
25-
cargo +{{NIGHTLY_TOOLCHAIN }} check --all-features --all-targets
24+
cargo +{{NIGHTLY_TOOLCHAIN}} clippy --all-features --all-targets -- -D warnings
25+
# Static analysis of types and lifetimes.
26+
# Nightly toolchain required by benches target.
27+
cargo +{{NIGHTLY_TOOLCHAIN}} check --all-features --all-targets
28+
# Build documentation to catch any broken doc links or invalid rustdoc.
29+
RUSTDOCFLAGS="-D warnings" cargo +{{STABLE_TOOLCHAIN}} doc --all-features --no-deps
2630

2731
# Attempt any auto-fixes for format and lints.
28-
@fix:
29-
# Ensure the toolchain is installed and has the necessary components.
30-
rustup component add --toolchain {{NIGHTLY_TOOLCHAIN}} rustfmt clippy
32+
@_check-fix:
3133
# No --check flag to actually apply formatting.
3234
cargo +{{NIGHTLY_TOOLCHAIN}} fmt --all
3335
# Adding --fix flag to apply suggestions with --allow-dirty.
34-
cargo +{{NIGHTLY_TOOLCHAIN}} clippy --workspace --all-features --all-targets --fix --allow-dirty -- -D warnings
36+
cargo +{{NIGHTLY_TOOLCHAIN}} clippy --all-features --all-targets --fix --allow-dirty -- -D warnings
3537

3638
# Run the test suite.
3739
@test:
3840
# Run all tests.
39-
4041
# "--all-features" for highest coverage, assuming features are additive so no conflicts.
4142
# "--all-targets" runs `lib` (unit, integration), `bin`, `test`, `bench`, `example` tests, but not doc code.
4243
cargo +{{STABLE_TOOLCHAIN}} test --all-features --all-targets

0 commit comments

Comments
 (0)