Skip to content

Commit 3a71ceb

Browse files
authored
Merge c57f259 into 8eb5733
2 parents 8eb5733 + c57f259 commit 3a71ceb

File tree

10 files changed

+1599
-251
lines changed

10 files changed

+1599
-251
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ testresult = "0.4.1"
5858
tracing-subscriber = { version = "0.3.19", features = ["fmt"] }
5959
tracing-test = "0.2.5"
6060
walkdir = "2.5.0"
61+
atomic_refcell = "0.1.13"
6162

6263
[features]
6364
hide-proto-docs = []

src/hash.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ impl From<&[u8; 32]> for Hash {
111111

112112
impl PartialOrd for Hash {
113113
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
114-
Some(self.0.as_bytes().cmp(other.0.as_bytes()))
114+
Some(self.cmp(other))
115115
}
116116
}
117117

src/metrics.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use iroh_metrics::{Counter, MetricsGroup};
44

55
/// Enum of metrics for the module
66
#[allow(missing_docs)]
7+
#[allow(dead_code)]
78
#[derive(Debug, Default, MetricsGroup)]
89
#[metrics(name = "iroh-blobs")]
910
pub struct Metrics {

0 commit comments

Comments
 (0)