Skip to content

Commit 2a4bfc8

Browse files
committed
build-sys: Move all common deps to workspace
General cleanup. Signed-off-by: Colin Walters <[email protected]>
1 parent 792e546 commit 2a4bfc8

File tree

12 files changed

+29
-22
lines changed

12 files changed

+29
-22
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ tracing = "0.1.40"
6060
thiserror = "2.0.11"
6161
tokio = ">= 1.37.0"
6262
tokio-util = { features = ["io-util"], version = "0.7.10" }
63+
regex = "1.10.4"
64+
uzers = "0.12"
65+
shlex = "1.3"
66+
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
67+
toml = "0.9.5"
68+
xshell = "0.2.6"
69+
log = "0.4.21"
6370

6471
# See https://github.com/coreos/cargo-vendor-filterer
6572
[workspace.metadata.vendor-filter]

crates/blockdev/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "
1212
camino = { workspace = true, features = ["serde1"] }
1313
fn-error-context = { workspace = true }
1414
libc = { workspace = true }
15-
regex = "1.10.4"
15+
regex = { workspace = true }
1616
rustix = { workspace = true }
1717
serde = { workspace = true, features = ["derive"] }
1818
serde_json = { workspace = true }
@@ -21,7 +21,7 @@ tokio = { workspace = true, features = ["signal"] }
2121
tracing = { workspace = true }
2222

2323
[dev-dependencies]
24-
indoc = "2.0.5"
24+
indoc = { workspace = true }
2525

2626
[lib]
2727
path = "src/blockdev.rs"

crates/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ anyhow = { workspace = true }
1919
bootc-lib = { version = "1.6", path = "../lib" }
2020
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
2121
tokio = { workspace = true, features = ["macros"] }
22-
log = "0.4.21"
22+
log = { workspace = true }
2323
owo-colors = { workspace = true }
2424
tracing = { workspace = true }
2525

crates/lib/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rust-version = "1.82.0"
1414
include = ["/src", "LICENSE-APACHE", "LICENSE-MIT"]
1515

1616
[dependencies]
17-
anstream = "0.6.13"
17+
anstream = { workspace = true }
1818
anstyle = "1.0.6"
1919
anyhow = { workspace = true }
2020
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
@@ -41,7 +41,7 @@ liboverdrop = "0.1.0"
4141
libsystemd = "0.7"
4242
linkme = "0.3"
4343
openssl = { workspace = true }
44-
regex = "1.10.4"
44+
regex = { workspace = true }
4545
rustix = { workspace = true }
4646
schemars = { version = "1.0.4", features = ["chrono04"] }
4747
serde = { workspace = true, features = ["derive"] }
@@ -52,8 +52,8 @@ tokio = { workspace = true, features = ["io-std", "time", "process", "rt", "net"
5252
tokio-util = { workspace = true }
5353
tracing = { workspace = true }
5454
tempfile = { workspace = true }
55-
toml = "0.9.5"
56-
xshell = { version = "0.2.6", optional = true }
55+
toml = { workspace = true }
56+
xshell = { workspace = true, optional = true }
5757
uuid = { version = "1.8.0", features = ["v4"] }
5858
tini = "1.3.0"
5959
comfy-table = "7.1.1"

crates/mount/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ serde = { workspace = true, features = ["derive"] }
1919
tracing = { workspace = true }
2020

2121
[dev-dependencies]
22-
indoc = "2.0.5"
22+
indoc = { workspace = true }
2323

2424
[lib]
2525
path = "src/mount.rs"

crates/ostree-ext/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ libsystemd = "0.7.0"
3636
openssl = { workspace = true }
3737
ocidir = "0.4.0"
3838
pin-project = "1.0"
39-
regex = "1.5.4"
39+
regex = { workspace = true }
4040
rustix = { workspace = true, features = ["fs", "process"] }
4141
serde = { workspace = true, features = ["derive"] }
4242
serde_json = { workspace = true }
@@ -45,7 +45,7 @@ tempfile = { workspace = true }
4545
tokio = { workspace = true, features = ["io-std", "time", "process", "rt", "net"] }
4646
tokio-util = { workspace = true }
4747
tokio-stream = { features = ["sync"], version = "0.1.8" }
48-
tracing = "0.1"
48+
tracing = { workspace = true }
4949
zstd = { version = "0.13.1", features = ["pkg-config"] }
5050
indexmap = { version = "2.2.2", features = ["serde"] }
5151

crates/system-reinstall-bootc/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ clap = { workspace = true, features = ["derive"] }
2121
crossterm = "0.29.0"
2222
dialoguer = "0.11.0"
2323
indoc = { workspace = true }
24-
log = "0.4.21"
24+
log = { workspace = true }
2525
openssh-keys = "0.6.4"
2626
rustix = { workspace = true }
2727
serde = { workspace = true, features = ["derive"] }
2828
serde_json = { workspace = true }
2929
serde_yaml = "0.9.22"
3030
tempfile = { workspace = true }
3131
tracing = { workspace = true }
32-
uzers = "0.12.1"
32+
uzers = { workspace = true }
3333
which = "8.0.0"
3434

3535
[lints]

crates/sysusers/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ publish = false
99
anyhow = { workspace = true }
1010
camino = { workspace = true }
1111
fn-error-context = { workspace = true }
12-
cap-std-ext = { version = "4", features = ["fs_utf8"] }
13-
hex = "0.4"
12+
cap-std-ext = { workspace = true, features = ["fs_utf8"] }
13+
hex = { workspace = true }
1414
thiserror = { workspace = true }
1515
tempfile = { workspace = true }
1616
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
1717
rustix = { workspace = true }
18-
uzers = "0.12"
18+
uzers = { workspace = true }
1919

2020
[dev-dependencies]
2121
indoc = { workspace = true }

crates/tests-integration/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ rustix = { workspace = true }
2424
serde = { workspace = true, features = ["derive"] }
2525
serde_json = { workspace = true }
2626
tempfile = { workspace = true }
27-
xshell = { version = "0.2.6" }
27+
xshell = { workspace = true }
2828

2929
[lints]
3030
workspace = true

crates/tmpfiles/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ publish = false
88
[dependencies]
99
camino = { workspace = true }
1010
fn-error-context = { workspace = true }
11-
cap-std-ext = { version = "4" }
11+
cap-std-ext = { workspace = true }
1212
thiserror = { workspace = true }
1313
tempfile = { workspace = true }
1414
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
1515
rustix = { workspace = true }
16-
uzers = "0.12"
16+
uzers = { workspace = true }
1717

1818
[dev-dependencies]
1919
anyhow = { workspace = true }

0 commit comments

Comments
 (0)