Skip to content

Assorted tweaks to support external playground crate#322

Merged
robknight merged 6 commits intomainfrom
playground-tweaks
Jul 2, 2025
Merged

Assorted tweaks to support external playground crate#322
robknight merged 6 commits intomainfrom
playground-tweaks

Conversation

@robknight
Copy link
Collaborator

These are various tweaks which allow the playground crate to import pod2 as an external crate. In particular, the examples feature allows external crates to import things like the Ethdos batch.

The other changes are mostly adding some extra derives or methods to make crate-private fields accessible.

@robknight robknight requested a review from arnaucube July 1, 2025 08:33
Copy link
Collaborator

@arnaucube arnaucube left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! just left a small question

}
}

impl ToHex for RawValue {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question, I see that before this PR, the type Hash had implementations for the traits ToHex and FromHex. Here it is introducing ToHex for the type RawValue; should we add also the implementation of FromHex for the type RawValue? (so that it is available in the future for when converting back and forth the RawValue from & to hex)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added the FromHex trait as well.

@robknight robknight requested a review from arnaucube July 2, 2025 14:10
@robknight robknight merged commit 24cafde into main Jul 2, 2025
6 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