aiken/crates/aiken-project
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
..
src Implement serde's Deserialize for blueprints. 2023-01-31 15:39:40 +01:00
templates Implement various visual improvements for the doc generator 2023-01-18 15:12:15 +01:00
Cargo.toml Allow testing blueprint generation from Aiken programs 2023-01-31 09:48:44 +01:00
README.md chore: make folder names match crate name 2022-12-21 18:11:07 -05:00

README.md

Project

This crate encapsulates the code used to manage Aiken projects. See crates/cli for usage.