the metadata parser

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
Cyrill Leutwiler
2025-03-19 09:49:45 +01:00
parent 42d6f04f2d
commit d08d6fd66f
9 changed files with 1921 additions and 11 deletions
+14
View File
@@ -0,0 +1,14 @@
use std::collections::BTreeMap;
use serde::Deserialize;
use crate::{case::Case, mode::Mode};
#[derive(Debug, Default, Deserialize, Clone, Eq, PartialEq)]
pub struct Metadata {
pub cases: Vec<Case>,
pub contracts: Option<BTreeMap<String, String>>,
pub libraries: Option<BTreeMap<String, BTreeMap<String, String>>>,
pub ignore: Option<bool>,
pub modes: Option<Vec<Mode>>,
}