Add more runner events to the reporter and refine the structure

This commit is contained in:
Omar Abdulla
2025-08-24 20:13:48 +03:00
parent cbb6a11404
commit 4d7d7ed843
6 changed files with 88 additions and 22 deletions
@@ -7,6 +7,15 @@ macro_rules! impl_for_wrapper {
}
}
};
(FromStr, $ident: ident) => {
impl std::str::FromStr for $ident {
type Err = anyhow::Error;
fn from_str(s: &str) -> anyhow::Result<Self> {
s.parse().map(Self).map_err(Into::into)
}
}
};
}
/// Defines wrappers around types.