mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 15:45:53 +01:00
Migrate all crates from edition 2021 to 2024. This includes updating Cargo.toml files and fixing code compatibility issues. The MSRV is bumped to 1.85.0 to support edition 2024. Note: global_init() requires #[allow(unsafe_code)] for std::env::set_var which is now unsafe in edition 2024. This is safe because the function is called early in main() before any threads are spawned. Closes: #1414 Signed-off-by: Daniele Guarascio <guarascio.daniele@gmail.com>
31 lines
797 B
TOML
31 lines
797 B
TOML
[package]
|
|
description = "Internal mount code"
|
|
# Should never be published to crates.io
|
|
publish = false
|
|
edition = "2024"
|
|
license = "MIT OR Apache-2.0"
|
|
name = "bootc-mount"
|
|
repository = "https://github.com/bootc-dev/bootc"
|
|
version = "0.0.0"
|
|
|
|
[dependencies]
|
|
# Internal crates
|
|
bootc-utils = { package = "bootc-internal-utils", path = "../utils", version = "0.1.0" }
|
|
|
|
# Workspace dependencies
|
|
anyhow = { workspace = true }
|
|
camino = { workspace = true, features = ["serde1"] }
|
|
fn-error-context = { workspace = true }
|
|
libc = { workspace = true }
|
|
rustix = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
tracing = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
cap-std-ext = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
indoc = { workspace = true }
|
|
|
|
[lib]
|
|
path = "src/mount.rs"
|