korken89 / fugit

`fugit` provides a comprehensive library of `Duration` and `Instant` for the handling of time in embedded systems, doing all it can at compile time.
Apache License 2.0
55 stars 16 forks source link

make Duration::convert const #15

Closed TDHolmes closed 2 years ago

TDHolmes commented 2 years ago

Can be const as of rust 1.57

TDHolmes commented 2 years ago

@korken89 are you open to adding an MSRV to this crate of 1.57? If so I can add it to package.rust-version in the Cargo.toml and add a CI step to verify it with cargo-msrv

TDHolmes commented 2 years ago

Adding MSRV check in CI is a bit gross at the moment actually.. see https://github.com/TDHolmes/embedded-profiling/pull/7 and https://github.com/foresterre/cargo-msrv/issues/224

korken89 commented 2 years ago

I think it's fine as is. :) I can look into MSRV in the future, for now this library is practically only guarantees to work on the latest stable.

korken89 commented 2 years ago

bors merge

bors[bot] commented 2 years ago

Build succeeded: