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

8 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
gursewak1997
0e27000141 Fix lint to check /etc/tmpfiles.d
The bootc container lint command now reads tmpfiles.d configuration files
from both /usr/lib/tmpfiles.d and /etc/tmpfiles.d, with /etc entries
taking precedence (matching systemd's behavior).

Fixes #1732

Signed-off-by: gursewak1997 <gursmangat@gmail.com>
2025-11-14 07:27:28 -05:00
Colin Walters
c23c9ae54c Fix (or allow) remaining clippy lints
Assisted-by: Claude Code
Signed-off-by: Colin Walters <walters@verbum.org>
2025-08-26 10:13:10 -04:00
Colin Walters
bb8444dfe6 crates/tmpfiles: Fix various clippy lints
Signed-off-by: Colin Walters <walters@verbum.org>
2025-08-26 08:24:04 -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