atomic-rs icon indicating copy to clipboard operation
atomic-rs copied to clipboard

Please consider supporting de/serialization with `serde`.

Open blp opened this issue 8 months ago • 2 comments

serde has built-in support for serializing and deserializing the standard library's Atomic types. It would be handy if this crate also supported serializing and deserializing its own Atomic types (perhaps enabled with a crate feature).

If you'd considering accepting a PR to add this feature, let me know! I would consider writing one up.

blp avatar Apr 07 '25 23:04 blp

Sure, I would be happy to accept a PR for this.

Amanieu avatar Apr 20 '25 21:04 Amanieu

Thank you! I submitted https://github.com/Amanieu/atomic-rs/pull/42.

blp avatar May 11 '25 20:05 blp

Fixed with PR #42.

blp avatar Jun 09 '25 15:06 blp