diff --git a/native/rhai_rustler/Cargo.lock b/native/rhai_rustler/Cargo.lock index a9d8af4..4badca4 100644 --- a/native/rhai_rustler/Cargo.lock +++ b/native/rhai_rustler/Cargo.lock @@ -108,6 +108,15 @@ dependencies = [ "windows-targets", ] +[[package]] +name = "no-std-compat" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" +dependencies = [ + "spin", +] + [[package]] name = "num-traits" version = "0.2.19" @@ -122,6 +131,15 @@ name = "once_cell" version = "1.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "portable-atomic" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2" [[package]] name = "proc-macro2" @@ -149,13 +167,14 @@ checksum = "53a49587ad06b26609c52e423de037e7f57f20d53535d66e08c695f347df952a" [[package]] name = "rhai" -version = "1.19.0" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61797318be89b1a268a018a92a7657096d83f3ecb31418b9e9c16dcbb043b702" +checksum = "8867cfc57aaf2320b60ec0f4d55603ac950ce852e6ab6b9109aa3d626a4dd7ea" dependencies = [ "ahash", "bitflags", "instant", + "no-std-compat", "num-traits", "once_cell", "rhai_codegen", @@ -237,6 +256,12 @@ dependencies = [ "version_check", ] +[[package]] +name = "spin" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" + [[package]] name = "static_assertions" version = "1.1.0" diff --git a/native/rhai_rustler/Cargo.toml b/native/rhai_rustler/Cargo.toml index d882c7b..c04ed3d 100644 --- a/native/rhai_rustler/Cargo.toml +++ b/native/rhai_rustler/Cargo.toml @@ -10,7 +10,7 @@ path = "src/lib.rs" crate-type = ["cdylib"] [dependencies] -rhai = { version = "=1.19.0", features = ["sync"] } +rhai = { version = "=1.20.0", features = ["sync"] } rhai-dylib = { version = "0.4.0", features = ["sync"] } thiserror = "1.0.65" rustler = "0.35.0"