draft of statestream reading

This commit is contained in:
2025-10-28 09:40:49 -07:00
parent 7b9af28eec
commit 8da2da77f8
4 changed files with 178 additions and 44 deletions
+8
View File
@@ -2,6 +2,14 @@ mod rply;
mod statestream;
pub use rply::*;
#[derive(Debug, thiserror::Error)]
pub struct InvalidDeterminant(pub u8);
impl std::fmt::Display for InvalidDeterminant {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", self.0)
}
}
#[cfg(test)]
mod tests {
use super::*;