mirror of
https://github.com/status-im/nim-serialization.git
synced 2025-01-28 04:35:02 +00:00
d856d6ece5
The README file was describing an outdated way of defining serialization formats. It was updated accordingly to match the current API. - New format declaration using `setReader` and `setWriter` and mandatory `PreferredOutput` type declaration, as introduced in f9a1121b8733eb75e624ab59f8d79e707f15f76f. - Removal of `fileExt` declaration, which was never implemented. - Removal of format-specific `dontSerialize` pragma as well as the `serialize` pragma, which were never implemented. - Rename `serializedFields` macro to `setSerializedFields`, to keep up with 60613bac5db2bd7914d484874201f31b3f318165. - Remove rename functionality in `setSerializedFields`, which was never implemented. - A couple updated argument lists and typo corrections.