Skip to content

feat: enable no_std compilation and check it in CI#93

Open
JoseSK999 wants to merge 2 commits intomit-dci:mainfrom
JoseSK999:feat-enable-no-std
Open

feat: enable no_std compilation and check it in CI#93
JoseSK999 wants to merge 2 commits intomit-dci:mainfrom
JoseSK999:feat-enable-no-std

Conversation

@JoseSK999
Copy link

@JoseSK999 JoseSK999 commented Feb 5, 2026

Description

This PR adds two new dependencies that are needed for no_std support: hashbrown (HashMap alternative) and bitcoin_io (io trait and type replacements).

The AccumulatorHash trait bounds depend on whether we use std or no_std now.

Note

This seems to work but perhaps we should add a feature powerset CI check to ensure all 4 combinations work fine for clippy and testing.

The prelude list is from floresta-common, I think I can trim a couple of these imports.

This commit adds two new dependencies that are needed for `no_std` support: `hashbrown` (`HashMap` alternative) and `bitcoin_io` (`io` trait and type replacements).

The `AccumulatorHash` trait bounds depend on whether we use `std` or `no_std` now.
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.

1 participant