juniperparsnips / rink-runtime

Rust implementation of inkle's open source scripting language runtime engine.
MIT License
1 stars 2 forks source link

Refactor deserialization #8

Closed IFcoltransG closed 1 year ago

IFcoltransG commented 1 year ago

Completely refactor deserialization (also remove unnecessary constructors/getters/setters, and remove "ref"). Deserialization now uses serde derives and attributes rather than visitor structs.

IFcoltransG commented 1 year ago

Thank you for taking the time to review this pull request. I've removed .to_string() calls inside the write! macro, and swapped out the enum name for the full version.