aboutsummaryrefslogtreecommitdiff
path: root/src/model/block.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/block.rs')
-rw-r--r--src/model/block.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/model/block.rs b/src/model/block.rs
index 9e939c24..ddda5e57 100644
--- a/src/model/block.rs
+++ b/src/model/block.rs
@@ -5,14 +5,16 @@ use std::time::{Duration, SystemTime};
use arc_swap::ArcSwapOption;
use async_trait::async_trait;
+use serde::{Deserialize, Serialize};
+use zstd::stream::{decode_all as zstd_decode, Encoder};
+
use futures::future::*;
use futures::select;
-use opentelemetry::KeyValue;
-use serde::{Deserialize, Serialize};
use tokio::fs;
use tokio::io::{AsyncReadExt, AsyncWriteExt};
use tokio::sync::{watch, Mutex, Notify};
-use zstd::stream::{decode_all as zstd_decode, Encoder};
+
+use opentelemetry::KeyValue;
use garage_util::data::*;
use garage_util::error::*;