Skip to content

Commit f6a4bad

Browse files
committed
Rework utils and blockdev crates as -internals in prep for publishing
See coreos/bootupd#963 Basically I just want a way to keep these in sync with bootupd; we're not attempting to make a truly public library. Signed-off-by: Colin Walters <[email protected]>
1 parent 204ed0e commit f6a4bad

File tree

10 files changed

+41
-43
lines changed

10 files changed

+41
-43
lines changed

Cargo.lock

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

blockdev/Cargo.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[package]
2-
description = "Internal blockdev code"
3-
# Should never be published to crates.io
4-
publish = false
2+
description = "Internal implementation component of bootc; do not use"
53
edition = "2021"
64
license = "MIT OR Apache-2.0"
7-
name = "bootc-blockdev"
5+
name = "bootc-internal-blockdev"
86
repository = "https://github.com/bootc-dev/bootc"
97
version = "0.0.0"
108

119
[dependencies]
1210
anyhow = { workspace = true }
13-
bootc-utils = { path = "../utils" }
11+
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
1412
camino = { workspace = true, features = ["serde1"] }
1513
fn-error-context = { workspace = true }
1614
regex = "1.10.4"

cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ platforms = ["*-unknown-linux-gnu"]
1818
anstream = { workspace = true }
1919
anyhow = { workspace = true }
2020
bootc-lib = { version = "1.0", path = "../lib" }
21-
bootc-utils = { path = "../utils" }
21+
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
2222
tokio = { workspace = true, features = ["macros"] }
2323
log = "0.4.21"
2424
owo-colors = { workspace = true }

lib/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ include = ["/src", "LICENSE-APACHE", "LICENSE-MIT"]
1818
anstream = "0.6.13"
1919
anstyle = "1.0.6"
2020
anyhow = { workspace = true }
21-
bootc-utils = { path = "../utils" }
22-
bootc-blockdev = { path = "../blockdev" }
21+
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
22+
bootc-blockdev = { package = "bootc-internal-blockdev", path = "../blockdev", version = "0.0.0" }
2323
bootc-mount = { path = "../mount" }
2424
bootc-tmpfiles = { path = "../tmpfiles" }
2525
bootc-sysusers = { path = "../sysusers" }

mount/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version = "0.0.0"
1010

1111
[dependencies]
1212
anyhow = { workspace = true }
13-
bootc-utils = { path = "../utils" }
13+
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
1414
camino = { workspace = true, features = ["serde1"] }
1515
fn-error-context = { workspace = true }
1616
rustix = { workspace = true }

ostree-ext/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ostree = { features = ["v2025_2"], version = "0.20" }
1515

1616
# Private dependencies
1717
anyhow = { workspace = true }
18-
bootc-utils = { path = "../utils" }
18+
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
1919
camino = { workspace = true, features = ["serde1"] }
2020
composefs = { git = "https://github.com/containers/composefs-rs", rev = "821eeae93e48f1ee381c49b8cd4d22fda92d27a2" }
2121
chrono = { workspace = true }

system-reinstall-bootc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ platforms = ["*-unknown-linux-gnu"]
1717
[dependencies]
1818
anyhow = { workspace = true }
1919
bootc-mount = { path = "../mount" }
20-
bootc-utils = { path = "../utils" }
20+
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
2121
clap = { workspace = true, features = ["derive"] }
2222
crossterm = "0.29.0"
2323
dialoguer = "0.11.0"

sysusers/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cap-std-ext = { version = "4", features = ["fs_utf8"] }
1313
hex = "0.4"
1414
thiserror = { workspace = true }
1515
tempfile = { workspace = true }
16-
bootc-utils = { path = "../utils" }
16+
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
1717
rustix = { workspace = true }
1818
uzers = "0.12"
1919

tmpfiles/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fn-error-context = { workspace = true }
1111
cap-std-ext = { version = "4" }
1212
thiserror = { workspace = true }
1313
tempfile = { workspace = true }
14-
bootc-utils = { path = "../utils" }
14+
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.0.0" }
1515
rustix = { workspace = true }
1616
uzers = "0.12"
1717

utils/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
2-
name = "bootc-utils"
3-
publish = false
2+
name = "bootc-internal-utils"
3+
description = "Internal implementation component of bootc; do not use"
44
version = "0.0.0"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)