Print Typewriter
Simple learning project for a Rust Library that lets you print strings character by character in a configurable way.
Typing out "hello" with each character taking 10 milliseconds to be printed
```rust use printtypewriter::{charduration, println_typed};
let duration = charduration!(default 10.ms); printlntyped!(duration, "hello"); ```
Typing "hello world" with each word being typed instantly and each space taking 250 milliesconds
```rust use printtypewriter::{charduration, println_typed};
let duration = charduration!(' '->250.ms); printlntyped!(duration, "hello"); ```
Typing a formatted string, "hello {} world" with spaces taking 250 milliseconds, periods taking 1 second, and everything else taking 90
```rust use printtypewriter::{charduration, println_typed};
let duration = charduration!(default 90.ms, ' '->250.ms, '.'->1.s); let beans = "beans"; printlntyped!(duration, "hello {} world", beans); ```