-
Notifications
You must be signed in to change notification settings - Fork 314
Capture: flexible textual format #2235
Copy link
Copy link
Open
Description
When saving a capture, some could find JSON more familiar than RON. Or, perhaps, a non-default PrettyConfig is desired (e.g. one that includes struct names). One could even think of using bincode to have compact output.
We can easily have a configuration type passed over to save_capture. It's not entirely obvious how load_capture is supposed to discover the description files, given they can have different extensions.
A somewhat good thing is - having the config would technically make ron a non-required feature.
When such a configuration is implemented, it should also have switches for other pieces of logic, like the PNG saving ability of #2234.
Reactions are currently unavailable