diff --git a/native/rhai_rustler/Cargo.lock b/native/rhai_rustler/Cargo.lock index 84bd3ef..13c297f 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.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6" [[package]] name = "proc-macro2" @@ -149,13 +167,14 @@ checksum = "53a49587ad06b26609c52e423de037e7f57f20d53535d66e08c695f347df952a" [[package]] name = "rhai" -version = "1.19.0" +version = "1.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61797318be89b1a268a018a92a7657096d83f3ecb31418b9e9c16dcbb043b702" +checksum = "d0277a46f29fe3b3eb10821ca2c65a4751b686b6c84422aae31695ba167b0fbc" 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 6bfc465..106e214 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.1", features = ["sync"] } rhai-dylib = { version = "0.4.0", features = ["sync"] } thiserror = "2.0.9" rustler = "0.35.0"