aiken/crates
KtorZ 1aa12fb368
Implement serde's Deserialize for blueprints.
Here's a trick though: I got lazy (a bit) and did not write a full deserializer for Schema because this is busywork and not at all necessary at this stage. Instead, I've made the blueprint parameterized by a generic type <T>; which represents the type of the underlying blueprint's schema. When deserializing from JSON, we can default to 'Value' to get a free deserializer. Since all we're interested about is the program and the metadata (purpose and title) of a validator, it works nicely.

  Serialization however expects a Blueprint<Schema>, and most of the functions operates over a Blueprint<Schema> anyway.
2023-01-31 15:39:40 +01:00
..
aiken Move UPLC dump into separate function + log event. 2023-01-31 09:48:44 +01:00
aiken-lang Use IndexMap throughout 2023-01-31 09:51:00 +01:00
aiken-lsp Release 0.0.28 2023-01-06 13:41:00 -05:00
aiken-project Implement serde's Deserialize for blueprints. 2023-01-31 15:39:40 +01:00
flat-rs Release 0.0.27 2022-12-30 00:57:49 -05:00
uplc Define serde's Serialize/Deserialize for Program<DeBrujin> 2023-01-31 15:39:40 +01:00