lytefast / gcra-rs

Basic rust GCRA implementation
MIT License
7 stars 1 forks source link

Is Nightly required #8

Open dandxy89 opened 1 week ago

dandxy89 commented 1 week ago

Hello @lytefast

Would it be possible to create a non-nightly variant of this crate?

#![feature(div_duration)]
#![feature(is_some_and)]

From src/lib.rs

lytefast commented 6 days ago

No it's not. This is mainly a code readability thing. We can just as easily patch these out. However these features are both stabilized and I'm hoping to just wait for the next release.

https://doc.rust-lang.org/std/option/enum.Option.html#method.is_some_and as of 1.70.0

https://github.com/rust-lang/rust/issues/63139 - I'm inclined to wait as it looks like it's going to be stabilized soon from comments on all the threads