A small exercise in API design in rustlang. Based on the talk and live-code demo, "Type-Driven API Design in Rust" by Will Crichton, at the Strange Loop Conference, Oct 1-2, 2021.
The talk demonstrates how rust traits and generics are used to design an API for a simple progress bar.