Skip to content

cargo: Remove default features on all dependencies#76

Merged
tylerfanelli merged 1 commit into
confidential-containers:mainfrom
tylerfanelli:deps-disable-std-default
Sep 23, 2025
Merged

cargo: Remove default features on all dependencies#76
tylerfanelli merged 1 commit into
confidential-containers:mainfrom
tylerfanelli:deps-disable-std-default

Conversation

@tylerfanelli

@tylerfanelli tylerfanelli commented Sep 19, 2025

Copy link
Copy Markdown
Collaborator

Remove default features on each dependency and explicitly build the std feature when enabled in this crate. This helps prevent breakage when building in nostd environments. Unfortunately, the build errors are not seen when running clippy with --no-default-features --features alloc like done in the GH actions.

@tylerfanelli tylerfanelli requested a review from sameo as a code owner September 19, 2025 21:03
@tylerfanelli tylerfanelli changed the title Deps disable std default cargo: Remove default features on all dependencies Sep 19, 2025
Remove default features on each dependency and explicitly build
the `std` feature when enabled in this crate. This helps prevent
breakage when building in nostd environments.

Unfortunately, the build errors are not seen when running clippy with
--no-default-features like done in the GH actions.

Signed-off-by: Tyler Fanelli <tfanelli@redhat.com>
@tylerfanelli tylerfanelli requested a review from a team as a code owner September 22, 2025 22:40
@tylerfanelli tylerfanelli merged commit 807bc03 into confidential-containers:main Sep 23, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants