Skip to content

Commit b20ed23

Browse files
authored
update to uuid v1.0.0 (part 1 of 2) (#1091)
1 parent ae0c3dc commit b20ed23

File tree

21 files changed

+77
-71
lines changed

21 files changed

+77
-71
lines changed

Cargo.lock

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

common/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ macaddr = { version = "1.0.1", features = [ "serde_std" ] }
1818
rand = "0.8.4"
1919
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "stream"] }
2020
ring = "0.16"
21-
schemars = { version = "0.8", features = [ "chrono", "uuid" ] }
21+
schemars = { version = "0.8.10", features = [ "chrono", "uuid1" ] }
2222
serde = { version = "1.0", features = [ "derive" ] }
2323
serde_derive = "1.0"
2424
serde_json = "1.0"
@@ -29,8 +29,8 @@ steno = { git = "https://github.com/oxidecomputer/steno", branch = "main" }
2929
structopt = "0.3"
3030
thiserror = "1.0"
3131
tokio = { version = "1.18", features = [ "full" ] }
32-
tokio-postgres = { version = "0.7", features = [ "with-chrono-0_4", "with-uuid-0_8" ] }
33-
uuid = { version = "0.8", features = [ "serde", "v4" ] }
32+
tokio-postgres = { version = "0.7", features = [ "with-chrono-0_4", "with-uuid-1" ] }
33+
uuid = { version = "1.0.0", features = [ "serde", "v4" ] }
3434
parse-display = "0.5.4"
3535
progenitor = { git = "https://github.com/oxidecomputer/progenitor" }
3636

gateway-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ version = "2.5"
2626
features = [ "max_level_trace", "release_max_level_debug" ]
2727

2828
[dependencies.uuid]
29-
version = "0.8"
29+
version = "1.0.0"
3030
features = [ "serde", "v4" ]

gateway-sp-comms/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ thiserror = "1.0.31"
1515
tokio-tungstenite = "0.17"
1616
tokio-stream = "0.1.8"
1717
usdt = "0.3.1"
18-
uuid = "0.8"
18+
uuid = "1.0.0"
1919

2020
gateway-messages = { path = "../gateway-messages", features = ["std"] }
2121
omicron-common = { path = "../common" }

gateway/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ slog-dtrace = "0.2"
1818
structopt = "0.3"
1919
thiserror = "1.0.31"
2020
toml = "0.5.9"
21-
uuid = "0.8"
21+
uuid = "1.0.0"
2222

2323
gateway-messages = { path = "../gateway-messages", features = ["std"] }
2424
gateway-sp-comms = { path = "../gateway-sp-comms" }

internal-dns/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ clap = { version = "3.1", features = [ "derive" ] }
1010
internal-dns-client = { path = "../internal-dns-client" }
1111
dropshot = { git = "https://github.com/oxidecomputer/dropshot", branch = "main", features = [ "usdt-probes" ] }
1212
pretty-hex = "0.3.0"
13-
schemars = "0.8"
13+
schemars = "0.8.10"
1414
serde = { version = "1.0", features = [ "derive" ] }
1515
serde_json = "1.0"
1616
sled = "0.34"

nexus-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ version = "2.5"
2525
features = [ "max_level_trace", "release_max_level_debug" ]
2626

2727
[dependencies.uuid]
28-
version = "0.8"
28+
version = "1.0.0"
2929
features = [ "serde", "v4" ]

nexus/Cargo.toml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ authz-macros = { path = "src/authz/authz-macros" }
1515
base64 = "0.13.0"
1616
bb8 = "0.8.0"
1717
cookie = "0.16"
18-
crucible-agent-client = { git = "https://github.com/oxidecomputer/crucible", rev = "8ea317a9dfee65d7c018a1fda89fdec63a560ef3" }
18+
crucible-agent-client = { git = "https://github.com/oxidecomputer/crucible", rev = "57f0951793a74b31afd824bc3a0e5d89a41a540b" }
1919
diesel = { version = "2.0.0-rc.0", features = ["postgres", "r2d2", "chrono", "serde_json", "network-address", "uuid"] }
20+
diesel-dtrace = { git = "https://github.com/oxidecomputer/diesel-dtrace" }
2021
fatfs = "0.3.5"
2122
futures = "0.3.21"
2223
headers = "0.3.7"
@@ -60,10 +61,6 @@ path = "../api_identity"
6061
version = "0.4"
6162
features = [ "serde" ]
6263

63-
[dependencies.diesel-dtrace]
64-
git = "https://github.com/oxidecomputer/diesel-dtrace"
65-
rev = "bec89c2f2b01a79ae99b4db667bfcea5fb2fef04"
66-
6764
[dependencies.dropshot]
6865
git = "https://github.com/oxidecomputer/dropshot"
6966
branch = "main"
@@ -89,8 +86,8 @@ version = "0.1.0"
8986
path = "../oximeter/producer"
9087

9188
[dependencies.schemars]
92-
version = "0.8"
93-
features = [ "chrono", "uuid" ]
89+
version = "0.8.10"
90+
features = [ "chrono", "uuid1" ]
9491

9592
[dependencies.serde]
9693
version = "1.0"
@@ -110,10 +107,10 @@ features = [ "full" ]
110107

111108
[dependencies.tokio-postgres]
112109
version = "0.7"
113-
features = [ "with-chrono-0_4", "with-serde_json-1", "with-uuid-0_8" ]
110+
features = [ "with-chrono-0_4", "with-serde_json-1", "with-uuid-1" ]
114111

115112
[dependencies.uuid]
116-
version = "0.8"
113+
version = "1.0.0"
117114
features = [ "serde", "v4" ]
118115

119116
[dev-dependencies]

nexus/src/db/fixed_data/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn assert_valid_uuid(id: &uuid::Uuid) {
5252
};
5353

5454
match id.get_variant() {
55-
Some(uuid::Variant::RFC4122) => (),
55+
uuid::Variant::RFC4122 => (),
5656
_ => panic!("unexpected variant in uuid: {:?}", id),
5757
};
5858
}

nexus/test-utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ parse-display = "0.5.4"
2424
serde = { version = "1.0", features = [ "derive" ] }
2525
serde_json = "1.0"
2626
slog = { version = "2.7", features = [ "max_level_trace", "release_max_level_debug" ] }
27-
uuid = { version = "0.8", features = [ "serde", "v4" ] }
27+
uuid = { version = "1.0.0", features = [ "serde", "v4" ] }
2828

2929
[build-dependencies]
3030
dropshot = { git = "https://github.com/oxidecomputer/dropshot", branch = "main", features = [ "usdt-probes" ] }

0 commit comments

Comments
 (0)