From 4887e1c6d3c6ca7dd54ad8ef5fccb4fafb4b5a4c Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Sun, 22 Nov 2026 14:22:01 +0100 Subject: [PATCH] build: release 0.4.1 and refresh the dependencies The workspace moves to 0.4.1 and the helm chart's version and appVersion follow. cargo update takes every compatible refresh the index offers (24 patch bumps across the tree). Three direct requirements move a semver line: reqwest 0.12 to 0.13, quick-xml 0.41 to 0.42, base64 0.22 to 0.23. reqwest 0.13 gates the query builder behind a feature of its own, so the claw's dev dependency and both integrations carry query beside json. The 0.12 line stays in the tree: the published rhema crates still require it, and semver-incompatible dependencies coexist where links allows. quick-xml 0.42 makes LocalName hold a &str and xml10_content infallible, so the CalDAV multistatus parser drops its from_utf8 unwrap and the map_err on a Result that no longer exists. rusqlite stays on 0.40. The published rhema-identity 0.4.1 still requires ^0.40, and libsqlite3-sys declares links = sqlite3, which the resolver allows exactly once per binary: two versions cannot coexist the way reqwest's do. The requirement moves when the published family publishes a rusqlite 0.43 build. Verified with fmt, clippy -D warnings, and the full workspace test suite with all features (449 tests). --- Cargo.lock | 422 +++++++++++++++--- Cargo.toml | 2 +- crates/rhema-claw/Cargo.toml | 4 +- deploy/helm/rhema-claw/Chart.yaml | 4 +- .../rhema-calendar-integration/Cargo.toml | 4 +- .../rhema-calendar-integration/src/caldav.rs | 19 +- .../rhema-forge-integration/Cargo.toml | 2 +- 7 files changed, 364 insertions(+), 93 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 25f0d57..8eb329c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -258,6 +258,29 @@ version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" +[[package]] +name = "aws-lc-rs" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "048006790404103c488e6c5616b3e7e702a71292aadda08e8f7698a9e0d2eb53" +dependencies = [ + "aws-lc-sys", + "zeroize", +] + +[[package]] +name = "aws-lc-sys" +version = "0.47.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bfbe32ac36b3c428696ce315464181bc4029d689fd58e3f2a4e58c252242f52" +dependencies = [ + "cc", + "cmake", + "dunce", + "fs_extra", + "pkg-config", +] + [[package]] name = "axum" version = "0.8.9" @@ -370,9 +393,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.20.3" +version = "3.20.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" +checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db" [[package]] name = "byteorder" @@ -382,9 +405,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.12.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" +checksum = "776dfebd015e2d8732c684a2c71003674ccb49457b539b9e82151ba38e96dd7c" [[package]] name = "cbc" @@ -397,11 +420,13 @@ dependencies = [ [[package]] name = "cc" -version = "1.11.1" +version = "1.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ff2a8126fff0f8c839080d619675a585e61720bb12d2baceae45769fd66f155" +checksum = "02f0e023adb368345ce0ca6cdfc0f24a06554468d0e8503e14a0841de79bfa69" dependencies = [ "find-msvc-tools", + "jobserver", + "libc", "shlex", ] @@ -440,9 +465,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.6.7" +version = "4.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946" +checksum = "844c5c0b65be192cb68d570cca1b21a6444431d24e39c084dc0336177015337c" dependencies = [ "clap_builder", "clap_derive", @@ -462,9 +487,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.6.7" +version = "4.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0" +checksum = "b4c174f11f949b9ca8c60580925e282b9cbd5454750e506f08648b2038080cd7" dependencies = [ "heck", "proc-macro2", @@ -474,9 +499,18 @@ dependencies = [ [[package]] name = "clap_lex" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486" +checksum = "e0921b3876b3a1df8a1c9f912e7f94342458022c2e84288015893d83c4d62a79" + +[[package]] +name = "cmake" +version = "0.1.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678" +dependencies = [ + "cc", +] [[package]] name = "cmov" @@ -490,6 +524,16 @@ version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" +[[package]] +name = "combine" +version = "4.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4356eba6976435498d05a311ee9fc486da3bc81c200d3f0d7dd9703b41913f92" +dependencies = [ + "bytes", + "memchr", +] + [[package]] name = "concurrent-queue" version = "2.5.0" @@ -655,6 +699,12 @@ dependencies = [ "syn 3.0.10", ] +[[package]] +name = "dunce" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" + [[package]] name = "encoding_rs" version = "0.8.44" @@ -785,13 +835,19 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "form_urlencoded" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e" dependencies = [ "percent-encoding", ] +[[package]] +name = "fs_extra" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" + [[package]] name = "futures" version = "0.3.34" @@ -960,9 +1016,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.17.1" +version = "0.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +checksum = "735eaa21a6a5ffb2e84362faaeb90c05ba8e19797ca30428478cb6ea3a4921bc" dependencies = [ "foldhash", ] @@ -973,7 +1029,7 @@ version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a596f1b20ed2cc5ecac41a164aaebc7258057060f06c0cf7a2ba3991ee7990fb" dependencies = [ - "hashbrown 0.17.1", + "hashbrown 0.17.2", ] [[package]] @@ -1257,7 +1313,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" dependencies = [ "equivalent", - "hashbrown 0.17.1", + "hashbrown 0.17.2", ] [[package]] @@ -1288,6 +1344,65 @@ version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4" +[[package]] +name = "jni" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +dependencies = [ + "cfg-if", + "combine", + "jni-macros", + "jni-sys", + "log", + "simd_cesu8", + "thiserror", + "walkdir", + "windows-link", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn 2.0.119", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "jobserver" +version = "0.1.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" +dependencies = [ + "getrandom 0.4.3", + "libc", +] + [[package]] name = "js-sys" version = "0.3.107" @@ -1313,9 +1428,9 @@ dependencies = [ [[package]] name = "keyring-core" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29fbf4b551298c67925f38cf341a1ada797a75f1837bdf8ae1fc8e2ebc6efb59" +checksum = "281c851dbae0de36d405299dd463126df4826dc32665c1314e931696b8cdee77" dependencies = [ "log", ] @@ -1416,9 +1531,9 @@ dependencies = [ [[package]] name = "mio" -version = "1.2.4" +version = "1.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee" +checksum = "20521a903f02b0a573cd6840e9d0a5a0cc043d361fe924092cd70f8556cc9c4a" dependencies = [ "libc", "wasi", @@ -1615,9 +1730,9 @@ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pin-project-lite" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" +checksum = "c938015719552d665fd0553b90d96cd7ff58e83e4c061ca99e6bb78865a72752" [[package]] name = "piper" @@ -1694,9 +1809,9 @@ dependencies = [ [[package]] name = "quick-xml" -version = "0.41.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1" +checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b" dependencies = [ "memchr", ] @@ -1727,6 +1842,7 @@ version = "0.11.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e750cca55fe4f0439a15d0bb529da9651e79993e8e72c61a899a36d462befbe" dependencies = [ + "aws-lc-rs", "bytes", "getrandom 0.4.3", "lru-slab", @@ -1830,9 +1946,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.13.1" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +checksum = "9807af0e638c12e753aa1b4e601791bf2a8f71274023c8bbeec12fc149950857" dependencies = [ "aho-corasick", "memchr", @@ -1842,9 +1958,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.18" +version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +checksum = "41d60ef07df457506a0a1a2073112eb4aae5733dbd2813c3da77d1b0fd441158" dependencies = [ "aho-corasick", "memchr", @@ -1853,9 +1969,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.11" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" +checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6" [[package]] name = "reqwest" @@ -1899,11 +2015,55 @@ dependencies = [ "url", "wasm-bindgen", "wasm-bindgen-futures", - "wasm-streams", + "wasm-streams 0.4.2", "web-sys", "webpki-roots", ] +[[package]] +name = "reqwest" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029" +dependencies = [ + "base64 0.23.1", + "bytes", + "encoding_rs", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "mime", + "percent-encoding", + "pin-project-lite", + "quinn", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tokio-rustls", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams 0.5.0", + "web-sys", +] + [[package]] name = "rhema-autonomous-agent" version = "0.4.1" @@ -1938,11 +2098,11 @@ dependencies = [ [[package]] name = "rhema-calendar-integration" -version = "0.4.0" +version = "0.4.1" dependencies = [ "async-trait", "quick-xml", - "reqwest", + "reqwest 0.13.5", "rhema-autonomous-agent", "rhema-rsd", "rusqlite", @@ -1957,14 +2117,14 @@ dependencies = [ [[package]] name = "rhema-claw" -version = "0.4.0" +version = "0.4.1" dependencies = [ "async-trait", "axum", - "base64 0.22.1", + "base64 0.23.1", "bytes", "clap", - "reqwest", + "reqwest 0.13.5", "rhema-autonomous-agent", "rhema-bash", "rhema-calendar-integration", @@ -1998,7 +2158,7 @@ dependencies = [ [[package]] name = "rhema-claw-tools-contract" -version = "0.4.0" +version = "0.4.1" dependencies = [ "serde", "serde_json", @@ -2033,10 +2193,10 @@ dependencies = [ [[package]] name = "rhema-forge-integration" -version = "0.4.0" +version = "0.4.1" dependencies = [ "async-trait", - "reqwest", + "reqwest 0.13.5", "rhema-rsd", "serde", "serde_json", @@ -2138,7 +2298,7 @@ checksum = "15855c3fa2d858622cd55bd6323d4a7533066e52a74e3dc440ffe69c12ed1263" dependencies = [ "async-trait", "futures-core", - "reqwest", + "reqwest 0.12.28", "rhema-core", "serde", "serde_json", @@ -2154,7 +2314,7 @@ checksum = "223a60c52ce2e548f72a9f2cce6f7a48be954bd3e5b959ff70d308b3d42d6425" dependencies = [ "async-trait", "futures-util", - "reqwest", + "reqwest 0.12.28", "rhema-core", "rhema-provider", "serde", @@ -2172,7 +2332,7 @@ dependencies = [ "base64 0.22.1", "futures-util", "rand 0.8.8", - "reqwest", + "reqwest 0.12.28", "rhema-core", "rhema-provider", "serde", @@ -2189,7 +2349,7 @@ checksum = "c6685a56017c7de21d17384d25f941f2733526d581dfafc5cd7371d4f6e82096" dependencies = [ "async-trait", "futures-util", - "reqwest", + "reqwest 0.12.28", "rhema-core", "rhema-provider", "rhema-provider-anthropic", @@ -2208,7 +2368,7 @@ checksum = "749f27fcf2ad1c7745cabc85e56d05e116bce30b6be317910f0c455ba4147ff9" dependencies = [ "async-trait", "futures-util", - "reqwest", + "reqwest 0.12.28", "rhema-core", "rhema-provider", "serde", @@ -2224,7 +2384,7 @@ checksum = "bf5d26ec681baac6b8c6fc752470a78205acb11f763987bf571fa54be1195e2a" dependencies = [ "async-trait", "futures-util", - "reqwest", + "reqwest 0.12.28", "rhema-core", "rhema-provider", "rhema-provider-openai-compatible", @@ -2242,7 +2402,7 @@ dependencies = [ "async-trait", "base64 0.22.1", "rand 0.8.8", - "reqwest", + "reqwest 0.12.28", "rhema-core", "rhema-provider", "rhema-provider-openai-compatible", @@ -2260,7 +2420,7 @@ checksum = "aab0c24d2d558d66de1f002c250d05c25d9c52038e4fa1890f6c40644c4f9702" dependencies = [ "async-trait", "futures-util", - "reqwest", + "reqwest 0.12.28", "rhema-core", "rhema-provider", "serde", @@ -2275,7 +2435,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3eb4c641b7997ba5cab41bede6c4b7331baa9a9b2298d5bb0ffbc8844df6dbf3" dependencies = [ "async-trait", - "reqwest", + "reqwest 0.12.28", "rhema-core", "rhema-provider", "rhema-provider-openai-compatible", @@ -2291,7 +2451,7 @@ checksum = "7170cef8b456c8f1df1b565d16ad3c61c4b252e521fff16718eacca5d7d98605" dependencies = [ "async-trait", "futures-util", - "reqwest", + "reqwest 0.12.28", "rhema-core", "rhema-provider", "rhema-provider-openai-compatible", @@ -2355,7 +2515,7 @@ checksum = "6f4cbb9f2238961082a8b406da460c84ced75f4d6bb9e52a79b41dc17065b601" dependencies = [ "async-trait", "base64 0.22.1", - "reqwest", + "reqwest 0.12.28", "rhema-sandbox", "serde", "serde_json", @@ -2468,6 +2628,15 @@ version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + [[package]] name = "rustix" version = "1.1.6" @@ -2487,6 +2656,7 @@ version = "0.23.46" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf" dependencies = [ + "aws-lc-rs", "once_cell", "ring", "rustls-pki-types", @@ -2495,6 +2665,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rustls-native-certs" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a073f5dc7469f984c52ad2752b63b0807745133b6de880b7b64c1ac4c48aec4" +dependencies = [ + "openssl-probe", + "rustls-pki-types", + "schannel", + "security-framework", +] + [[package]] name = "rustls-pki-types" version = "1.16.0" @@ -2506,11 +2688,39 @@ dependencies = [ ] [[package]] -name = "rustls-webpki" -version = "0.103.16" +name = "rustls-platform-verifier" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" +checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98" dependencies = [ + "core-foundation 0.10.1", + "core-foundation-sys", + "jni", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f" + +[[package]] +name = "rustls-webpki" +version = "0.103.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a0760a887c14823fca5a1c970b01d47c328c696c0c64829d1df50e8f853fd5" +dependencies = [ + "aws-lc-rs", "ring", "rustls-pki-types", "untrusted", @@ -2528,6 +2738,15 @@ version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + [[package]] name = "schannel" version = "0.1.30" @@ -2585,6 +2804,12 @@ dependencies = [ "libc", ] +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + [[package]] name = "serde" version = "1.0.229" @@ -2713,6 +2938,16 @@ dependencies = [ "libc", ] +[[package]] +name = "simd_cesu8" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" +dependencies = [ + "rustc_version", + "simdutf8", +] + [[package]] name = "simdutf8" version = "0.1.5" @@ -2727,9 +2962,9 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "smallvec" -version = "1.16.5" +version = "1.16.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "149309498a5f7334b12ddae0cad8aba81ce785fe91755068867e017cf98fee46" +checksum = "3244542535d5de959d90ec55d1b5ff0fd2bb7b1310223907d5f11932847f7b59" [[package]] name = "socket2" @@ -2997,9 +3232,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.25.19+spec-1.1.0" +version = "0.25.20+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd43688c4858d7264ae1cf9a9f874a67c3feb74a883b1cd7bebd6a4ea8307218" +checksum = "e76360e201d6dbd6583e17795ba71a88f47365a9139c8450a7979c32303b8e73" dependencies = [ "indexmap", "toml_datetime", @@ -3009,9 +3244,9 @@ dependencies = [ [[package]] name = "toml_parser" -version = "1.1.5+spec-1.1.0" +version = "1.1.6+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +checksum = "e6769c452d71ba30696c6b37770c439a9cc9110f47f7d5cdbeda79840ef5ea31" dependencies = [ "winnow", ] @@ -3137,9 +3372,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.8" +version = "2.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a" dependencies = [ "form_urlencoded", "idna", @@ -3170,9 +3405,9 @@ checksum = "3a3b425286980a367278453f3b6d28cdcb134b574e5a35824a6ff5eebad50bb6" [[package]] name = "uuid" -version = "1.29.2" +version = "1.29.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bed99139f7dac9b5cfe5f17be4d66dc7079a34dee1d74bcc77217119240e267c" +checksum = "3c14b15dffa2f4bd712103e857140aa04a4f2ff6e955c77d7eb8e53ee02a3b64" dependencies = [ "js-sys", "serde_core", @@ -3191,6 +3426,16 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" +[[package]] +name = "walkdir" +version = "2.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42e295b7452c4604982280d8586001fcad9b8b201cac67bca9771e7a7475403" +dependencies = [ + "same-file", + "winapi-util", +] + [[package]] name = "want" version = "0.3.2" @@ -3274,6 +3519,19 @@ dependencies = [ "web-sys", ] +[[package]] +name = "wasm-streams" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + [[package]] name = "web-sys" version = "0.3.107" @@ -3294,6 +3552,15 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "webpki-root-certs" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "293198dcebfb821155b5092ab94b5a82ff180eddd7241df3bd6e66a4ffd1a585" +dependencies = [ + "rustls-pki-types", +] + [[package]] name = "webpki-roots" version = "1.0.12" @@ -3303,6 +3570,15 @@ dependencies = [ "rustls-pki-types", ] +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + [[package]] name = "windows-link" version = "0.2.1" @@ -3568,27 +3844,27 @@ dependencies = [ [[package]] name = "zcheapstr" -version = "1.2.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "939f186d9ecebe044315a5cb6d6f78568bbc21152adc954d5a0c2f58bdbc9920" +checksum = "2da34e7164b75d803c3197b86e6cf61b874106fbd472c5082575a8bc5fbd0907" dependencies = [ "serde", ] [[package]] name = "zerocopy" -version = "0.8.63" +version = "0.8.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5fe1f8f1b06191a00962174c61aa5005e0bb391a6d80d07e24d115c01a92ed8" +checksum = "ed43f3060383c64b000f3c630550aebdfa9d3b76d48de32390483dd2cc7e0865" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.63" +version = "0.8.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f" +checksum = "a5cbd820fe3e35fb38c83b6dc7e6b1618bc46e0cd10073ae94e8d52dc468d8b9" dependencies = [ "proc-macro2", "quote", @@ -3618,9 +3894,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.9.1" +version = "1.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +checksum = "85ccff8a4805aba1eaa4cd4afcd49f7557dd2cf5fd79ffc37f8959466effc5aa" [[package]] name = "zerotrie" diff --git a/Cargo.toml b/Cargo.toml index dcbe5f9..8d11138 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ resolver = "2" members = ["crates/*", "integrations/*"] [workspace.package] -version = "0.4.0" +version = "0.4.1" edition = "2024" rust-version = "1.89" license = "MIT" diff --git a/crates/rhema-claw/Cargo.toml b/crates/rhema-claw/Cargo.toml index a529d87..866d484 100644 --- a/crates/rhema-claw/Cargo.toml +++ b/crates/rhema-claw/Cargo.toml @@ -80,7 +80,7 @@ rusqlite = { version = "0.40", features = ["bundled"] } time = { version = "0.3", default-features = false, features = ["parsing"] } # Inbound chat images ride base64; the dispatch decodes them into the # attachment store -base64 = "0.22" +base64 = "0.23" rhema-mcp = "0.4.1" [dev-dependencies] @@ -88,7 +88,7 @@ tempfile = "3" # In-process HTTP mocks for the offline e2e: zero network wiremock = "0.6" # The HTTP client for the surface tests, SSE bodies included -reqwest = { version = "0.12", features = ["json", "stream"] } +reqwest = { version = "0.13", features = ["json", "stream"] } # Naming the SSE chunks' type in the surface tests bytes = "1" # The scripted provider for turn-level tests; mirrors rhema-code's mock diff --git a/deploy/helm/rhema-claw/Chart.yaml b/deploy/helm/rhema-claw/Chart.yaml index ce61d4b..149dc0b 100644 --- a/deploy/helm/rhema-claw/Chart.yaml +++ b/deploy/helm/rhema-claw/Chart.yaml @@ -3,5 +3,5 @@ name: rhema-claw description: "The resident forge-watching agent daemon: forge watches and a chat HTTP surface over one SQLite store." type: application -version: 0.4.0 -appVersion: "0.4.0" +version: 0.4.1 +appVersion: "0.4.1" diff --git a/integrations/rhema-calendar-integration/Cargo.toml b/integrations/rhema-calendar-integration/Cargo.toml index d45fbf6..97dfb0c 100644 --- a/integrations/rhema-calendar-integration/Cargo.toml +++ b/integrations/rhema-calendar-integration/Cargo.toml @@ -25,10 +25,10 @@ thiserror = { workspace = true } async-trait = { workspace = true } # HTTP against the three feed kinds: one bounded request per poll, no # streaming -reqwest = { version = "0.12", features = ["json"] } +reqwest = { version = "0.13", features = ["json", "query"] } # The CalDAV adapter reads 207 multistatus bodies; the element set it # cares about is small enough that a pull parser beats a DOM -quick-xml = "0.41" +quick-xml = "0.42" # Every wire time (RFC 3339, iCalendar's compact `YYYYMMDDTHHMMSS[Z]`, # `VALUE=DATE` all-days) normalizes to an OffsetDateTime, and the # vocabulary's instants round-trip as RFC 3339. diff --git a/integrations/rhema-calendar-integration/src/caldav.rs b/integrations/rhema-calendar-integration/src/caldav.rs index ae77c77..ee0dfeb 100644 --- a/integrations/rhema-calendar-integration/src/caldav.rs +++ b/integrations/rhema-calendar-integration/src/caldav.rs @@ -186,10 +186,9 @@ fn compact_z(at: OffsetDateTime) -> String { /// namespace URIs the element binds. Matching local names inside a /// `prop` stat is the pragmatic read every DAV client ships. fn local_name(name: quick_xml::name::QName<'_>) -> &str { - // The reader was built from a &str, so every borrowed name is - // UTF-8 already; a decoding failure cannot say anything truer than - // "not the element we were looking for". - std::str::from_utf8(name.local_name().into_inner()).unwrap_or("") + // The reader was built from a &str, so a borrowed name is valid + // UTF-8 by construction; no decode step can fail here. + name.local_name().into_inner() } /// Pulls every `calendar-data` value out of a 207 multistatus, in @@ -215,10 +214,8 @@ fn parse_multistatus(xml: &str) -> Result, CalendarError> { // where the iCalendar needs CRLF, and an unexpanded // reference would fold the whole object into one line // and read as quietly empty. - let decoded = text - .xml10_content() - .map_err(|err| CalendarError::Parse(format!("multistatus text: {err}")))?; - let decoded = unescape(&decoded) + let content = text.xml10_content(); + let decoded = unescape(&content) .map_err(|err| CalendarError::Parse(format!("multistatus text: {err}")))?; current.push_str(&decoded); } @@ -228,9 +225,7 @@ fn parse_multistatus(xml: &str) -> Result, CalendarError> { Ok(Some(ch)) => current.push(ch), // A named entity (`&`): the escape table's. Ok(None) => { - let raw = reference.xml10_content().map_err(|err| { - CalendarError::Parse(format!("multistatus text: {err}")) - })?; + let raw = reference.xml10_content(); let entity = format!("&{raw};"); let decoded = unescape(&entity).map_err(|err| { CalendarError::Parse(format!("multistatus text: {err}")) @@ -243,7 +238,7 @@ fn parse_multistatus(xml: &str) -> Result, CalendarError> { } } Ok(XmlEvent::CData(text)) if capturing => { - current.push_str(&String::from_utf8_lossy(text.as_ref())); + current.push_str(&text); } Ok(XmlEvent::End(element)) => { if capturing && local_name(element.name()) == "calendar-data" { diff --git a/integrations/rhema-forge-integration/Cargo.toml b/integrations/rhema-forge-integration/Cargo.toml index ad866d6..7ea7691 100644 --- a/integrations/rhema-forge-integration/Cargo.toml +++ b/integrations/rhema-forge-integration/Cargo.toml @@ -20,7 +20,7 @@ thiserror = { workspace = true } async-trait = { workspace = true } # HTTP against the three forge REST APIs: JSON request/response bodies, # no streaming -reqwest = { version = "0.12", features = ["json"] } +reqwest = { version = "0.13", features = ["json", "query"] } [dev-dependencies] tokio = { workspace = true, features = ["rt-multi-thread", "macros", "sync", "time"] }