Skip to content

Commit fd9faab

Browse files
committed
revert a few changes to minimize the diff
1 parent 6fe2e07 commit fd9faab

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

Cargo.lock

Lines changed: 2 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ iroh-base = "0.90"
4444
reflink-copy = "0.1.24"
4545
irpc = { version = "0.5.0", features = ["rpc", "quinn_endpoint_setup", "message_spans", "stream", "derive"], default-features = false }
4646
iroh-metrics = { version = "0.35" }
47-
atomic_refcell = "0.1.13"
4847

4948
[dev-dependencies]
5049
clap = { version = "4.5.31", features = ["derive"] }
@@ -59,6 +58,7 @@ testresult = "0.4.1"
5958
tracing-subscriber = { version = "0.3.19", features = ["fmt"] }
6059
tracing-test = "0.2.5"
6160
walkdir = "2.5.0"
61+
atomic_refcell = "0.1.13"
6262

6363
[features]
6464
hide-proto-docs = []

src/api/proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub use bitfield::Bitfield;
4040

4141
use crate::{store::util::Tag, util::temp_tag::TempTag, BlobFormat, Hash, HashAndFormat};
4242

43-
pub(crate) trait HashSpecific: Send + 'static {
43+
pub(crate) trait HashSpecific {
4444
fn hash(&self) -> Hash;
4545

4646
fn hash_short(&self) -> ArrayString<10> {

src/store/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ impl Actor {
639639
}
640640
}
641641

642-
trait HashSpecificCommand: HashSpecific {
642+
trait HashSpecificCommand: HashSpecific + Send + 'static {
643643
fn handle(self, ctx: HashContext) -> impl Future<Output = ()> + Send + 'static;
644644

645645
fn on_error(self) -> impl Future<Output = ()> + Send + 'static;

src/store/fs/gc.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,7 @@ mod tests {
304304
assert!(data_path.exists());
305305
assert!(outboard_path.exists());
306306
assert!(sizes_path.exists());
307-
assert!(
308-
bitfield_path.exists(),
309-
"Bitfield file {} should exist",
310-
bitfield_path.display()
311-
);
307+
assert!(bitfield_path.exists());
312308
gc_run_once(store, &mut live).await?;
313309
assert!(!data_path.exists());
314310
assert!(!outboard_path.exists());

0 commit comments

Comments
 (0)