Add versioning for the analyzed types and schema validation

Remove dangling function in  macro

Fix variable name in schema_update.rs

Read the version number at runtime instread of compile time

Fix version_number parsing and write new schema after it

Add schemars feature `preserve_order`

Change unwrap for expect in schema_update.rs

Moved schema binary in its own crate

Graceful error management in powdr-schema instead of panic

Better graceful error handling in the pipeline and the cli

Fix clippy

Put the magic number at the start of the serialized data

Revert magic at the start of the file

Moved the SerializedAnalyzed to the schemas crate

Changed serialized.rs to analyzed.rs

Changed the magic number to be the ASCII `powdr`
This commit is contained in:
Champii1
2024-02-13 20:02:34 +01:00
parent 9314b8ac0e
commit 0cf2b977dc
21 changed files with 276 additions and 45 deletions

View File

@@ -23,6 +23,7 @@ members = [
"asm-utils",
"airgen",
"riscv-executor",
"schemas",
]
exclude = [ "riscv-runtime" ]