Skip to content

Commit 9f74bb5

Browse files
committed
Merge branch 'main' into use-nw-service
2 parents 3e2bd7c + 9b3f366 commit 9f74bb5

31 files changed

+3978
-2476
lines changed

Cargo.lock

+35-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+9-9
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ resolver = "2"
3333
aes-gcm-siv = "0.11.1"
3434
anyhow = "1"
3535
async-recursion = "1.0.5"
36-
async-trait = "0.1.75"
36+
async-trait = "0.1.77"
3737
atty = "0.2.14"
38-
base64 = "0.21.5"
38+
base64 = "0.21.7"
3939
bincode = "1.3"
40-
byte-unit = "5.1.2"
40+
byte-unit = "5.1.4"
4141
bytes = { version = "1", features = ["serde"] }
4242
chrono = { version = "0.4", features = [ "serde" ] }
4343
clap = { version = "4.4", features = ["derive", "env", "wrap_help"] }
@@ -54,11 +54,11 @@ httptest = "0.15.5"
5454
hyper = { version = "0.14", features = [ "full" ] }
5555
hyper-staticfile = "0.9"
5656
indicatif = { version = "0.17.7", features = ["rayon"] }
57-
itertools = "0.12.0"
57+
itertools = "0.12.1"
5858
libc = "0.2"
5959
mime_guess = "2.0.4"
6060
nbd = "0.2.3"
61-
nix = { version = "0.26", features = [ "feature", "uio" ] }
61+
nix = { version = "0.27", features = [ "feature", "uio" ] }
6262
num_enum = "0.7"
6363
num-derive = "0.4"
6464
num-traits = "0.2"
@@ -68,10 +68,10 @@ opentelemetry = "0.21.0"
6868
opentelemetry-jaeger = { version = "0.20.0" }
6969
percent-encoding = "2.3"
7070
proptest = "1.4.0"
71-
rayon = "1.8.0"
71+
rayon = "1.8.1"
7272
rand = { version = "0.8.5", features = ["min_const_gen", "small_rng"] }
7373
rand_chacha = "0.3.1"
74-
reedline = "0.27.1"
74+
reedline = "0.28.0"
7575
reqwest = { version = "0.11", features = ["default", "blocking", "json", "stream"] }
7676
ringbuffer = "0.15.0"
7777
rusqlite = { version = "0.30" }
@@ -84,7 +84,7 @@ signal-hook = "0.3.17"
8484
signal-hook-tokio = { version = "0.3.1", features = ["futures-v0_3"] }
8585
slog = { version = "2.7", features = ["max_level_trace", "release_max_level_debug"] }
8686
slog-async = { version = "2.8" }
87-
slog-bunyan = "2.4.0"
87+
slog-bunyan = "2.5.0"
8888
slog-dtrace = "0.3"
8989
slog-term = { version = "2.9" }
9090
static_assertions = "1.1.0"
@@ -94,7 +94,7 @@ strum_macros = "0.25.3"
9494
tempfile = "3"
9595
test-strategy = "0.3.1"
9696
thiserror = "1"
97-
tokio = { version = "1.35", features = ["full"] }
97+
tokio = { version = "1.36", features = ["full"] }
9898
tokio-rustls = { version = "0.24.1" }
9999
tokio-test = "*"
100100
tokio-util = { version = "0.7", features = ["codec"]}

common/src/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ pub enum CrucibleError {
158158

159159
#[error("missing block context for non-empty block")]
160160
MissingBlockContext,
161+
162+
#[error("Incompatible RegionDefinition {0}")]
163+
RegionIncompatible(String),
161164
}
162165

163166
impl From<std::io::Error> for CrucibleError {
@@ -363,6 +366,7 @@ impl From<CrucibleError> for dropshot::HttpError {
363366
| CrucibleError::ModifyingReadOnlyRegion
364367
| CrucibleError::OffsetInvalid
365368
| CrucibleError::OffsetUnaligned
369+
| CrucibleError::RegionIncompatible(_)
366370
| CrucibleError::ReplaceRequestInvalid(_)
367371
| CrucibleError::SnapshotExistsAlready(_)
368372
| CrucibleError::Unsupported(_) => {

0 commit comments

Comments
 (0)