Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define MaxSize for Arc and Rc #137

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Conversation

carlsverre
Copy link
Contributor

Serde supports auto-deriving Serialize and Deserialize for Arc and Rc types with the caveat being that the underlying type is serialized/deserialized. I am using this feature along with Postcard, and need this patch (or something equivalent to it) in order to calculate the max serialized size of my types.

More details on Serde's Arc and Rc support here: https://serde.rs/feature-flags.html#rc

Copy link

netlify bot commented Apr 4, 2024

Deploy Preview for cute-starship-2d9c9b canceled.

Name Link
🔨 Latest commit b7f41e5
🔍 Latest deploy log https://app.netlify.com/sites/cute-starship-2d9c9b/deploys/6621aa40336ec40008424635

@jamesmunns
Copy link
Owner

Thank you!

@jamesmunns jamesmunns merged commit ae7f40b into jamesmunns:main Apr 19, 2024
4 checks passed
@carlsverre
Copy link
Contributor Author

Thanks for merging this in @jamesmunns! Anything I can do to help release 1.0.9?

@carlsverre carlsverre deleted the maxsize_rc branch April 19, 2024 18:54
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