While working on the gigasecond exercise, I noticed that the stub and test files (tests/gigasecond.rs) rely on time::PrimitiveDateTime.
According to the time crate documentation, PrimitiveDateTime is now an alias for PlainDateTime and will be removed in the next breaking release.
I was going to submit a PR to update gigasecond to use PlainDateTime, but I wanted to check in with the maintainers first:
- Does the current
time = "0.3"version locked in therust-test-runnersupportPlainDateTime? - If yes, would you prefer a PR that updates just
gigasecond, or a track-wide PR to sweep for all usages ofPrimitiveDateTime(e.g., in other exercises)?
Happy to open the PR once I know the preferred scope!