rhaiscript / rhai

Rhai - An embedded scripting language for Rust.
https://crates.io/crates/rhai
Apache License 2.0
3.63k stars 174 forks source link

Rhai depends on unmaintained crate "instant" #891

Open VorpalBlade opened 3 weeks ago

VorpalBlade commented 3 weeks ago

According to https://crates.io/crates/instant:

This crate is no longer maintained. Please consider creating a fork or using web-time instead. Or reach out if you are interested in taking over its maintenance.

rhai should probably switch?

schungx commented 3 weeks ago

Hhhhmmm.... good catch.

Not sure if web-time would be a drop-in replacement...

As instant is primarily used only in WASM and I don't usually build for WASM... Somebody needs to test it out and let me know if everything is fine if we replace instant with web-time...

VorpalBlade commented 3 weeks ago

As instant is primarily used only in WASM and I don't usually build for WASM... Somebody needs to test it out and let me know if everything is fine if we replace instant with web-time...

Same, I was just adding rhai to a new project and was auditing the recursive dependencies it pulled in and noticed this. Since I don't target wasm I don't have any reason to work on this.