Skip to content

Conversation

@macladson
Copy link
Member

Proposed Changes

Re-export context_deserialize_derive inside of context_deserialize so they are both available from the same interface, which matches how popular crates (like serde) handle this.

This also nests both crates inside a new context_deserialize directory which will make it easier to eventually spin out into a different repo (if/when) we decide to do that (plus I prefer it aesthetically).

Additional Info

I've also reorganized and added feature gates for external crate impls (ssz_types, and milhouse).

@macladson macladson added work-in-progress PR is a work-in-progress code-quality labels Aug 11, 2025
all = ["derive", "milhouse", "ssz"]

[dependencies]
context_deserialize_derive = { version = "0.1.0", path = "../context_deserialize_derive", optional = true }
Copy link
Member

Choose a reason for hiding this comment

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

Should this not just be workspace = true rather than path?

Copy link
Member

Choose a reason for hiding this comment

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

Nvm, looks like that generates a warning about the version being unused. And the combo of version + path is more future proof (aligned with what we'll want when we pull this crate out).

Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

LGTM

Was there anything else you wanted to add before merging?

@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed work-in-progress PR is a work-in-progress labels Aug 12, 2025
mergify bot added a commit that referenced this pull request Aug 12, 2025
mergify bot added a commit that referenced this pull request Aug 12, 2025
@mergify mergify bot merged commit 152f2bb into sigp:unstable Aug 12, 2025
34 checks passed
@macladson macladson deleted the combine-context-deserialize branch August 12, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-quality ready-for-merge This PR is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants