1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 15:45:53 +01:00

7 Commits

Author SHA1 Message Date
Daniele Guarascio
13d5db68aa Update workspace to Rust edition 2024
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>
2026-01-12 17:38:26 +01:00
Huijing Hei
64eef42d92 crates/utils: update version to 0.1.0
Signed-off-by: Huijing Hei <hhei@redhat.com>
2025-12-09 08:35:47 -05:00
Colin Walters
9bc7fe9d69 Fix use of str::len and deny in make validate-rust
Part of re-enabling clippy.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-08-26 09:53:30 -04:00
Colin Walters
950a03e09f crates/sysusers: Fix various clippy lints
Signed-off-by: Colin Walters <walters@verbum.org>
2025-08-26 08:24:02 -04:00
Colin Walters
87e8ac64b9 build-sys: Reorganize crate listings
Split `dependencies` into three sections:
- Internal deps (crates in the same workspace)
- Workspace deps
- Deps only used by that sub-crate

Also make everything alphabetical.

Assisted-by: Claude Code
Signed-off-by: Colin Walters <walters@verbum.org>
2025-08-08 10:16:51 -04:00
Colin Walters
2a4bfc8e7f build-sys: Move all common deps to workspace
General cleanup.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-08-08 10:16:51 -04:00
Colin Walters
2f69a16074 Move all crates under crates/
Just organizational cleanup, a number of Rust projects
do this:
https://github.com/search?q=+%22crates%2F*%22+path%3ACargo.toml+-is%3Afork&type=code&p=5

Signed-off-by: Colin Walters <walters@verbum.org>
2025-07-17 16:27:39 -04:00