HF RL Explorer

product codes: implement stub

product codes: implement stub: a task in smol-software-harbor (Harbor dataset). parse() in src/lib.rs is a todo!() . Implement it following its doc comment and the SkuError enum: exactly four - -separated parts (else Format ), then check the warehouse code, the 4-digit number, the colour and the…

The task

`parse()` in `src/lib.rs` is a `todo!()`. Implement it following its doc comment and the `SkuError` enum: exactly four `-`-separated parts (else `Format`), then check the warehouse code, the 4-digit number, the colour and the size from left to right and return the error of the first part that is wrong. Run `cargo…

Part of efederici/smol-software-harbor.