Forgive me all, but I’m new to rust and am trying to learn my way around.
I thought it best to download some crates to see some example code.
So I found cal - a small binary that works like a *nix cal command line utility.
So i typed cargo install cal - and I received an error when compiling it stating that
use std::time::duration::Duration; is incorrect because
duration is private
Am I using cargo incorrectly? I assumed that when this person created cal v0.0.1 cargo would install dependency crates at the same version this person used when creating their crate. But it looks like since this person released this program, certain dependency and standard rust libraries have changed.