Skip to content
New issue

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

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

Already on GitHub? # to your account

Implement serialize/deserialize for core::net instead of std::net #2816

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

MathiasKoch
Copy link
Contributor

Implement serialize/deserialize for core::net instead of std::net, if running rust version newer than 1.77, where core::net was stabilized

Fixes #2760

@MathiasKoch MathiasKoch force-pushed the chore/core-net branch 3 times, most recently from dfebbb2 to 8e736cd Compare September 5, 2024 09:02
serde/src/ser/impls.rs Outdated Show resolved Hide resolved
…running rust version newer than 1.77, where core::net was stabilized
Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Thank you!

@dtolnay dtolnay merged commit b4f860e into serde-rs:master Sep 6, 2024
15 checks passed
@dtolnay
Copy link
Member

dtolnay commented Sep 6, 2024

Published in 1.0.210.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

IpAddr and SocketAddr are in core, but serde implements only for std
3 participants