pub fn parse_timeline(s: &str) -> Result<Vec<(u64, u64)>, ParseTimelineError>Expand description
Parse a timeline string back into a recipe.
Accepts the format produced by format_timeline: segments of count@seed
joined by ->.
§Errors
Returns an error if the string is malformed (missing @, non-numeric values).
§Example
use moonpool_explorer::parse_timeline;
let recipe = parse_timeline("42@12345 -> 17@67890").unwrap();
assert_eq!(recipe, vec![(42, 12345), (17, 67890)]);