-
-
Notifications
You must be signed in to change notification settings - Fork 13
Description
I'd like to be able to serialise/deserialise my graphs.
I've taken a look at it and the work to add naive support is fairly trivial. Enabling hash brown serialize/deserialize support, adding serde support to the lib and specifying some derives is pretty much all that's required.
If we want to implement it as a feature for (similar to the existing "dot" feature), I think that would also be fairly straightforward.
This would then tie in the library to a long term serialisation format that exposes details about implementation and that might not be desirable. It might be better to have a discussion about the implications of this before going ahead and adding support. One solution could be to provide an implementation that checks for incompatibilities (perhaps version based) and fails if incompatible. That would be more work than just using the derive macros.
What do you think?