From d1acfcc30466b3d9645995972d82dc2a9cb2681d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 31 May 2026 22:37:21 +0000 Subject: [PATCH 1/3] build(deps): bump the minor group across 1 directory with 6 updates Bumps the minor group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [aws-sdk-bedrockruntime](https://github.com/awslabs/aws-sdk-rust) | `1.127.0` | `1.132.0` | | [indexmap](https://github.com/indexmap-rs/indexmap) | `2.13.0` | `2.14.0` | | [insta](https://github.com/mitsuhiko/insta) | `1.46.3` | `1.47.2` | | [uuid](https://github.com/uuid-rs/uuid) | `1.22.0` | `1.23.2` | | [serial_test](https://github.com/palfrey/serial_test) | `3.4.0` | `3.5.0` | Updates `aws-sdk-bedrockruntime` from 1.127.0 to 1.132.0 - [Release notes](https://github.com/awslabs/aws-sdk-rust/releases) - [Commits](https://github.com/awslabs/aws-sdk-rust/commits) Updates `aws-smithy-types` from 1.4.6 to 1.4.8 - [Release notes](https://github.com/smithy-lang/smithy-rs/releases) - [Changelog](https://github.com/smithy-lang/smithy-rs/blob/main/CHANGELOG.md) - [Commits](https://github.com/smithy-lang/smithy-rs/commits) Updates `indexmap` from 2.13.0 to 2.14.0 - [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.13.0...2.14.0) Updates `insta` from 1.46.3 to 1.47.2 - [Release notes](https://github.com/mitsuhiko/insta/releases) - [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md) - [Commits](https://github.com/mitsuhiko/insta/compare/1.46.3...1.47.2) Updates `uuid` from 1.22.0 to 1.23.2 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/v1.22.0...v1.23.2) Updates `serial_test` from 3.4.0 to 3.5.0 - [Release notes](https://github.com/palfrey/serial_test/releases) - [Commits](https://github.com/palfrey/serial_test/compare/v3.4.0...v3.5.0) --- updated-dependencies: - dependency-name: aws-sdk-bedrockruntime dependency-version: 1.132.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: aws-smithy-types dependency-version: 1.4.8 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor - dependency-name: indexmap dependency-version: 2.14.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: insta dependency-version: 1.47.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: uuid dependency-version: 1.23.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: serial_test dependency-version: 3.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 245 +++++++++++++++++++++++------------ Cargo.toml | 8 +- crates/paws_infra/Cargo.toml | 2 +- crates/paws_main/Cargo.toml | 2 +- crates/paws_repo/Cargo.toml | 2 +- 5 files changed, 169 insertions(+), 90 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b371be1e..4ee11dc7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -102,6 +102,15 @@ dependencies = [ "x11rb", ] +[[package]] +name = "arc-swap" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a3a1fd6f75306b68087b831f025c712524bcb19aad54e557b1129cfa0a2b207" +dependencies = [ + "rustversion", +] + [[package]] name = "arraydeque" version = "0.5.1" @@ -183,9 +192,9 @@ dependencies = [ [[package]] name = "aws-runtime" -version = "1.7.2" +version = "1.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fc0651c57e384202e47153c1260b84a9936e19803d747615edf199dc3b98d17" +checksum = "77ed8e8c52d2dc2390ad9f15647fe663f71e9780b4262c190fbb823a32721566" dependencies = [ "aws-credential-types", "aws-sigv4", @@ -209,10 +218,11 @@ dependencies = [ [[package]] name = "aws-sdk-bedrockruntime" -version = "1.127.0" +version = "1.132.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dcd5ccbed3bd50d342077d3f731de46d9608340386c87d07566c4c507891eda" +checksum = "41a2940faeb61f4f579a434bc3a546e9ab49a89596e94527d329281ef55fd44d" dependencies = [ + "arc-swap", "aws-credential-types", "aws-runtime", "aws-sigv4", @@ -236,9 +246,9 @@ dependencies = [ [[package]] name = "aws-sigv4" -version = "1.4.2" +version = "1.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0b660013a6683ab23797778e21f1f854744fdf05f68204b4cca4c8c04b5d1f4" +checksum = "b7083fb918b38474ac65ffbf8a69fc8792d36879f4ac5f1667b43aec61efe9a5" dependencies = [ "aws-credential-types", "aws-smithy-eventstream", @@ -252,7 +262,7 @@ dependencies = [ "http 0.2.12", "http 1.4.0", "percent-encoding", - "sha2", + "sha2 0.11.0", "time", "tracing", ] @@ -303,10 +313,12 @@ dependencies = [ [[package]] name = "aws-smithy-json" -version = "0.62.5" +version = "0.62.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9648b0bb82a2eedd844052c6ad2a1a822d1f8e3adee5fbf668366717e428856a" +checksum = "517089205f18ab4adc5a3e02888cb139bbbbb2e168eac9f396216925d1fbeaf5" dependencies = [ + "aws-smithy-runtime-api", + "aws-smithy-schema", "aws-smithy-types", ] @@ -321,14 +333,15 @@ dependencies = [ [[package]] name = "aws-smithy-runtime" -version = "1.10.3" +version = "1.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "028999056d2d2fd58a697232f9eec4a643cf73a71cf327690a7edad1d2af2110" +checksum = "b8e6f5caf6fea86f8c2206541ab5857cfcda9013426cdbe8fa0098b9e2d32182" dependencies = [ "aws-smithy-async", "aws-smithy-http", "aws-smithy-observability", "aws-smithy-runtime-api", + "aws-smithy-schema", "aws-smithy-types", "bytes", "fastrand", @@ -345,11 +358,12 @@ dependencies = [ [[package]] name = "aws-smithy-runtime-api" -version = "1.11.6" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "876ab3c9c29791ba4ba02b780a3049e21ec63dabda09268b175272c3733a79e6" +checksum = "dc117c179ecf39a62a0a3f49f600e9ac26a7ad7dd172177999f83933af776c32" dependencies = [ "aws-smithy-async", + "aws-smithy-runtime-api-macros", "aws-smithy-types", "bytes", "http 0.2.12", @@ -360,11 +374,33 @@ dependencies = [ "zeroize", ] +[[package]] +name = "aws-smithy-runtime-api-macros" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d7396fd9500589e62e460e987ecb671bad374934e55ec3b5f498cc7a8a8a7b7" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "aws-smithy-schema" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7442cb268338f0eb8278140a107c046756aa01093d8ef5e99628d34ae09c94f5" +dependencies = [ + "aws-smithy-runtime-api", + "aws-smithy-types", + "http 1.4.0", +] + [[package]] name = "aws-smithy-types" -version = "1.4.6" +version = "1.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b1117b3b2bbe166d11199b540ceed0d0f7676e36e7b962b5a437a9971eac75" +checksum = "056b66dbce2f81cc0c1e2b05bb402eb58f8a3530479d650efadd5bbae9a4050b" dependencies = [ "base64-simd", "bytes", @@ -385,13 +421,14 @@ dependencies = [ [[package]] name = "aws-types" -version = "1.3.14" +version = "1.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47c8323699dd9b3c8d5b3c13051ae9cdef58fd179957c882f8374dd8725962d9" +checksum = "d16bf10b03a3c01e6b3b7d47cd964e873ffe9e7d4e80fad16bd4c077cb068531" dependencies = [ "aws-credential-types", "aws-smithy-async", "aws-smithy-runtime-api", + "aws-smithy-schema", "aws-smithy-types", "rustc_version", "tracing", @@ -457,6 +494,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-buffer" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdd35008169921d80bc60d3d0ab416eecb028c4cd653352907921d95084790be" +dependencies = [ + "hybrid-array", +] + [[package]] name = "bstr" version = "1.12.1" @@ -514,7 +560,7 @@ version = "13.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c5063741c7b2e260bbede781cf4679632dd90e2718e99f7715e46824b65670b" dependencies = [ - "digest", + "digest 0.10.7", "either", "futures", "hex", @@ -524,7 +570,7 @@ dependencies = [ "serde_derive", "serde_json", "sha1", - "sha2", + "sha2 0.10.9", "ssri", "tempfile", "thiserror 1.0.69", @@ -646,6 +692,12 @@ dependencies = [ "error-code", ] +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + [[package]] name = "colorchoice" version = "1.0.4" @@ -671,18 +723,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "console" -version = "0.15.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" -dependencies = [ - "encode_unicode", - "libc", - "once_cell", - "windows-sys 0.59.0", -] - [[package]] name = "console" version = "0.16.3" @@ -695,6 +735,12 @@ dependencies = [ "windows-sys 0.61.2", ] +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + [[package]] name = "convert_case" version = "0.10.0" @@ -911,6 +957,24 @@ dependencies = [ "typenum", ] +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "ctutils" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d5515a3834141de9eafb9717ad39eea8247b5674e6066c404e8c4b365d2a29e" +dependencies = [ + "cmov", +] + [[package]] name = "darling" version = "0.20.11" @@ -1093,7 +1157,7 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25f104b501bf2364e78d0d3974cbc774f738f5865306ed128e1e0d7499c0ad96" dependencies = [ - "console 0.16.3", + "console", "fuzzy-matcher", "shell-words", "tempfile", @@ -1160,9 +1224,20 @@ version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer", - "crypto-common", - "subtle", + "block-buffer 0.10.4", + "crypto-common 0.1.7", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.0", + "const-oid", + "crypto-common 0.2.2", + "ctutils", ] [[package]] @@ -1804,9 +1879,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.16.1" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" [[package]] name = "hashlink" @@ -1840,11 +1915,11 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hmac" -version = "0.12.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" dependencies = [ - "digest", + "digest 0.11.3", ] [[package]] @@ -1966,6 +2041,15 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" +[[package]] +name = "hybrid-array" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9155a582abd142abc056962c29e3ce5ff2ad5469f4246b537ed42c5deba857da" +dependencies = [ + "typenum", +] + [[package]] name = "hyper" version = "1.8.1" @@ -2200,12 +2284,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.13.0" +version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017" +checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" dependencies = [ "equivalent", - "hashbrown 0.16.1", + "hashbrown 0.17.1", "serde", "serde_core", ] @@ -2216,7 +2300,7 @@ version = "0.18.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25470f23803092da7d239834776d653104d551bc4d7eacaf31e6837854b8e9eb" dependencies = [ - "console 0.16.3", + "console", "portable-atomic", "unicode-width 0.2.2", "unit-prefix", @@ -2234,11 +2318,11 @@ dependencies = [ [[package]] name = "insta" -version = "1.46.3" +version = "1.47.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e82db8c87c7f1ccecb34ce0c24399b8a73081427f3c7c50a5d597925356115e4" +checksum = "7b4a6248eb93a4401ed2f37dfe8ea592d3cf05b7cf4f8efa867b6895af7e094e" dependencies = [ - "console 0.15.11", + "console", "once_cell", "serde", "similar", @@ -2785,7 +2869,7 @@ dependencies = [ "serde", "serde_json", "serde_path_to_error", - "sha2", + "sha2 0.10.9", "thiserror 1.0.69", "url", ] @@ -2989,7 +3073,7 @@ dependencies = [ "backon", "bytes", "chrono", - "console 0.16.3", + "console", "convert_case 0.11.0", "derive_more", "derive_setters", @@ -3010,7 +3094,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "sha2", + "sha2 0.10.9", "strum 0.28.0", "tempfile", "thiserror 2.0.18", @@ -3036,7 +3120,7 @@ name = "paws_common" version = "0.1.0" dependencies = [ "anyhow", - "console 0.16.3", + "console", "crossterm", "derive_setters", "dialoguer", @@ -3150,7 +3234,7 @@ dependencies = [ "chrono", "clap", "colored", - "console 0.16.3", + "console", "convert_case 0.11.0", "crossterm", "derive_setters", @@ -3329,7 +3413,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82" dependencies = [ "pest", - "sha2", + "sha2 0.10.9", ] [[package]] @@ -3968,7 +4052,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60b161f275cb337fe0a44d924a5f4df0ed69c2c39519858f931ce61c779d3475" dependencies = [ "globset", - "sha2", + "sha2 0.10.9", "walkdir", ] @@ -4057,15 +4141,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "scc" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46e6f046b7fef48e2660c57ed794263155d713de679057f2d0c169bfc6e756cc" -dependencies = [ - "sdd", -] - [[package]] name = "scheduled-thread-pool" version = "0.2.7" @@ -4107,12 +4182,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -[[package]] -name = "sdd" -version = "3.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "490dcfcbfef26be6800d11870ff2df8774fa6e86d047e3e8c8a76b25655e41ca" - [[package]] name = "semver" version = "1.0.27" @@ -4222,24 +4291,23 @@ dependencies = [ [[package]] name = "serial_test" -version = "3.4.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "911bd979bf1070a3f3aa7b691a3b3e9968f339ceeec89e08c280a8a22207a32f" +checksum = "699f4197115b8a7e7ff19c9a315a4bd6fffec26cc4626ef45ecaea389e081c6d" dependencies = [ "futures-executor", "futures-util", "log", "once_cell", "parking_lot", - "scc", "serial_test_derive", ] [[package]] name = "serial_test_derive" -version = "3.4.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a7d91949b85b0d2fb687445e448b40d322b6b3e4af6b44a29b21d9a5f33e6d9" +checksum = "94e153fc76e1c6a068703d6d29c508a0b15c061c4b7e43da59cc097bc342673c" dependencies = [ "proc-macro2", "quote", @@ -4254,7 +4322,7 @@ checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" dependencies = [ "cfg-if", "cpufeatures 0.2.17", - "digest", + "digest 0.10.7", ] [[package]] @@ -4265,7 +4333,7 @@ checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", "cpufeatures 0.2.17", - "digest", + "digest 0.10.7", ] [[package]] @@ -4276,7 +4344,18 @@ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures 0.2.17", - "digest", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "digest 0.11.3", ] [[package]] @@ -4405,12 +4484,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da7a2b3c2bc9693bcb40870c4e9b5bf0d79f9cb46273321bf855ec513e919082" dependencies = [ "base64 0.21.7", - "digest", + "digest 0.10.7", "hex", "miette", "serde", "sha-1", - "sha2", + "sha2 0.10.9", "thiserror 1.0.69", "xxhash-rust", ] @@ -4965,9 +5044,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "typenum" -version = "1.19.0" +version = "1.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" [[package]] name = "ucd-trie" @@ -5108,9 +5187,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.22.0" +version = "1.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a68d3c8f01c0cfa54a75291d83601161799e4a89a39e0929f4b0354d88757a37" +checksum = "d258b83ceec21034727ecee8c382cfa6c3e133699b0742c64571814fb420c9f7" dependencies = [ "getrandom 0.4.1", "js-sys", diff --git a/Cargo.toml b/Cargo.toml index 5e4d6b02..703d9ddf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ anyhow = "1.0.102" async-recursion = "1.1.1" async-trait = "0.1.89" aws-config = { version = "1.8.12", features = ["behavior-version-latest"], default-features = false } -aws-sdk-bedrockruntime = { version = "1.127.0", features = ["behavior-version-latest"], default-features = false } +aws-sdk-bedrockruntime = { version = "1.132.0", features = ["behavior-version-latest"], default-features = false } aws-smithy-types = "1.4" aws-smithy-async = { version = "1.2", features = ["rt-tokio"] } base64 = "0.22.1" @@ -38,8 +38,8 @@ html2md = "0.2.15" http = "1.2.0" ignore = "0.4.23" is_ci = "1.2.0" -indexmap = "2.13.0" -insta = { version = "1.46.3", features = ["json", "yaml"] } +indexmap = "2.14.0" +insta = { version = "1.47.2", features = ["json", "yaml"] } infer = "0.19.0" lazy_static = "1.4.0" machineid-rs = "1.2.4" @@ -90,7 +90,7 @@ tracing-appender = "0.2.3" tracing-subscriber = { version = "0.3.23", features = ["env-filter", "json"] } url = { version = "2.5.8", features = ["serde"] } backon = "1.5.2" -uuid = { version = "1.22.0", features = [ +uuid = { version = "1.23.2", features = [ "v4", "fast-rng", "serde", diff --git a/crates/paws_infra/Cargo.toml b/crates/paws_infra/Cargo.toml index 28c4f339..03bfa441 100644 --- a/crates/paws_infra/Cargo.toml +++ b/crates/paws_infra/Cargo.toml @@ -11,7 +11,7 @@ version = "0.35.0" features = ["bundled"] [dev-dependencies] -serial_test = "3.4" +serial_test = "3.5" [dependencies.anyhow] workspace = true diff --git a/crates/paws_main/Cargo.toml b/crates/paws_main/Cargo.toml index b69ad40e..60b6d18e 100644 --- a/crates/paws_main/Cargo.toml +++ b/crates/paws_main/Cargo.toml @@ -15,7 +15,7 @@ futures.workspace = true paws_services.workspace = true [dev-dependencies] -serial_test = "3.4" +serial_test = "3.5" strip-ansi-escapes = "0.2" [dependencies.clap] diff --git a/crates/paws_repo/Cargo.toml b/crates/paws_repo/Cargo.toml index 01ae239a..17b18354 100644 --- a/crates/paws_repo/Cargo.toml +++ b/crates/paws_repo/Cargo.toml @@ -9,7 +9,7 @@ paws_services.workspace = true [dev-dependencies] -serial_test = "3.4" +serial_test = "3.5" [dependencies.paws_app] workspace = true From 13f32e9fda42e7649ce3353cacc3a5d9d0dadeca Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sun, 31 May 2026 22:39:53 +0000 Subject: [PATCH 2/3] [autofix.ci] apply automated fixes --- crates/paws_app/src/operation_tests.rs | 2 +- crates/paws_domain/src/context.rs | 2 +- crates/paws_infra/src/mcp_client.rs | 2 +- crates/paws_repo/src/app_config.rs | 2 +- crates/paws_services/src/tool_services/fs_patch.rs | 8 +------- 5 files changed, 5 insertions(+), 11 deletions(-) diff --git a/crates/paws_app/src/operation_tests.rs b/crates/paws_app/src/operation_tests.rs index 7e02359d..4f216606 100644 --- a/crates/paws_app/src/operation_tests.rs +++ b/crates/paws_app/src/operation_tests.rs @@ -993,7 +993,7 @@ fn test_net_fetch_truncated() { let long_content = format!( "{}{}", "A".repeat(env.fetch_truncation_limit), - &truncated_content + truncated_content ); let fixture = ToolOperation::NetFetch { input: paws_domain::NetFetch { diff --git a/crates/paws_domain/src/context.rs b/crates/paws_domain/src/context.rs index 4f7c4660..4d592e28 100644 --- a/crates/paws_domain/src/context.rs +++ b/crates/paws_domain/src/context.rs @@ -175,7 +175,7 @@ impl ContextMessage { tool_calls: Option>, ) -> Self { let tool_calls = - tool_calls.and_then(|calls| if calls.is_empty() { None } else { Some(calls) }); + tool_calls.filter(|calls| !calls.is_empty()); TextMessage { role: Role::Assistant, content: content.to_string(), diff --git a/crates/paws_infra/src/mcp_client.rs b/crates/paws_infra/src/mcp_client.rs index 2116ebf1..f301cbd6 100644 --- a/crates/paws_infra/src/mcp_client.rs +++ b/crates/paws_infra/src/mcp_client.rs @@ -264,7 +264,7 @@ fn resolve_http_templates( let template_data = serde_json::json!({"env": env_vars}); // Resolve templates in headers - for (_, value) in http.headers.iter_mut() { + for value in http.headers.values_mut() { // Try to render the template, but keep original value if it fails if let Ok(resolved) = handlebars.render_template(value, &template_data) { *value = resolved; diff --git a/crates/paws_repo/src/app_config.rs b/crates/paws_repo/src/app_config.rs index e9b8f125..4f927e4b 100644 --- a/crates/paws_repo/src/app_config.rs +++ b/crates/paws_repo/src/app_config.rs @@ -94,7 +94,7 @@ impl AppConfigRepositor } } else { // Update all existing provider models - for (_, mut_model_id) in config.model.iter_mut() { + for mut_model_id in config.model.values_mut() { *mut_model_id = model_id.clone(); } } diff --git a/crates/paws_services/src/tool_services/fs_patch.rs b/crates/paws_services/src/tool_services/fs_patch.rs index eae22791..1ee40657 100644 --- a/crates/paws_services/src/tool_services/fs_patch.rs +++ b/crates/paws_services/src/tool_services/fs_patch.rs @@ -73,13 +73,7 @@ fn apply_replacement( content: &str, ) -> Result { // Handle empty search string - only certain operations make sense here - if let Some(needle) = search.and_then(|needle| { - if needle.is_empty() { - None // Empty search is not valid for matching - } else { - Some(needle) - } - }) { + if let Some(needle) = search.filter(|needle| !needle.is_empty()) { // Find the exact match to operate on let patch: Range = Range::find_exact(&haystack, needle.as_str()) .ok_or_else(|| Error::NoMatch(needle.to_string()))?; From 49efd6246e2d6b21dc3a222c3edd820749ebf131 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sun, 31 May 2026 22:41:16 +0000 Subject: [PATCH 3/3] [autofix.ci] apply automated fixes (attempt 2/3) --- crates/paws_domain/src/context.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/paws_domain/src/context.rs b/crates/paws_domain/src/context.rs index 4d592e28..28290d4b 100644 --- a/crates/paws_domain/src/context.rs +++ b/crates/paws_domain/src/context.rs @@ -174,8 +174,7 @@ impl ContextMessage { reasoning_details: Option>, tool_calls: Option>, ) -> Self { - let tool_calls = - tool_calls.filter(|calls| !calls.is_empty()); + let tool_calls = tool_calls.filter(|calls| !calls.is_empty()); TextMessage { role: Role::Assistant, content: content.to_string(),