chronoutil icon indicating copy to clipboard operation
chronoutil copied to clipboard

no_std support

Open lemunozm opened this issue 10 months ago • 2 comments

Hi, we wanted to use this crate in a no_std environment. Is it expected at some point?

lemunozm avatar Apr 23 '24 14:04 lemunozm

Hey, I'd be happy to add support, but have to admit I don't have any experience with no_std environemnts. The plan would be to follow a similar path to chrono's own no_std journey https://github.com/chronotope/chrono/issues/336

This would probably take a while given other time commitments I have, so help is welcome. In the absence of a PR I'm happy to commit to adding it over the next few months.

olliemath avatar Apr 24 '24 15:04 olliemath

Thanks for your fast response!

From what I could see, it should not be very difficult, because most of the implementations are just plain code over chrono crate, which already supports no_std. Or at least, supporting some basic functionality.

I'll try to research a bit and maybe add a draft PR

lemunozm avatar Apr 25 '24 09:04 lemunozm