Skip to content

Personal AI, On Personal Devices

Python

build(deps): update Rust dependencies and require Rust 1.89 (#1106)

dependabot[bot]9c0607040c1d
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index fb52ea62..725d3b93 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -28,6 +28,10 @@ updates:
- package-ecosystem: "cargo"
directory: "/rust"
+ # Pre-1.0 Rig upgrades change its model/agent APIs and need a migration.
+ ignore:
+ - dependency-name: "rig-core"
+ update-types: ["version-update:semver-major"]
open-pull-requests-limit: 2
schedule:
interval: "weekly"
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index 73b7ec70..ce9c5197 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -1496,9 +1496,9 @@ dependencies = [
[[package]]
name = "pyo3"
-version = "0.29.2"
+version = "0.29.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
+checksum = "700d18fa267b73b9b521fd7e13580e2f446916f176cacee1ab63fcc8191f1655"
dependencies = [
"libc",
"once_cell",
@@ -1510,18 +1510,18 @@ dependencies = [
[[package]]
name = "pyo3-build-config"
-version = "0.29.2"
+version = "0.29.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
+checksum = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb"
dependencies = [
"target-lexicon",
]
[[package]]
name = "pyo3-ffi"
-version = "0.29.2"
+version = "0.29.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
+checksum = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330"
dependencies = [
"libc",
"pyo3-build-config",
@@ -1529,9 +1529,9 @@ dependencies = [
[[package]]
name = "pyo3-macros"
-version = "0.29.2"
+version = "0.29.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
+checksum = "6100e8a4b5eba53afaa5ed078364851a0b2499c553a44c31026b929049b49dc6"
dependencies = [
"proc-macro2",
"pyo3-macros-backend",
@@ -1541,9 +1541,9 @@ dependencies = [
[[package]]
name = "pyo3-macros-backend"
-version = "0.29.2"
+version = "0.29.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
+checksum = "6143877a16e82b5a727b7127ff4cd86858a24a28d745d72f43e6f227c7b1bdb3"
dependencies = [
"heck",
"proc-macro2",
@@ -2325,7 +2325,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
dependencies = [
"fastrand",
- "getrandom 0.4.2",
+ "getrandom 0.3.4",
"once_cell",
"rustix",
"windows-sys 0.61.2",
@@ -2641,9 +2641,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
[[package]]
name = "uuid"
-version = "1.26.1"
+version = "1.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ef6dac1e96601b4fb3acccccff2139741fcb757cb9a36089bf5be91cfb285ce"
+checksum = "97277d36b9c3ace13e58fa6e753f8b0bbbf302a18dd193240d70f9e29681059a"
dependencies = [
"getrandom 0.4.2",
"js-sys",
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index f9ee15ba..207f1e45 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -20,13 +20,9 @@ members = [
"crates/openjarvis-scheduler",
]
-# Minimum supported Rust version. The workspace uses let-chains (via rig-core)
-# and `is_multiple_of` (openjarvis-skills), both stabilized in Rust 1.88 —
-# building on 1.86/1.87 fails with cryptic E0658 errors deep in dependencies
-# (see #252). Declared here and pinned in rust-toolchain.toml so users get a
-# clear "requires rustc 1.88" signal instead.
+# uuid 1.27 requires Rust 1.89; keep this aligned with rust-toolchain.toml.
[workspace.package]
-rust-version = "1.88"
+rust-version = "1.89"
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
diff --git a/rust/rust-toolchain.toml b/rust/rust-toolchain.toml
index b6a8a616..d1278087 100644
--- a/rust/rust-toolchain.toml
+++ b/rust/rust-toolchain.toml
@@ -1,10 +1,5 @@
-# Pin the Rust toolchain for the openjarvis_rust workspace.
-#
-# The workspace requires Rust >= 1.88: rig-core uses let-chains and
-# openjarvis-skills uses `is_multiple_of`, both stabilized in 1.88. On older
-# stable toolchains the build fails with cryptic E0658 errors deep inside a
-# transitive dependency (see #252). Pinning here makes rustup install/select a
-# compatible toolchain automatically and gives a clear requirement up front.
+# Pin the minimum toolchain supported by the workspace dependencies.
+# uuid 1.27 requires Rust 1.89.
[toolchain]
-channel = "1.88"
+channel = "1.89"
components = ["rustfmt", "clippy"]