From 6f9308530ad811e1e446ed4970e85d863d1ae95c Mon Sep 17 00:00:00 2001 From: Adrian Benavides Date: Wed, 26 Feb 2025 16:50:13 +0100 Subject: [PATCH] build(rust): upgrade dependencies --- Cargo.lock | 847 ++++++++++-------- NOTICE.md | 5 +- .../11-attribute-based-authentication.rs | 176 ++-- .../rust/ockam/ockam_abac/src/boolean_expr.rs | 2 +- .../rust/ockam/ockam_abac/src/expr.rs | 2 +- .../storage/resource_policy_repository_sql.rs | 2 +- .../policy/storage/resource_repository_sql.rs | 2 +- .../resource_type_policy_repository_sql.rs | 2 +- .../ockam_api/src/authority_node/authority.rs | 2 +- .../ockam_api/src/cli_state/cli_state.rs | 2 +- .../src/cli_state/journeys/attributes.rs | 2 +- .../src/cli_state/journeys/journey_event.rs | 2 +- .../storage/enrollments_repository_sql.rs | 2 +- .../storage/identities_repository_sql.rs | 2 +- .../cli_state/storage/nodes_repository_sql.rs | 2 +- .../storage/projects_repository_sql.rs | 2 +- .../ockam_api/src/control_api/frontend.rs | 2 +- .../ockam_api/src/logs/default_values.rs | 12 +- .../ockam/ockam_api/src/logs/env_variables.rs | 30 +- .../src/logs/ockam_tonic_traces_client.rs | 2 +- .../src/logs/secure_client_service.rs | 2 +- .../ockam_api/src/nodes/service/transport.rs | 4 +- .../src/orchestrator/email_address.rs | 2 +- .../src/orchestrator/project/models.rs | 2 +- .../src/orchestrator/project/project.rs | 2 +- .../ockam_api/src/ui/terminal/highlighting.rs | 2 +- .../ockam/ockam_api/tests/logging_tracing.rs | 2 +- .../ockam_command/src/authority/create.rs | 2 +- .../ockam_command/src/kafka/inlet/show.rs | 2 +- .../ockam_command/src/kafka/outlet/show.rs | 2 +- .../ockam/ockam_command/src/space/show.rs | 2 +- .../rust/ockam/ockam_core/src/api.rs | 2 +- .../ockam/ockam_core/src/cbor/cow_bytes.rs | 2 +- .../rust/ockam/ockam_core/src/cbor/cow_str.rs | 8 +- .../ockam/ockam_core/src/env/from_string.rs | 2 +- .../rust/ockam/ockam_core/src/hex_encoding.rs | 2 +- .../rust/ockam/ockam_executor/src/channel.rs | 6 +- .../rust/ockam/ockam_executor/src/executor.rs | 8 +- .../src/identities/identities_attributes.rs | 2 +- .../storage/change_history_repository_sql.rs | 2 +- .../identity_attributes_repository_sql.rs | 2 +- .../src/models/credential_and_purpose_key.rs | 2 +- .../storage/purpose_keys_repository_sql.rs | 2 +- .../ockam_macros/src/internals/symbol.rs | 4 +- .../rust/ockam/ockam_multiaddr/src/lib.rs | 2 +- .../migrations/migration_support/migrator.rs | 12 +- ...on_20250116100000_sqlite_initialization.rs | 2 +- ...231100000_node_name_identity_attributes.rs | 2 +- ...ion_20240111100001_add_authority_tables.rs | 2 +- ...ion_20240111100002_delete_trust_context.rs | 2 +- ...migration_20240212100000_split_policies.rs | 2 +- ..._20240313100000_remove_orphan_resources.rs | 2 +- ...0240503100000_update_policy_expressions.rs | 2 +- ...ion_20250114100000_members_authority_id.rs | 2 +- .../src/storage/database/sqlx_database.rs | 2 +- .../ockam_transport_ble/src/driver/stream.rs | 7 +- .../ockam_transport_core/src/transport.rs | 5 +- .../src/workers/pending_messages/mod.rs | 2 +- .../src/storage/secrets_repository_sql.rs | 2 +- 59 files changed, 643 insertions(+), 573 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5d71c1b2853..1138ab2ad31 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,10 +73,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom", + "getrandom 0.2.15", "once_cell", "version_check", - "zerocopy", + "zerocopy 0.7.35", ] [[package]] @@ -168,19 +168,20 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "3.0.6" +version = "3.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125" +checksum = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e" dependencies = [ "anstyle", + "once_cell", "windows-sys 0.59.0", ] [[package]] name = "anyhow" -version = "1.0.95" +version = "1.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" +checksum = "6b964d184e89d9b6b67dd2715bc8e74cf3107fb2b529990c90cf517326150bf4" [[package]] name = "arboard" @@ -332,7 +333,7 @@ version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ - "event-listener 5.3.1", + "event-listener 5.4.0", "event-listener-strategy", "pin-project-lite", ] @@ -350,7 +351,7 @@ dependencies = [ "async-task", "blocking", "cfg-if", - "event-listener 5.3.1", + "event-listener 5.4.0", "futures-lite", "rustix", "tracing", @@ -420,7 +421,7 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -431,13 +432,13 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.84" +version = "0.1.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1244b10dcd56c92219da4e14caa97e312079e185f04ba3eea25061561dc0a0" +checksum = "644dd749086bf3771a2fbc5f256fdb982d53f011c7d5d560304eafeecebce79d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -483,7 +484,7 @@ dependencies = [ "num-traits", "opaque-debug", "paste", - "rand_core", + "rand_core 0.6.4", "seq-macro", "typenum", "vcell", @@ -519,9 +520,9 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "aws-config" -version = "1.5.15" +version = "1.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc47e70fc35d054c8fcd296d47a61711f043ac80534a10b4f741904f81e73a90" +checksum = "490aa7465ee685b2ced076bb87ef654a47724a7844e2c7d3af4e749ce5b875dd" dependencies = [ "aws-credential-types", "aws-runtime", @@ -603,9 +604,9 @@ dependencies = [ [[package]] name = "aws-runtime" -version = "1.5.4" +version = "1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bee7643696e7fdd74c10f9eb42848a87fe469d35eae9c3323f80aa98f350baac" +checksum = "76dd04d39cc12844c0994f2c9c5a6f5184c22e9188ec1ff723de41910a21dcad" dependencies = [ "aws-credential-types", "aws-sigv4", @@ -628,9 +629,9 @@ dependencies = [ [[package]] name = "aws-sdk-kms" -version = "1.58.0" +version = "1.61.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40b7a24700ac548025a47a5c579886f5198895bb1eccd8964dfd71cd66c16912" +checksum = "72054067b7b84e963ee29c3b7fdfc61f76bcfc697e38b8dc1095a3ad2e7e764a" dependencies = [ "aws-credential-types", "aws-runtime", @@ -650,9 +651,9 @@ dependencies = [ [[package]] name = "aws-sdk-sso" -version = "1.57.0" +version = "1.60.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c54bab121fe1881a74c338c5f723d1592bf3b53167f80268a1274f404e1acc38" +checksum = "60186fab60b24376d3e33b9ff0a43485f99efd470e3b75a9160c849741d63d56" dependencies = [ "aws-credential-types", "aws-runtime", @@ -672,9 +673,9 @@ dependencies = [ [[package]] name = "aws-sdk-ssooidc" -version = "1.58.0" +version = "1.61.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c8234fd024f7ac61c4e44ea008029bde934250f371efe7d4a39708397b1080c" +checksum = "7033130ce1ee13e6018905b7b976c915963755aef299c1521897679d6cd4f8ef" dependencies = [ "aws-credential-types", "aws-runtime", @@ -694,9 +695,9 @@ dependencies = [ [[package]] name = "aws-sdk-sts" -version = "1.58.0" +version = "1.61.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba60e1d519d6f23a9df712c04fdeadd7872ac911c84b2f62a8bda92e129b7962" +checksum = "c5c1cac7677179d622b4448b0d31bcb359185295dc6fca891920cfb17e2b5156" dependencies = [ "aws-credential-types", "aws-runtime", @@ -717,9 +718,9 @@ dependencies = [ [[package]] name = "aws-sigv4" -version = "1.2.7" +version = "1.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "690118821e46967b3c4501d67d7d52dd75106a9c54cf36cefa1985cedbe94e05" +checksum = "9bfe75fad52793ce6dec0dc3d4b1f388f038b5eb866c8d4d7f3a8e21b5ea5051" dependencies = [ "aws-credential-types", "aws-smithy-http", @@ -790,9 +791,9 @@ dependencies = [ [[package]] name = "aws-smithy-runtime" -version = "1.7.7" +version = "1.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "865f7050bbc7107a6c98a397a9fcd9413690c27fa718446967cf03b2d3ac517e" +checksum = "d526a12d9ed61fadefda24abe2e682892ba288c2018bcb38b1b4c111d13f6d92" dependencies = [ "aws-smithy-async", "aws-smithy-http", @@ -834,9 +835,9 @@ dependencies = [ [[package]] name = "aws-smithy-types" -version = "1.2.12" +version = "1.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28f6feb647fb5e0d5b50f0472c19a7db9462b74e2fec01bb0b44eedcc834e97" +checksum = "c7b8a53819e42f10d0821f56da995e1470b199686a1809168db6ca485665f042" dependencies = [ "base64-simd", "bytes 1.9.0", @@ -866,9 +867,9 @@ dependencies = [ [[package]] name = "aws-types" -version = "1.3.4" +version = "1.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0df5a18c4f951c645300d365fec53a61418bcf4650f604f85fe2a665bfaa0c2" +checksum = "dfbd0a668309ec1f66c0f6bda4840dd6d4796ae26d699ebc266d7cc95c6d040f" dependencies = [ "aws-credential-types", "aws-smithy-async", @@ -933,7 +934,7 @@ checksum = "7127cbe933572dfabb7a87d2c740f5b720c3e19b4d2b8c99a262ffa35c8761ff" dependencies = [ "assert_matches", "aya-obj", - "bitflags 2.6.0", + "bitflags 2.8.0", "bytes 1.9.0", "libc", "log", @@ -1092,7 +1093,7 @@ version = "0.69.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "cexpr", "clang-sys", "itertools 0.12.1", @@ -1105,7 +1106,7 @@ dependencies = [ "regex", "rustc-hash 1.1.0", "shlex", - "syn 2.0.95", + "syn 2.0.98", "which 4.4.2", ] @@ -1144,9 +1145,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.6.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" dependencies = [ "serde", ] @@ -1218,7 +1219,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "353dc0fbd494ab1d066ffdff16f07acbea46ca63f507e093c07fdf2408d84300" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "bluez-generated", "dbus", "dbus-tokio", @@ -1227,7 +1228,7 @@ dependencies = [ "log", "serde", "serde-xml-rs", - "thiserror 2.0.9", + "thiserror 2.0.11", "tokio", "uuid", ] @@ -1268,7 +1269,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b668804e0728a09c83cd9b94c9e1176717ea5522e8a3cb3688c2ac9a5f6e137c" dependencies = [ "async-trait", - "bitflags 2.6.0", + "bitflags 2.8.0", "bluez-async", "dashmap 6.1.0", "dbus", @@ -1281,7 +1282,7 @@ dependencies = [ "objc2-foundation", "once_cell", "static_assertions", - "thiserror 2.0.9", + "thiserror 2.0.11", "tokio", "tokio-stream", "uuid", @@ -1290,9 +1291,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" [[package]] name = "bytemuck" @@ -1377,9 +1378,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.7" +version = "1.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a012a0df96dd6d06ba9a1b29d6402d1a5d77c6befd2566afdc26e10603dc93d7" +checksum = "c736e259eea577f443d5c86c304f9f4ae0295c43f3ba05c21f1d66b5f06001af" dependencies = [ "jobserver", "libc", @@ -1440,9 +1441,9 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chrono" -version = "0.4.39" +version = "0.4.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" +checksum = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c" dependencies = [ "android-tzdata", "iana-time-zone", @@ -1450,7 +1451,7 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -1500,9 +1501,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.27" +version = "4.5.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "769b0145982b4b48713e01ec42d61614425f27b7058bda7180a3a41f30104796" +checksum = "027bb0d98429ae334a8698531da7077bdf906419543a35a55c2cb1b66437d767" dependencies = [ "clap_builder", "clap_derive", @@ -1510,9 +1511,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.27" +version = "4.5.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b26884eb4b57140e4d2d93652abfa49498b938b3c9179f9fc487b0acc3edad7" +checksum = "5589e0cba072e0f3d23791efac0fd8627b49c829c196a492e88168e6a669d863" dependencies = [ "anstream", "anstyle", @@ -1523,23 +1524,23 @@ dependencies = [ [[package]] name = "clap_complete" -version = "4.5.40" +version = "4.5.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac2e663e3e3bed2d32d065a8404024dad306e699a04263ec59919529f803aee9" +checksum = "f5c5508ea23c5366f77e53f5a0070e5a84e51687ec3ef9e0464c86dc8d13ce98" dependencies = [ "clap", ] [[package]] name = "clap_derive" -version = "4.5.24" +version = "4.5.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54b755194d6389280185988721fffba69495eed5ee9feeee9a599b53db80318c" +checksum = "bf4ced95c6f4a675af3da73304b9ac4ed991640c36374e4b46795c49e17cf1ed" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -1550,9 +1551,9 @@ checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" [[package]] name = "clap_mangen" -version = "0.2.24" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbae9cbfdc5d4fa8711c09bd7b83f644cb48281ac35bf97af3e47b0675864bdf" +checksum = "724842fa9b144f9b89b3f3d371a89f3455eea660361d13a554f68f8ae5d6c13a" dependencies = [ "clap", "roff", @@ -1579,9 +1580,9 @@ dependencies = [ [[package]] name = "cmake" -version = "0.1.52" +version = "0.1.54" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c682c223677e0e5b6b7f63a64b9351844c3f1b1678a68b7ee617e30fb082620e" +checksum = "e7caa3f9de89ddbe2c607f4101924c5abec803763ae9534e4f4d7d8f84aa81f0" dependencies = [ "cc", ] @@ -1663,9 +1664,9 @@ checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" [[package]] name = "const_fn" -version = "0.4.10" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373e9fafaa20882876db20562275ff58d50e0caa2590077fe7ce7bef90211d0d" +checksum = "2f8a2ca5ac02d09563609681103aada9e1777d54fc57a5acd7a41404f9c93b6e" [[package]] name = "copypasta" @@ -1804,14 +1805,14 @@ checksum = "e37549a379a9e0e6e576fd208ee60394ccb8be963889eebba3ffe0980364f472" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] name = "cpufeatures" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ "libc", ] @@ -1904,7 +1905,7 @@ version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "crossterm_winapi", "libc", "mio 0.8.11", @@ -1921,7 +1922,7 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "crossterm_winapi", "futures-core", "mio 1.0.3", @@ -1948,7 +1949,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array 0.14.7", - "rand_core", + "rand_core 0.6.4", "subtle", "zeroize", ] @@ -2015,7 +2016,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -2047,15 +2048,15 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.6.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" +checksum = "575f75dfd25738df5b91b8e43e14d44bda14637a58fae779fd2b064f8bf3e010" [[package]] name = "data-encoding-macro" -version = "0.1.15" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1559b6cba622276d6d63706db152618eeb15b89b3e4041446b05876e352e639" +checksum = "9f9724adfcf41f45bf652b3995837669d73c4d49a1b5ac1ff82905ac7d9b5558" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -2063,12 +2064,12 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.13" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "332d754c0af53bc87c108fed664d121ecf59207ec4196041f04d6ab9002ad33f" +checksum = "18e4fdb82bd54a12e42fb58a800dcae6b9e13982238ce2296dc3570b92148e1f" dependencies = [ "data-encoding", - "syn 1.0.109", + "syn 2.0.98", ] [[package]] @@ -2097,13 +2098,13 @@ dependencies = [ [[package]] name = "delegate" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc2323e10c92e1cf4d86e11538512e6dc03ceb586842970b6332af3d4046a046" +checksum = "297806318ef30ad066b15792a8372858020ae3ca2e414ee6c2133b1eb9e9e945" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -2165,7 +2166,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -2221,9 +2222,9 @@ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" [[package]] name = "dyn-clone" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" +checksum = "feeef44e73baff3a26d371801df019877a9866a8c493d315ab00177843314f35" [[package]] name = "ecdsa" @@ -2257,7 +2258,7 @@ checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ "curve25519-dalek", "ed25519", - "rand_core", + "rand_core 0.6.4", "serde", "sha2", "subtle", @@ -2266,9 +2267,9 @@ dependencies = [ [[package]] name = "either" -version = "1.13.0" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "b7914353092ddf589ad78f25c5c1c21b7f80b0ff8621e7c814c3485b5306da9d" dependencies = [ "serde", ] @@ -2287,7 +2288,7 @@ dependencies = [ "group", "pem-rfc7468", "pkcs8", - "rand_core", + "rand_core 0.6.4", "sec1", "subtle", "zeroize", @@ -2354,22 +2355,22 @@ checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" [[package]] name = "enumflags2" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d232db7f5956f3f14313dc2f87985c58bd2c695ce124c8cdd984e08e15ac133d" +checksum = "ba2f4b465f5318854c6f8dd686ede6c0a9dc67d4b1ac241cf0eb51521a309147" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" +checksum = "fc4caf64a58d7a6d65ab00639b046ff54399a39f5f2554728895ace4b297cd79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -2384,9 +2385,9 @@ dependencies = [ [[package]] name = "equivalent" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "errno" @@ -2429,9 +2430,9 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "event-listener" -version = "5.3.1" +version = "5.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" +checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae" dependencies = [ "concurrent-queue", "parking", @@ -2444,7 +2445,7 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c3e4e0dd3673c1139bf041f3008816d9cf2946bbfac2945c09e523b8d7b05b2" dependencies = [ - "event-listener 5.3.1", + "event-listener 5.4.0", "pin-project-lite", ] @@ -2499,7 +2500,7 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ - "rand_core", + "rand_core 0.6.4", "subtle", ] @@ -2529,9 +2530,9 @@ dependencies = [ [[package]] name = "flate2" -version = "1.0.35" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" +checksum = "11faaf5a5236997af9848be0bef4db95824b1d534ebc64d0f0c6cf3e67bd38dc" dependencies = [ "crc32fast", "miniz_oxide", @@ -2584,7 +2585,7 @@ checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -2704,9 +2705,9 @@ checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-lite" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cef40d21ae2c515b51041df9ed313ed21e572df340ea58a922a0aefe7e8891a1" +checksum = "f5edaec856126859abb19ed65f39e90fea3a9574b9707f13539acf4abf7eb532" dependencies = [ "fastrand", "futures-core", @@ -2723,7 +2724,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -2831,10 +2832,22 @@ dependencies = [ "cfg-if", "js-sys", "libc", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "wasm-bindgen", ] +[[package]] +name = "getrandom" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.13.3+wasi-0.2.2", + "windows-targets 0.52.6", +] + [[package]] name = "ghash" version = "0.5.1" @@ -2876,7 +2889,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", - "rand_core", + "rand_core 0.6.4", "subtle", ] @@ -2892,7 +2905,7 @@ dependencies = [ "futures-sink", "futures-util", "http 0.2.12", - "indexmap 2.7.0", + "indexmap 2.7.1", "slab", "tokio", "tokio-util", @@ -2901,9 +2914,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.7" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" +checksum = "5017294ff4bb30944501348f6f8e42e6ad28f42c8bbef7a74029aff064a4e3c2" dependencies = [ "atomic-waker", "bytes 1.9.0", @@ -2911,7 +2924,7 @@ dependencies = [ "futures-core", "futures-sink", "http 1.2.0", - "indexmap 2.7.0", + "indexmap 2.7.1", "slab", "tokio", "tokio-util", @@ -3148,9 +3161,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.9.5" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" +checksum = "f2d708df4e7140240a16cd6ab0ab65c972d7433ab77819ea693fde9c43811e2a" [[package]] name = "httpdate" @@ -3191,7 +3204,7 @@ dependencies = [ "bytes 1.9.0", "futures-channel", "futures-util", - "h2 0.4.7", + "h2 0.4.8", "http 1.2.0", "http-body 1.0.1", "httparse", @@ -3407,7 +3420,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -3456,9 +3469,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.7.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" +checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" dependencies = [ "equivalent", "hashbrown 0.15.2", @@ -3467,9 +3480,9 @@ dependencies = [ [[package]] name = "indicatif" -version = "0.17.9" +version = "0.17.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbf675b85ed934d3c67b5c5469701eec7db22689d0a2139d856e0925fa28b281" +checksum = "183b3088984b400f4cfac3620d5e076c84da5364016b4f49473de574b2586235" dependencies = [ "console", "number_prefix", @@ -3486,18 +3499,18 @@ checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" [[package]] name = "inout" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" dependencies = [ "generic-array 0.14.7", ] [[package]] name = "inventory" -version = "0.3.16" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d80fade88dd420ce0d9ab6f7c58ef2272dde38db874657950f827d4982c817" +checksum = "54b12ebb6799019b044deaf431eadfe23245b259bba5a2c0796acec3943a3cdb" dependencies = [ "rustversion", ] @@ -3513,9 +3526,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.10.1" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" [[package]] name = "is-docker" @@ -3528,13 +3541,13 @@ dependencies = [ [[package]] name = "is-terminal" -version = "0.4.13" +version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b" +checksum = "e19b23d53f35ce9f56aebc7d1bb4e6ac1e9c0db7ac85c8d1760c04379edced37" dependencies = [ "hermit-abi", "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -3618,7 +3631,7 @@ dependencies = [ "ahash", "dyn-clone", "hifijson", - "indexmap 2.7.0", + "indexmap 2.7.1", "jaq-syn", "once_cell", "serde_json", @@ -3704,9 +3717,9 @@ checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0" [[package]] name = "js-sys" -version = "0.3.76" +version = "0.3.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6717b6b5b077764fb5966237269cb3c64edddde4b14ce42647430a78ced9e7b7" +checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" dependencies = [ "once_cell", "wasm-bindgen", @@ -3714,16 +3727,16 @@ dependencies = [ [[package]] name = "kafka-protocol" -version = "0.14.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cf55ee60ccc7ec31d65c9567c186144d98e870b513fc7159854f281caa69656" +checksum = "0ce8ca397fccce043d8e1c12ab0122d2facf9249c57ef030ab90f62449413294" dependencies = [ "anyhow", "bytes 1.9.0", "crc", "crc32c", "flate2", - "indexmap 2.7.0", + "indexmap 2.7.1", "lz4", "paste", "snap", @@ -3769,9 +3782,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "libc" -version = "0.2.169" +version = "0.2.170" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" +checksum = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828" [[package]] name = "libdbus-sys" @@ -3842,9 +3855,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linux-raw-sys" -version = "0.4.14" +version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" +checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" [[package]] name = "litemap" @@ -3864,18 +3877,18 @@ dependencies = [ [[package]] name = "log" -version = "0.4.22" +version = "0.4.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e" dependencies = [ "value-bag", ] [[package]] name = "lz4" -version = "1.28.0" +version = "1.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d1febb2b4a79ddd1980eede06a8f7902197960aa0383ffcfdd62fe723036725" +checksum = "a20b523e860d03443e98350ceaac5e71c6ba89aea7d960769ec3ce37f4de5af4" dependencies = [ "lz4-sys", ] @@ -3959,9 +3972,9 @@ dependencies = [ [[package]] name = "miette" -version = "7.4.0" +version = "7.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317f146e2eb7021892722af37cf1b971f0a70c8406f487e24952667616192c64" +checksum = "1a955165f87b37fd1862df2a59547ac542c77ef6d17c666f619d1ad22dd89484" dependencies = [ "cfg-if", "miette-derive", @@ -3977,13 +3990,13 @@ dependencies = [ [[package]] name = "miette-derive" -version = "7.4.0" +version = "7.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23c9b935fbe1d6cbd1dac857b54a688145e2d93f48db36010514d0f612d0ad67" +checksum = "bf45bf44ab49be92fd1227a3be6fc6f617f1a337c06af54981048574d8783147" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -4018,7 +4031,7 @@ checksum = "bd2209fff77f705b00c737016a48e73733d7fbccb8b007194db148f03561fb70" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -4029,9 +4042,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.8.2" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394" +checksum = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5" dependencies = [ "adler2", "simd-adler32", @@ -4045,7 +4058,7 @@ checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" dependencies = [ "libc", "log", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.48.0", ] @@ -4057,7 +4070,7 @@ checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ "libc", "log", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", ] @@ -4084,7 +4097,7 @@ checksum = "c92f7fdae7086c11a137efb265ea1c20ed565dd8b17fcc1eda8e7e9a215b99ee" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -4235,7 +4248,7 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "cfg-if", "cfg_aliases 0.1.1", "libc", @@ -4247,7 +4260,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "cfg-if", "cfg_aliases 0.2.1", "libc", @@ -4362,7 +4375,7 @@ checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -4422,7 +4435,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "block2", "libc", "objc2", @@ -4438,7 +4451,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a644b62ffb826a5277f536cf0f701493de420b13d40e700c452c36567771111" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "objc2", "objc2-foundation", ] @@ -4449,7 +4462,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "block2", "objc2", "objc2-foundation", @@ -4469,9 +4482,9 @@ dependencies = [ [[package]] name = "objc2-encode" -version = "4.0.3" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7891e71393cd1f227313c9379a26a584ff3d7e6e7159e988851f0934c993f0f8" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" [[package]] name = "objc2-foundation" @@ -4479,7 +4492,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "block2", "libc", "objc2", @@ -4491,7 +4504,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "block2", "objc2", "objc2-foundation", @@ -4503,7 +4516,7 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "block2", "objc2", "objc2-foundation", @@ -4527,7 +4540,7 @@ checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" dependencies = [ "crc32fast", "hashbrown 0.15.2", - "indexmap 2.7.0", + "indexmap 2.7.1", "memchr", ] @@ -4546,7 +4559,7 @@ dependencies = [ "ockam_transport_udp", "ockam_vault", "rand", - "rand_xorshift", + "rand_xorshift 0.3.0", "serde", "serde_json", "tracing", @@ -4579,7 +4592,7 @@ dependencies = [ "tokio", "tracing", "wast", - "winnow", + "winnow 0.6.26", ] [[package]] @@ -4742,7 +4755,7 @@ dependencies = [ "rustls 0.23.20", "rustls-native-certs 0.8.1", "rustls-pki-types", - "semver 1.0.24", + "semver 1.0.25", "serde", "serde_json", "serde_yaml", @@ -4835,7 +4848,7 @@ dependencies = [ "ockam_vault_aws", "quickcheck", "rand", - "rand_xorshift", + "rand_xorshift 0.4.0", "serde", "serde_bare", "serde_json", @@ -4857,7 +4870,7 @@ version = "0.37.0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -5095,9 +5108,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.20.2" +version = "1.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e" [[package]] name = "onig" @@ -5140,9 +5153,9 @@ dependencies = [ [[package]] name = "openssl-probe" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" [[package]] name = "opentelemetry" @@ -5258,9 +5271,9 @@ dependencies = [ [[package]] name = "outref" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4030760ffd992bef45b0ae3f10ce1aba99e33464c90d14dd7c039884963ddc7a" +checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e" [[package]] name = "overload" @@ -5270,9 +5283,9 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "owo-colors" -version = "4.1.0" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" +checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564" [[package]] name = "p256" @@ -5329,9 +5342,9 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "pem" -version = "3.0.4" +version = "3.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae" +checksum = "38af38e8470ac9dee3ce1bae1af9c1671fffc44ddfd8bd1d0a3445bf349a8ef3" dependencies = [ "base64 0.22.1", "serde", @@ -5367,9 +5380,9 @@ dependencies = [ [[package]] name = "phf" -version = "0.11.2" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" +checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" dependencies = [ "phf_macros", "phf_shared", @@ -5377,9 +5390,9 @@ dependencies = [ [[package]] name = "phf_generator" -version = "0.11.2" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" +checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" dependencies = [ "phf_shared", "rand", @@ -5387,22 +5400,22 @@ dependencies = [ [[package]] name = "phf_macros" -version = "0.11.2" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b" +checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" dependencies = [ "phf_generator", "phf_shared", "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] name = "phf_shared" -version = "0.11.2" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" +checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" dependencies = [ "siphasher", ] @@ -5435,29 +5448,29 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.7" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be57f64e946e500c8ee36ef6331845d40a93055567ec57e8fae13efd33759b95" +checksum = "dfe2e71e1471fe07709406bf725f710b02927c9c54b2b5b2ec0e8087d97c327d" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.7" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c" +checksum = "f6e859e6e5bd50440ab63c47e3ebabc90f26251f7c73c3d3e837b74a1cc3fa67" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] name = "pin-project-lite" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" [[package]] name = "pin-utils" @@ -5510,7 +5523,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42cf17e9a1800f5f396bc67d193dc9411b59012a5876445ef450d449881e1016" dependencies = [ "base64 0.22.1", - "indexmap 2.7.0", + "indexmap 2.7.1", "quick-xml", "serde", "time", @@ -5558,9 +5571,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6" +checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e" [[package]] name = "powerfmt" @@ -5574,7 +5587,7 @@ version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" dependencies = [ - "zerocopy", + "zerocopy 0.7.35", ] [[package]] @@ -5606,12 +5619,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.27" +version = "0.2.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "483f8c21f64f3ea09fe0f30f5d48c3e8eefe5dac9129f0075f76593b4c1da705" +checksum = "6924ced06e1f7dfe3fa48d57b9f74f55d8915f5036121bef647ef4b204895fac" dependencies = [ "proc-macro2", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -5625,9 +5638,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.92" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" +checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" dependencies = [ "unicode-ident", ] @@ -5640,12 +5653,12 @@ checksum = "14cae93065090804185d3b75f0bf93b8eeda30c7a9b4a33d3bdb3988d6229e50" dependencies = [ "bit-set", "bit-vec", - "bitflags 2.6.0", + "bitflags 2.8.0", "lazy_static", "num-traits", "rand", "rand_chacha", - "rand_xorshift", + "rand_xorshift 0.3.0", "regex-syntax 0.8.5", "rusty-fork", "tempfile", @@ -5654,9 +5667,9 @@ dependencies = [ [[package]] name = "prost" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c0fef6c4230e4ccf618a35c59d7ede15dea37de8427500f50aff708806e42ec" +checksum = "2796faa41db3ec313a31f7624d9286acf277b52de526150b7e69f3debf891ee5" dependencies = [ "bytes 1.9.0", "prost-derive", @@ -5664,15 +5677,15 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.13.4" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "157c5a9d7ea5c2ed2d9fb8f495b64759f7816c7eaea54ba3978f0d63000162e3" +checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" dependencies = [ "anyhow", - "itertools 0.13.0", + "itertools 0.14.0", "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -5731,10 +5744,10 @@ dependencies = [ "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls 0.23.20", "socket2", - "thiserror 2.0.9", + "thiserror 2.0.11", "tokio", "tracing", ] @@ -5746,14 +5759,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" dependencies = [ "bytes 1.9.0", - "getrandom", + "getrandom 0.2.15", "rand", "ring", - "rustc-hash 2.1.0", + "rustc-hash 2.1.1", "rustls 0.23.20", "rustls-pki-types", "slab", - "thiserror 2.0.9", + "thiserror 2.0.11", "tinyvec", "tracing", "web-time", @@ -5761,9 +5774,9 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.9" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c40286217b4ba3a71d644d752e6a0b71f13f1b6a2c5311acfcbe0c2418ed904" +checksum = "e46f3055866785f6b92bc6164b76be02ca8f2eb4b002c0354b28cf4c119e5944" dependencies = [ "cfg_aliases 0.2.1", "libc", @@ -5824,7 +5837,7 @@ dependencies = [ "proc-macro2", "quote", "r3bl_rs_utils_core", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -5901,7 +5914,7 @@ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", "rand_chacha", - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -5911,7 +5924,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -5920,7 +5933,16 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.15", +] + +[[package]] +name = "rand_core" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a509b1a2ffbe92afab0e55c8fd99dea1c280e8171bd2d88682bb20bc41cbc2c" +dependencies = [ + "zerocopy 0.8.20", ] [[package]] @@ -5929,7 +5951,7 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" dependencies = [ - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -5938,7 +5960,16 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" dependencies = [ - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_xorshift" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" +dependencies = [ + "rand_core 0.9.2", ] [[package]] @@ -5976,11 +6007,11 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.8" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" +checksum = "82b568323e98e49e2a0899dcee453dd679fae22d69adf9b11dd508d1549b7e2f" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", ] [[package]] @@ -6120,15 +6151,14 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.8" +version = "0.17.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "da5349ae27d3887ca812fb375b45a4fbb36d8d12d2df394968cd86e35683fe73" dependencies = [ "cc", "cfg-if", - "getrandom", + "getrandom 0.2.15", "libc", - "spin", "untrusted", "windows-sys 0.52.0", ] @@ -6163,7 +6193,7 @@ dependencies = [ "num-traits", "pkcs1", "pkcs8", - "rand_core", + "rand_core 0.6.4", "signature", "spki", "subtle", @@ -6184,9 +6214,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustc-hash" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" [[package]] name = "rustc_version" @@ -6203,16 +6233,16 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.24", + "semver 1.0.25", ] [[package]] name = "rustix" -version = "0.38.42" +version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "errno", "libc", "linux-raw-sys", @@ -6241,7 +6271,7 @@ dependencies = [ "inventory", "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -6293,7 +6323,7 @@ dependencies = [ "openssl-probe", "rustls-pki-types", "schannel", - "security-framework 3.1.0", + "security-framework 3.2.0", ] [[package]] @@ -6316,9 +6346,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.10.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" +checksum = "917ce264624a4b4db1c364dcc35bfca9ded014d0a958cd47ad3e960e988ea51c" dependencies = [ "web-time", ] @@ -6369,7 +6399,7 @@ version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7803e8936da37efd9b6d4478277f4b2b9bb5cdb37a113e8d63222e58da647e63" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "cfg-if", "clipboard-win 5.4.0", "fd-lock", @@ -6393,14 +6423,14 @@ checksum = "e5af959c8bf6af1aff6d2b463a57f71aae53d1332da58419e30ad8dc7011d951" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd" [[package]] name = "same-file" @@ -6413,9 +6443,9 @@ dependencies = [ [[package]] name = "scc" -version = "2.3.0" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28e1c91382686d21b5ac7959341fcb9780fa7c03773646995a87c950fa7be640" +checksum = "ea091f6cac2595aa38993f04f4ee692ed43757035c36e67c180b6828356385b1" dependencies = [ "sdd", ] @@ -6453,9 +6483,9 @@ dependencies = [ [[package]] name = "sdd" -version = "3.0.5" +version = "3.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478f121bb72bbf63c52c93011ea1791dca40140dfe13f8336c4c5ac952c33aa9" +checksum = "b07779b9b918cc05650cb30f404d4d7835d26df37c235eded8a6832e2fb82cca" [[package]] name = "sec1" @@ -6477,7 +6507,7 @@ version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "core-foundation 0.9.4", "core-foundation-sys", "libc", @@ -6486,11 +6516,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "3.1.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d3f8c9bfcc3cbb6b0179eb57042d75b1582bdc65c3cb95f3fa999509c03cbc" +checksum = "271720403f46ca04f7ba6f55d438f8bd878d6b8ca0a1046e8228c4145bcbb316" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "core-foundation 0.10.0", "core-foundation-sys", "libc", @@ -6499,9 +6529,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.13.0" +version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1863fd3768cd83c56a7f60faa4dc0d403f1b6df0a38c3c25f44b7894e45370d5" +checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" dependencies = [ "core-foundation-sys", "libc", @@ -6518,9 +6548,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba" +checksum = "f79dfe2d285b0488816f30e700a7438c5a73d816b5b7d3ac72fbc48b0d185e03" [[package]] name = "semver-parser" @@ -6536,9 +6566,9 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4" [[package]] name = "serde" -version = "1.0.217" +version = "1.0.218" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" +checksum = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60" dependencies = [ "serde_derive", ] @@ -6576,20 +6606,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.217" +version = "1.0.218" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" +checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] name = "serde_json" -version = "1.0.134" +version = "1.0.139" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d00f4175c42ee48b15416f6193a959ba3a0d67fc699a0db9ad12df9f83991c7d" +checksum = "44f86c3acccc9c65b153fe1b85a3be07fe5515274ec9f0653b4a0875731c72a6" dependencies = [ "itoa", "memchr", @@ -6624,7 +6654,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.7.1", "itoa", "ryu", "serde", @@ -6653,7 +6683,7 @@ checksum = "5d69265a08751de7844521fd15003ae0a888e035773ba05695c5c759a6f89eef" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -6763,7 +6793,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ "digest", - "rand_core", + "rand_core 0.6.4", ] [[package]] @@ -6774,15 +6804,15 @@ checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" [[package]] name = "similar" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e" +checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" [[package]] name = "siphasher" -version = "0.3.11" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" +checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" [[package]] name = "size-of" @@ -6815,9 +6845,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.13.2" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd" dependencies = [ "serde", ] @@ -6908,14 +6938,14 @@ dependencies = [ "crc", "crossbeam-queue", "either", - "event-listener 5.3.1", + "event-listener 5.4.0", "futures-core", "futures-intrusive", "futures-io", "futures-util", "hashbrown 0.15.2", "hashlink", - "indexmap 2.7.0", + "indexmap 2.7.1", "log", "memchr", "once_cell", @@ -6924,7 +6954,7 @@ dependencies = [ "serde_json", "sha2", "smallvec", - "thiserror 2.0.9", + "thiserror 2.0.11", "tokio", "tokio-stream", "tracing", @@ -6941,7 +6971,7 @@ dependencies = [ "quote", "sqlx-core", "sqlx-macros-core", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -6963,7 +6993,7 @@ dependencies = [ "sqlx-core", "sqlx-postgres", "sqlx-sqlite", - "syn 2.0.95", + "syn 2.0.98", "tempfile", "tokio", "url", @@ -6977,7 +7007,7 @@ checksum = "4560278f0e00ce64938540546f59f590d60beee33fffbd3b9cd47851e5fff233" dependencies = [ "atoi", "base64 0.22.1", - "bitflags 2.6.0", + "bitflags 2.8.0", "byteorder", "bytes 1.9.0", "crc", @@ -7005,7 +7035,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror 2.0.9", + "thiserror 2.0.11", "tracing", "whoami", ] @@ -7018,7 +7048,7 @@ checksum = "c5b98a57f363ed6764d5b3a12bfedf62f07aa16e1856a7ddc2a0bb190a959613" dependencies = [ "atoi", "base64 0.22.1", - "bitflags 2.6.0", + "bitflags 2.8.0", "byteorder", "crc", "dotenvy", @@ -7042,7 +7072,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror 2.0.9", + "thiserror 2.0.11", "tracing", "whoami", ] @@ -7121,7 +7151,7 @@ dependencies = [ "fugit", "fugit-timer", "nb 1.1.0", - "rand_core", + "rand_core 0.6.4", "stm32f4", "time", "vcell", @@ -7178,7 +7208,7 @@ dependencies = [ "ockam_multiaddr", "rand", "serde", - "toml 0.8.19", + "toml 0.8.20", ] [[package]] @@ -7203,9 +7233,9 @@ dependencies = [ [[package]] name = "strip-ansi-escapes" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55ff8ef943b384c414f54aefa961dd2bd853add74ec75e7ac74cf91dba62bcfa" +checksum = "2a8f8038e7e7969abb3f1b7c2a811225e9296da208539e0f79c5251d6cac0025" dependencies = [ "vte", ] @@ -7248,7 +7278,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -7291,9 +7321,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.95" +version = "2.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46f71c0377baf4ef1cc3e3402ded576dccc315800fbc62dfc7fe04b009773b4a" +checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1" dependencies = [ "proc-macro2", "quote", @@ -7317,7 +7347,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -7358,9 +7388,9 @@ dependencies = [ [[package]] name = "target-triple" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42a4d50cdb458045afc8131fd91b64904da29548bcb63c7236e0844936c13078" +checksum = "1ac9aa371f599d22256307c24a9d748c041e548cbf599f35d890f9d365361790" [[package]] name = "tcp-test" @@ -7383,13 +7413,13 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.15.0" +version = "3.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704" +checksum = "22e5a0acb1f3f55f65cc4a866c361b2fb2a0ff6366785ae6fbb5f85df07ba230" dependencies = [ "cfg-if", "fastrand", - "getrandom", + "getrandom 0.3.1", "once_cell", "rustix", "windows-sys 0.59.0", @@ -7453,11 +7483,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.9" +version = "2.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f072643fd0190df67a8bab670c20ef5d8737177d6ac6b2e9a236cb096206b2cc" +checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" dependencies = [ - "thiserror-impl 2.0.9", + "thiserror-impl 2.0.11", ] [[package]] @@ -7468,18 +7498,18 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] name = "thiserror-impl" -version = "2.0.9" +version = "2.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b50fa271071aae2e6ee85f842e2e28ba8cd2c5fb67f11fcb1fd70b276f9e7d4" +checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -7575,9 +7605,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.42.0" +version = "1.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" +checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e" dependencies = [ "backtrace", "bytes 1.9.0", @@ -7604,13 +7634,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -7692,9 +7722,9 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.19" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" +checksum = "cd87a5cdd6ffab733b2f74bc4fd7ee5fff6634124999ac278c35fc78c6120148" dependencies = [ "serde", "serde_spanned", @@ -7713,15 +7743,15 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.22" +version = "0.22.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" +checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.7.1", "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.7.3", ] [[package]] @@ -7736,7 +7766,7 @@ dependencies = [ "base64 0.22.1", "bytes 1.9.0", "flate2", - "h2 0.4.7", + "h2 0.4.8", "http 1.2.0", "http-body 1.0.1", "http-body-util", @@ -7837,7 +7867,7 @@ checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -7934,9 +7964,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "trybuild" -version = "1.0.101" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8dcd332a5496c026f1e14b7f3d2b7bd98e509660c04239c58b0ba38a12daded4" +checksum = "b812699e0c4f813b872b373a4471717d9eb550da14b311058a4d9cf4173cbca6" dependencies = [ "dissimilar", "glob", @@ -7945,7 +7975,7 @@ dependencies = [ "serde_json", "target-triple", "termcolor", - "toml 0.8.19", + "toml 0.8.20", ] [[package]] @@ -7968,9 +7998,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.17.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" [[package]] name = "unarray" @@ -7986,9 +8016,9 @@ checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" [[package]] name = "unicode-ident" -version = "1.0.14" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +checksum = "00e2473a93778eb0bad35909dff6a10d28e63f792f16ed15e404fca9d5eeedbe" [[package]] name = "unicode-linebreak" @@ -8086,7 +8116,7 @@ dependencies = [ "libc", "rustix", "rustversion", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "wasm-bindgen", "winapi", ] @@ -8121,7 +8151,7 @@ version = "5.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "435c6f69ef38c9017b4b4eea965dfb91e71e53d869e896db40d1cf2441dd75c0" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.7.1", "serde", "serde_json", "serde_yaml", @@ -8136,20 +8166,20 @@ checksum = "a77d306bc75294fd52f3e99b13ece67c02c1a2789190a6f31d32f736624326f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] name = "uuid" -version = "1.11.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" +checksum = "bd8dcafa1ca14750d8d7a05aa05988c17aab20886e1f3ae33a40223c58d92ef7" [[package]] name = "valuable" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "value-bag" @@ -8198,29 +8228,18 @@ checksum = "5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64" [[package]] name = "vte" -version = "0.11.1" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5022b5fbf9407086c180e9557be968742d839e68346af7792b8592489732197" +checksum = "231fdcd7ef3037e8330d8e17e61011a2c244126acc0a982f4040ac3f9f0bc077" dependencies = [ - "utf8parse", - "vte_generate_state_changes", -] - -[[package]] -name = "vte_generate_state_changes" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e369bee1b05d510a7b4ed645f5faa90619e05437111783ea5848f28d97d3c2e" -dependencies = [ - "proc-macro2", - "quote", + "memchr", ] [[package]] name = "wait-timeout" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" dependencies = [ "libc", ] @@ -8250,6 +8269,15 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasi" +version = "0.13.3+wasi-0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" +dependencies = [ + "wit-bindgen-rt", +] + [[package]] name = "wasite" version = "0.1.0" @@ -8258,34 +8286,35 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" [[package]] name = "wasm-bindgen" -version = "0.2.99" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a474f6281d1d70c17ae7aa6a613c87fce69a127e2624002df63dcb39d6cf6396" +checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" dependencies = [ "cfg-if", "once_cell", + "rustversion", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.99" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f89bb38646b4f81674e8f5c3fb81b562be1fd936d84320f3264486418519c79" +checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" dependencies = [ "bumpalo", "log", "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.49" +version = "0.4.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38176d9b44ea84e9184eff0bc34cc167ed044f816accfe5922e54d84cf48eca2" +checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" dependencies = [ "cfg-if", "js-sys", @@ -8296,9 +8325,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.99" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cc6181fd9a7492eef6fef1f33961e3695e4579b9872a6f7c83aee556666d4fe" +checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -8306,37 +8335,40 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.99" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30d7a95b763d3c45903ed6c81f156801839e5ee968bb07e534c44df0fcd330c2" +checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.99" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "943aab3fdaaa029a6e0271b35ea10b72b943135afe9bffca82384098ad0e06a6" +checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" +dependencies = [ + "unicode-ident", +] [[package]] name = "wasm-encoder" -version = "0.220.0" +version = "0.220.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebf48234b389415b226a4daef6562933d38c7b28a8b8f64c5c4130dad1561ab7" +checksum = "e913f9242315ca39eff82aee0e19ee7a372155717ff0eb082c741e435ce25ed1" dependencies = [ "leb128", ] [[package]] name = "wast" -version = "220.0.0" +version = "220.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e708c8de08751fd66e70961a32bae9d71901f14a70871e181cb8461a3bb3165" +checksum = "83215033c469bc2b141ffd194b97a5d9abe71515bc45959a9e7021d804d60052" dependencies = [ "bumpalo", "leb128", @@ -8420,9 +8452,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.76" +version = "0.3.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04dd7223427d52553d3702c004d3b2fe07c148165faa56313cb00211e31c12bc" +checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" dependencies = [ "js-sys", "wasm-bindgen", @@ -8557,7 +8589,7 @@ checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -8568,9 +8600,15 @@ checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] +[[package]] +name = "windows-link" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dccfd733ce2b1753b03b6d3c65edf020262ea35e20ccdf3e288043e6dd620e3" + [[package]] name = "windows-registry" version = "0.2.0" @@ -8760,9 +8798,15 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.25" +version = "0.6.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad699df48212c6cc6eb4435f35500ac6fd3b9913324f938aea302022ce19d310" +checksum = "1e90edd2ac1aa278a5c4599b1d89cf03074b610800f866d4026dc199d7929a28" + +[[package]] +name = "winnow" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e7f4ea97f6f78012141bcdb6a216b2609f0979ada50b20ca5b52dde2eac2bb1" dependencies = [ "memchr", ] @@ -8773,6 +8817,15 @@ version = "0.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904" +[[package]] +name = "wit-bindgen-rt" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" +dependencies = [ + "bitflags 2.8.0", +] + [[package]] name = "write16" version = "1.0.0" @@ -8840,7 +8893,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ "curve25519-dalek", - "rand_core", + "rand_core 0.6.4", "serde", "zeroize", ] @@ -8853,9 +8906,9 @@ checksum = "0ef33da6b1660b4ddbfb3aef0ade110c8b8a781a3b6382fa5f2b5b040fd55f61" [[package]] name = "xml-rs" -version = "0.8.24" +version = "0.8.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea8b391c9a790b496184c29f7f93b9ed5b16abb306c05415b68bcc16e4d06432" +checksum = "c5b940ebc25896e71dd073bad2dbaa2abfe97b0a391415e22ad1326d9c54e3c4" [[package]] name = "xmlparser" @@ -8901,7 +8954,7 @@ checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", "synstructure", ] @@ -8912,7 +8965,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ "byteorder", - "zerocopy-derive", + "zerocopy-derive 0.7.35", +] + +[[package]] +name = "zerocopy" +version = "0.8.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dde3bb8c68a8f3f1ed4ac9221aad6b10cece3e60a8e2ea54a6a2dec806d0084c" +dependencies = [ + "zerocopy-derive 0.8.20", ] [[package]] @@ -8923,7 +8985,18 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eea57037071898bf96a6da35fd626f4f27e9cee3ead2a6c703cf09d472b2e700" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.98", ] [[package]] @@ -8943,7 +9016,7 @@ checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", "synstructure", ] @@ -8964,7 +9037,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -8986,32 +9059,32 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] name = "zstd" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcf2b778a664581e31e389454a7072dab1647606d44f7feea22cd5abb9c9f3f9" +checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "7.2.1" +version = "7.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a3ab4db68cea366acc5c897c7b4d4d1b8994a9cd6e6f841f8964566a419059" +checksum = "f3051792fbdc2e1e143244dc28c60f73d8470e93f3f9cbd0ead44da5ed802722" dependencies = [ "zstd-sys", ] [[package]] name = "zstd-sys" -version = "2.0.13+zstd.1.5.6" +version = "2.0.14+zstd.1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" +checksum = "8fb060d4926e4ac3a3ad15d864e99ceb5f343c6b34f5bd6d81ae6ed417311be5" dependencies = [ "cc", "pkg-config", diff --git a/NOTICE.md b/NOTICE.md index bfecae7795c..b410ef815b8 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -431,7 +431,7 @@ This file contains attributions for any 3rd-party open source code used in this | regex-syntax | MIT, Apache-2.0 | https://crates.io/crates/regex-syntax | | reqwest | MIT, Apache-2.0 | https://crates.io/crates/reqwest | | rfc6979 | Apache-2.0, MIT | https://crates.io/crates/rfc6979 | -| ring | | https://crates.io/crates/ring | +| ring | Apache-2.0, ISC | https://crates.io/crates/ring | | riscv | ISC | https://crates.io/crates/riscv | | roff | MIT, Apache-2.0 | https://crates.io/crates/roff | | rustc-demangle | MIT, Apache-2.0 | https://crates.io/crates/rustc-demangle | @@ -592,7 +592,6 @@ This file contains attributions for any 3rd-party open source code used in this | volatile-register | MIT, Apache-2.0 | https://crates.io/crates/volatile-register | | vsimd | MIT | https://crates.io/crates/vsimd | | vte | Apache-2.0, MIT | https://crates.io/crates/vte | -| vte_generate_state_changes | Apache-2.0, MIT | https://crates.io/crates/vte_generate_state_changes | | walkdir | Unlicense, MIT | https://crates.io/crates/walkdir | | want | MIT | https://crates.io/crates/want | | wasite | Apache-2.0, BSL-1.0, MIT | https://crates.io/crates/wasite | @@ -624,6 +623,7 @@ This file contains attributions for any 3rd-party open source code used in this | windows-core | MIT, Apache-2.0 | https://crates.io/crates/windows-core | | windows-implement | MIT, Apache-2.0 | https://crates.io/crates/windows-implement | | windows-interface | MIT, Apache-2.0 | https://crates.io/crates/windows-interface | +| windows-link | MIT, Apache-2.0 | https://crates.io/crates/windows-link | | windows-registry | MIT, Apache-2.0 | https://crates.io/crates/windows-registry | | windows-result | MIT, Apache-2.0 | https://crates.io/crates/windows-result | | windows-strings | MIT, Apache-2.0 | https://crates.io/crates/windows-strings | @@ -639,6 +639,7 @@ This file contains attributions for any 3rd-party open source code used in this | windows_x86_64_msvc | MIT, Apache-2.0 | https://crates.io/crates/windows_x86_64_msvc | | winnow | MIT | https://crates.io/crates/winnow | | winsafe | MIT | https://crates.io/crates/winsafe | +| wit-bindgen-rt | Apache-2.0 WITH LLVM-exception, Apache-2.0, MIT | https://crates.io/crates/wit-bindgen-rt | | write16 | Apache-2.0, MIT | https://crates.io/crates/write16 | | writeable | Unicode-3.0 | https://crates.io/crates/writeable | | x11-clipboard | MIT | https://crates.io/crates/x11-clipboard | diff --git a/examples/rust/get_started/examples/11-attribute-based-authentication.rs b/examples/rust/get_started/examples/11-attribute-based-authentication.rs index 7e0bcc768eb..26f6aa5d6d5 100644 --- a/examples/rust/get_started/examples/11-attribute-based-authentication.rs +++ b/examples/rust/get_started/examples/11-attribute-based-authentication.rs @@ -1,91 +1,91 @@ -/// INTRODUCTION -/// -/// This example shows how to use attribute-based credential in order to have -/// several devices connecting to a server, via the Ockam Orchestrator. -/// -/// The corresponding example using the command-line can be found here: https://docs.ockam.io/use-cases/apply-fine-grained-permissions-with-attribute-based-access-control-abac. -/// -/// You first need to: -/// -/// - create a project with `ockam enroll` -/// - export the project information with `ockam project information > project.json` -/// -/// Then you can start: -/// -/// - a local Python webserver: `python3 -m http.server --bind 127.0.0.1 5000` -/// - the control node in `11-attribute-based-authentication-control-plane.rs` -/// - the edge node in `11-attribute-based-authentication-edge-plane.rs` -/// -/// This will set up a TCP outlet on the control node, connected to the Python webserver -/// and a TCP inlet on the edge node which can be used to send HTTP requests (at 127.0.0.1:7000). -/// -/// Then if you execute `curl --fail --head --max-time 10 127.0.0.1:7000` you should get back -/// a successful response like: -/// -/// HTTP/1.0 200 OK -/// Server: SimpleHTTP/0.6 Python/3.9.6 -/// Date: Tue, 07 Feb 2023 15:05:59 GMT -/// Content-type: text/html; charset=utf-8 -/// Content-Length: 870 -/// -/// and observe that a successful connection has been made on the Python webserver: -/// -/// ± python3 -m http.server --bind 127.0.0.1 5000 default -/// Serving HTTP on 127.0.0.1 port 5000 (http://127.0.0.1:5000/) ... -/// 127.0.0.1 - - [06/Feb/2023 15:52:20] "HEAD / HTTP/1.1" 200 - -/// -/// TOPOLOGY -/// -/// The network we establish between the control node, the edge node and the Orchestrator is the following -/// -/// get credential +-------------------------------------+ -/// via secure channel | | Inlet <-- 127.0.0.1:7000 -/// +---------------+ Edge node | connected to "outlet" -/// | | | via secure channel -/// | +-------------------------------------+ -/// | | | -/// | | | create secure channel to control -/// | | | via the relay -/// v v | -/// +--------------+ +-------------------------------+-------+ -/// | Authority | | | | -/// | | | Orchestrator | | -/// | | | | | -/// +--------------+ +---------------------- forwarder ------+ -/// ^ ^ to control -/// | | ^ | -/// | | create | | -/// | | | v -/// | | | "untrusted" secure channel -/// | +---------------------------------------+ listener -/// | | | -/// +---------------| Control node | "outlet" --> 127.0.0.1:5000 -/// get credential | | -/// via secure channel +---------------------------------------+ -/// -/// -/// - we create initially some secure channels to the Authority in order to retrieve credential -/// based on a one-time token generated with `ockam project ticket --attribute component=` -/// -/// - then the control node creates a relay on the Orchestrator in order to accept TCP traffic without -/// having to open a port to the internet. It also starts a channel listener ("untrusted", accept all incoming requests for now) -/// -/// - on its side the edge node starts a secure channel via relay (named "forward_to_control_plane1"), to the "untrusted" listener -/// with the secure channel address it creates an Inlet which will direct TCP traffic via the secure channel to get to the -/// control node and then to the "outlet" worker to reach the Python webserver -/// -/// - the outlet is configured to only receive messages from the edge node by checking its authenticated attributes -/// - the inlet is configured to only receive messages from the control node by checking its authenticated attributes -/// -/// IMPLEMENTATION -/// -/// The code for this example can be found in: -/// -/// - examples/11-attribute-based-authentication-control-plane.rs: for the control node -/// - examples/11-attribute-based-authentication-edge-plane.rs: for the edge node -/// - src/project.rs: read the content of the project.json file -/// - src/token.rs: generate a one-time token using the ockam command line -/// +//! INTRODUCTION +//! +//! This example shows how to use attribute-based credential in order to have +//! several devices connecting to a server, via the Ockam Orchestrator. +//! +//! The corresponding example using the command-line can be found here: https://docs.ockam.io/use-cases/apply-fine-grained-permissions-with-attribute-based-access-control-abac. +//! +//! You first need to: +//! +//! - create a project with `ockam enroll` +//! - export the project information with `ockam project information > project.json` +//! +//! Then you can start: +//! +//! - a local Python webserver: `python3 -m http.server --bind 127.0.0.1 5000` +//! - the control node in `11-attribute-based-authentication-control-plane.rs` +//! - the edge node in `11-attribute-based-authentication-edge-plane.rs` +//! +//! This will set up a TCP outlet on the control node, connected to the Python webserver +//! and a TCP inlet on the edge node which can be used to send HTTP requests (at 127.0.0.1:7000). +//! +//! Then if you execute `curl --fail --head --max-time 10 127.0.0.1:7000` you should get back +//! a successful response like: +//! +//! HTTP/1.0 200 OK +//! Server: SimpleHTTP/0.6 Python/3.9.6 +//! Date: Tue, 07 Feb 2023 15:05:59 GMT +//! Content-type: text/html; charset=utf-8 +//! Content-Length: 870 +//! +//! and observe that a successful connection has been made on the Python webserver: +//! +//! ± python3 -m http.server --bind 127.0.0.1 5000 default +//! Serving HTTP on 127.0.0.1 port 5000 (http://127.0.0.1:5000/) ... +//! 127.0.0.1 - - [06/Feb/2023 15:52:20] "HEAD / HTTP/1.1" 200 - +//! +//! TOPOLOGY +//! +//! The network we establish between the control node, the edge node and the Orchestrator is the following +//! +//! get credential +-------------------------------------+ +//! via secure channel | | Inlet <-- 127.0.0.1:7000 +//! +---------------+ Edge node | connected to "outlet" +//! | | | via secure channel +//! | +-------------------------------------+ +//! | | | +//! | | | create secure channel to control +//! | | | via the relay +//! v v | +//! +--------------+ +-------------------------------+-------+ +//! | Authority | | | | +//! | | | Orchestrator | | +//! | | | | | +//! +--------------+ +---------------------- forwarder ------+ +//! ^ ^ to control +//! | | ^ | +//! | | create | | +//! | | | v +//! | | | "untrusted" secure channel +//! | +---------------------------------------+ listener +//! | | | +//! +---------------| Control node | "outlet" --> 127.0.0.1:5000 +//! get credential | | +//! via secure channel +---------------------------------------+ +//! +//! +//! - we create initially some secure channels to the Authority in order to retrieve credential +//! based on a one-time token generated with `ockam project ticket --attribute component=` +//! +//! - then the control node creates a relay on the Orchestrator in order to accept TCP traffic without +//! having to open a port to the internet. It also starts a channel listener ("untrusted", accept all incoming requests for now) +//! +//! - on its side the edge node starts a secure channel via relay (named "forward_to_control_plane1"), to the "untrusted" listener +//! with the secure channel address it creates an Inlet which will direct TCP traffic via the secure channel to get to the +//! control node and then to the "outlet" worker to reach the Python webserver +//! +//! - the outlet is configured to only receive messages from the edge node by checking its authenticated attributes +//! - the inlet is configured to only receive messages from the control node by checking its authenticated attributes +//! +//! IMPLEMENTATION +//! +//! The code for this example can be found in: +//! +//! - examples/11-attribute-based-authentication-control-plane.rs: for the control node +//! - examples/11-attribute-based-authentication-edge-plane.rs: for the edge node +//! - src/project.rs: read the content of the project.json file +//! - src/token.rs: generate a one-time token using the ockam command line +//! /// unused main function fn main() {} diff --git a/implementations/rust/ockam/ockam_abac/src/boolean_expr.rs b/implementations/rust/ockam/ockam_abac/src/boolean_expr.rs index 7bc348bf78d..bafbcd0e027 100644 --- a/implementations/rust/ockam/ockam_abac/src/boolean_expr.rs +++ b/implementations/rust/ockam/ockam_abac/src/boolean_expr.rs @@ -670,7 +670,7 @@ mod tests { test_parse_error(&mut "a=\"\"", "the value can't be empty"); } - /// HELPERS + // HELPERS /// Test the parsing of a name fn test_parse_name(input: &str) { diff --git a/implementations/rust/ockam/ockam_abac/src/expr.rs b/implementations/rust/ockam/ockam_abac/src/expr.rs index 485dec36431..cb4365c1bbc 100644 --- a/implementations/rust/ockam/ockam_abac/src/expr.rs +++ b/implementations/rust/ockam/ockam_abac/src/expr.rs @@ -610,7 +610,7 @@ mod tests { test_failure("a or b", &format!("The first identifier of the expression: `a or b` must be an operation. The available operations are: {}", OPERATORS.join(", "))); } - /// HELPERS + // HELPERS fn test_failure(s: &str, expected_message: &str) { match parse(s) { Err(e) => assert!(e.to_string().contains(expected_message)), diff --git a/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_policy_repository_sql.rs b/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_policy_repository_sql.rs index 35a5fec3484..33d67ab7780 100644 --- a/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_policy_repository_sql.rs +++ b/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_policy_repository_sql.rs @@ -205,7 +205,7 @@ mod test { Ok(()) } - /// HELPERS + // HELPERS async fn resource_policy_repository() -> Result> { Ok(Arc::new(ResourcePolicySqlxDatabase::create().await?)) } diff --git a/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_repository_sql.rs b/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_repository_sql.rs index fb38f129220..3bc7fc73e4e 100644 --- a/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_repository_sql.rs +++ b/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_repository_sql.rs @@ -170,7 +170,7 @@ mod test { Ok(()) } - /// HELPERS + // HELPERS async fn create_repository() -> Result> { Ok(Arc::new(ResourcesSqlxDatabase::create().await?)) } diff --git a/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_type_policy_repository_sql.rs b/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_type_policy_repository_sql.rs index f5cc4f34bb6..59455334fcb 100644 --- a/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_type_policy_repository_sql.rs +++ b/implementations/rust/ockam/ockam_abac/src/policy/storage/resource_type_policy_repository_sql.rs @@ -245,7 +245,7 @@ mod test { Ok(()) } - /// HELPERS + // HELPERS async fn create_repository() -> Result> { Ok(Arc::new(ResourceTypePolicySqlxDatabase::create().await?)) } diff --git a/implementations/rust/ockam/ockam_api/src/authority_node/authority.rs b/implementations/rust/ockam/ockam_api/src/authority_node/authority.rs index 4706dd770b2..d8784def4d8 100644 --- a/implementations/rust/ockam/ockam_api/src/authority_node/authority.rs +++ b/implementations/rust/ockam/ockam_api/src/authority_node/authority.rs @@ -523,7 +523,7 @@ pub mod tests { result.unwrap() } - /// HELPERS + // HELPERS /// Create an Authority configuration with: /// diff --git a/implementations/rust/ockam/ockam_api/src/cli_state/cli_state.rs b/implementations/rust/ockam/ockam_api/src/cli_state/cli_state.rs index 8cc70d47a74..8b40d4c4aec 100644 --- a/implementations/rust/ockam/ockam_api/src/cli_state/cli_state.rs +++ b/implementations/rust/ockam/ockam_api/src/cli_state/cli_state.rs @@ -448,7 +448,7 @@ mod tests { .await } - /// HELPERS + // HELPERS fn list_file_names(dir: &Path) -> Vec { fs::read_dir(dir) .unwrap() diff --git a/implementations/rust/ockam/ockam_api/src/cli_state/journeys/attributes.rs b/implementations/rust/ockam/ockam_api/src/cli_state/journeys/attributes.rs index 01318fd31e9..dec32b07225 100644 --- a/implementations/rust/ockam/ockam_api/src/cli_state/journeys/attributes.rs +++ b/implementations/rust/ockam/ockam_api/src/cli_state/journeys/attributes.rs @@ -255,7 +255,7 @@ mod tests { assert_eq!(now_as_string(datetime("2024-03-31T12:00:00Z")), "240330"); } - /// HELPERS + // HELPERS fn datetime(s: &str) -> DateTime { Utc.from_utc_datetime(&DateTime::parse_from_rfc3339(s).unwrap().naive_utc()) } diff --git a/implementations/rust/ockam/ockam_api/src/cli_state/journeys/journey_event.rs b/implementations/rust/ockam/ockam_api/src/cli_state/journeys/journey_event.rs index a3879ebc272..5cb293bad6d 100644 --- a/implementations/rust/ockam/ockam_api/src/cli_state/journeys/journey_event.rs +++ b/implementations/rust/ockam/ockam_api/src/cli_state/journeys/journey_event.rs @@ -1,7 +1,7 @@ use opentelemetry::Key; use std::fmt::{Display, Formatter}; -/// List of attribute keys for journey event creation +// List of attribute keys for journey event creation pub const TCP_OUTLET_AT: &Key = &Key::from_static_str("app.tcp_outlet.at"); pub const TCP_OUTLET_FROM: &Key = &Key::from_static_str("app.tcp_outlet.from"); diff --git a/implementations/rust/ockam/ockam_api/src/cli_state/storage/enrollments_repository_sql.rs b/implementations/rust/ockam/ockam_api/src/cli_state/storage/enrollments_repository_sql.rs index dfe12be7316..2a859648c34 100644 --- a/implementations/rust/ockam/ockam_api/src/cli_state/storage/enrollments_repository_sql.rs +++ b/implementations/rust/ockam/ockam_api/src/cli_state/storage/enrollments_repository_sql.rs @@ -226,7 +226,7 @@ mod tests { Ok(()) } - /// HELPERS + // HELPERS async fn create_identity(db: SqlxDatabase, name: &str) -> Result { let identities = identities().await?; let identifier = identities.identities_creation().create_identity().await?; diff --git a/implementations/rust/ockam/ockam_api/src/cli_state/storage/identities_repository_sql.rs b/implementations/rust/ockam/ockam_api/src/cli_state/storage/identities_repository_sql.rs index 1ac5501fafd..e9f767283c7 100644 --- a/implementations/rust/ockam/ockam_api/src/cli_state/storage/identities_repository_sql.rs +++ b/implementations/rust/ockam/ockam_api/src/cli_state/storage/identities_repository_sql.rs @@ -432,7 +432,7 @@ mod tests { .await } - /// HELPERS + // HELPERS async fn create_identity() -> Result { let identities = identities().await?; identities.identities_creation().create_identity().await diff --git a/implementations/rust/ockam/ockam_api/src/cli_state/storage/nodes_repository_sql.rs b/implementations/rust/ockam/ockam_api/src/cli_state/storage/nodes_repository_sql.rs index f60290e3677..3d18958e7c7 100644 --- a/implementations/rust/ockam/ockam_api/src/cli_state/storage/nodes_repository_sql.rs +++ b/implementations/rust/ockam/ockam_api/src/cli_state/storage/nodes_repository_sql.rs @@ -393,7 +393,7 @@ mod test { .await } - /// HELPERS + // HELPERS async fn create_identity() -> Result { let identities = identities().await?; identities.identities_creation().create_identity().await diff --git a/implementations/rust/ockam/ockam_api/src/cli_state/storage/projects_repository_sql.rs b/implementations/rust/ockam/ockam_api/src/cli_state/storage/projects_repository_sql.rs index 6eb955209cd..a1a077f3984 100644 --- a/implementations/rust/ockam/ockam_api/src/cli_state/storage/projects_repository_sql.rs +++ b/implementations/rust/ockam/ockam_api/src/cli_state/storage/projects_repository_sql.rs @@ -755,7 +755,7 @@ mod test { .await } - /// HELPERS + // HELPERS fn create_project( id: &str, name: &str, diff --git a/implementations/rust/ockam/ockam_api/src/control_api/frontend.rs b/implementations/rust/ockam/ockam_api/src/control_api/frontend.rs index f59452121c0..36412343430 100644 --- a/implementations/rust/ockam/ockam_api/src/control_api/frontend.rs +++ b/implementations/rust/ockam/ockam_api/src/control_api/frontend.rs @@ -442,7 +442,7 @@ mod test { use std::net::SocketAddr; use tokio::net::TcpStream; - async fn send_http_request<'a, S: Serialize + Send, D: DeserializeOwned + Send>( + async fn send_http_request( request: Request, ) -> Response { let host = request.uri().host().expect("uri has no host"); diff --git a/implementations/rust/ockam/ockam_api/src/logs/default_values.rs b/implementations/rust/ockam/ockam_api/src/logs/default_values.rs index 26d642bf42d..ddeda1fa136 100644 --- a/implementations/rust/ockam/ockam_api/src/logs/default_values.rs +++ b/implementations/rust/ockam/ockam_api/src/logs/default_values.rs @@ -1,9 +1,9 @@ use crate::logs::LogFormat; use std::time::Duration; -/// -/// LOGGING -/// +// +// LOGGING +// /// Log format for files. See LogFormat for other values pub(crate) const DEFAULT_LOG_FORMAT: LogFormat = LogFormat::Default; @@ -18,9 +18,9 @@ pub(crate) const DEFAULT_LOG_MAX_FILES: u64 = 60; pub(crate) const DEFAULT_OPENTELEMETRY_ENDPOINT: &str = "https://otelcoll.orchestrator.ockam.io:443"; -/// -/// TRACING -/// +// +// TRACING +// /// Timeout for trying to access the Telemetry collector endpoint when running a command /// It is quite high but experimentation shows that sometimes there's quite some lag even if the endpoint is available diff --git a/implementations/rust/ockam/ockam_api/src/logs/env_variables.rs b/implementations/rust/ockam/ockam_api/src/logs/env_variables.rs index 74a716af2ad..18a06e45b89 100644 --- a/implementations/rust/ockam/ockam_api/src/logs/env_variables.rs +++ b/implementations/rust/ockam/ockam_api/src/logs/env_variables.rs @@ -1,6 +1,6 @@ -/// -/// LOGGING CONFIGURATION -/// +// +// LOGGING CONFIGURATION +// /// Decides if logs should be created. Accepted values, see FromString. For example; true, false, 1, 0 pub(crate) const OCKAM_LOGGING: &str = "OCKAM_LOGGING"; @@ -8,9 +8,9 @@ pub(crate) const OCKAM_LOGGING: &str = "OCKAM_LOGGING"; /// Required log level. Accepted values, see LevelVar. For example: trace, debug, info, warn, error pub(crate) const OCKAM_LOG_LEVEL: &str = "OCKAM_LOG_LEVEL"; -/// -/// LOG FILE CONFIGURATION -/// +// +//LOG FILE CONFIGURATION +// /// Max size of a log file before it is rotated, in Mb pub(crate) const OCKAM_LOG_MAX_SIZE_MB: &str = "OCKAM_LOG_MAX_SIZE_MB"; @@ -24,9 +24,9 @@ pub(crate) const OCKAM_LOG_FORMAT: &str = "OCKAM_LOG_FORMAT"; /// Filter for log messages based on crate names. Accepted values: 'all' or 'comma-separated strings'. For example: ockam_core,ockam_api pub(crate) const OCKAM_LOG_CRATES_FILTER: &str = "OCKAM_LOG_CRATES_FILTER"; -/// -/// TRACING CONFIGURATION -/// +// +// TRACING CONFIGURATION +// /// Decides if spans and log records should be created and exported. Accepted values, see BooleanVar. For example; true, false, 1, 0 pub(crate) const OCKAM_TELEMETRY_EXPORT: &str = "OCKAM_TELEMETRY_EXPORT"; @@ -58,9 +58,9 @@ pub const OCKAM_DEVELOPER: &str = "OCKAM_DEVELOPER"; /// If this variable is true, print statements will debug the setting of the OpenTelemetry export pub(crate) const OCKAM_OPENTELEMETRY_EXPORT_DEBUG: &str = "OCKAM_OPENTELEMETRY_EXPORT_DEBUG"; -/// -/// TELEMETRY COLLECTOR ENDPOINT CONFIGURATION -/// +// +// TELEMETRY COLLECTOR ENDPOINT CONFIGURATION +// /// URL for the OpenTelemetry collector. Accepted values, see UrlVar. For example: http://127.0.0.1:4317 pub(crate) const OCKAM_OPENTELEMETRY_ENDPOINT: &str = "OCKAM_OPENTELEMETRY_ENDPOINT"; @@ -75,9 +75,9 @@ pub(crate) const OCKAM_FOREGROUND_TELEMETRY_ENDPOINT_CONNECTION_TIMEOUT: &str = pub(crate) const OCKAM_BACKGROUND_TELEMETRY_ENDPOINT_CONNECTION_TIMEOUT: &str = "OCKAM_BACKGROUND_TELEMETRY_ENDPOINT_CONNECTION_TIMEOUT"; -/// -/// TELEMETRY COLLECTOR EXPORT CONFIGURATION -/// +// +// TELEMETRY COLLECTOR EXPORT CONFIGURATION +// /// Timeout for trying to export spans to the endpoint. /// Accepted values, see DurationVar. For example: 500ms diff --git a/implementations/rust/ockam/ockam_api/src/logs/ockam_tonic_traces_client.rs b/implementations/rust/ockam/ockam_api/src/logs/ockam_tonic_traces_client.rs index e1592b33b1a..d7c8539ed2b 100644 --- a/implementations/rust/ockam/ockam_api/src/logs/ockam_tonic_traces_client.rs +++ b/implementations/rust/ockam/ockam_api/src/logs/ockam_tonic_traces_client.rs @@ -161,7 +161,7 @@ pub(crate) mod tests { assert!(result.is_ok()); } - /// HELPERS + // HELPERS /// Create a SecureChannels service for a local node pub(crate) async fn create_secure_channels() -> Result> { diff --git a/implementations/rust/ockam/ockam_api/src/logs/secure_client_service.rs b/implementations/rust/ockam/ockam_api/src/logs/secure_client_service.rs index c78040fc9ae..57835a96f59 100644 --- a/implementations/rust/ockam/ockam_api/src/logs/secure_client_service.rs +++ b/implementations/rust/ockam/ockam_api/src/logs/secure_client_service.rs @@ -244,7 +244,7 @@ mod tests { ); } - /// HELPERS + // HELPERS fn make_http_request() -> http::Request> { http::Request::builder() .method(Method::GET) diff --git a/implementations/rust/ockam/ockam_api/src/nodes/service/transport.rs b/implementations/rust/ockam/ockam_api/src/nodes/service/transport.rs index 1454666efd2..89ca03643bd 100644 --- a/implementations/rust/ockam/ockam_api/src/nodes/service/transport.rs +++ b/implementations/rust/ockam/ockam_api/src/nodes/service/transport.rs @@ -133,7 +133,7 @@ impl NodeManagerWorker { }) } - pub(super) async fn create_tcp_connection<'a>( + pub(super) async fn create_tcp_connection( &self, ctx: &Context, create: CreateTcpConnection, @@ -150,7 +150,7 @@ impl NodeManagerWorker { }) } - pub(super) async fn create_tcp_listener<'a>( + pub(super) async fn create_tcp_listener( &self, create: CreateTcpListener, ) -> Result, Response> { diff --git a/implementations/rust/ockam/ockam_api/src/orchestrator/email_address.rs b/implementations/rust/ockam/ockam_api/src/orchestrator/email_address.rs index dced88ddd88..70f317566bb 100644 --- a/implementations/rust/ockam/ockam_api/src/orchestrator/email_address.rs +++ b/implementations/rust/ockam/ockam_api/src/orchestrator/email_address.rs @@ -116,7 +116,7 @@ mod tests { } } - /// HELPERS + // HELPERS /// This newtype generates equal email addresses #[derive(Clone, PartialEq, Eq, Debug)] diff --git a/implementations/rust/ockam/ockam_api/src/orchestrator/project/models.rs b/implementations/rust/ockam/ockam_api/src/orchestrator/project/models.rs index 662b27ff090..d51e5513c1f 100644 --- a/implementations/rust/ockam/ockam_api/src/orchestrator/project/models.rs +++ b/implementations/rust/ockam/ockam_api/src/orchestrator/project/models.rs @@ -367,7 +367,7 @@ mod tests { } } - /// HELPERS + // HELPERS impl Arbitrary for OktaConfig { fn arbitrary(g: &mut Gen) -> Self { diff --git a/implementations/rust/ockam/ockam_api/src/orchestrator/project/project.rs b/implementations/rust/ockam/ockam_api/src/orchestrator/project/project.rs index ce968704954..f65faa188ce 100644 --- a/implementations/rust/ockam/ockam_api/src/orchestrator/project/project.rs +++ b/implementations/rust/ockam/ockam_api/src/orchestrator/project/project.rs @@ -389,7 +389,7 @@ mod tests { assert!(project.is_admin(&create_user("TEST@OCKAM.IO"))); } - /// HELPERS + // HELPERS fn create_admin(email: &str) -> ProjectUserRole { ProjectUserRole { email: email.try_into().unwrap(), diff --git a/implementations/rust/ockam/ockam_api/src/ui/terminal/highlighting.rs b/implementations/rust/ockam/ockam_api/src/ui/terminal/highlighting.rs index 8f1964739a5..be1fd1ae13e 100644 --- a/implementations/rust/ockam/ockam_api/src/ui/terminal/highlighting.rs +++ b/implementations/rust/ockam/ockam_api/src/ui/terminal/highlighting.rs @@ -33,7 +33,7 @@ pub struct TextHighlighter<'a> { pub theme: &'a Theme, } -impl<'a> TextHighlighter<'a> { +impl TextHighlighter<'_> { pub fn new(syntax: &str) -> Result { let syntax = SYNTAX_SET_NEWLINES .find_syntax_by_extension(syntax) diff --git a/implementations/rust/ockam/ockam_api/tests/logging_tracing.rs b/implementations/rust/ockam/ockam_api/tests/logging_tracing.rs index e1f93c7735e..af5aa61cfcf 100644 --- a/implementations/rust/ockam/ockam_api/tests/logging_tracing.rs +++ b/implementations/rust/ockam/ockam_api/tests/logging_tracing.rs @@ -89,7 +89,7 @@ async fn test_log_and_traces() { ) } -/// HELPERS +// HELPERS fn make_configuration() -> ockam_core::Result { Ok(LoggingConfiguration::new( diff --git a/implementations/rust/ockam/ockam_command/src/authority/create.rs b/implementations/rust/ockam/ockam_command/src/authority/create.rs index f32d1d9542e..b279903396e 100644 --- a/implementations/rust/ockam/ockam_command/src/authority/create.rs +++ b/implementations/rust/ockam/ockam_command/src/authority/create.rs @@ -516,7 +516,7 @@ mod tests { Ok(()) } - /// HELPERS + // HELPERS async fn create_identity() -> Result { let identities = identities().await?; Ok(identities.identities_creation().create_identity().await?) diff --git a/implementations/rust/ockam/ockam_command/src/kafka/inlet/show.rs b/implementations/rust/ockam/ockam_command/src/kafka/inlet/show.rs index 368876f4784..99b13d9d3e4 100644 --- a/implementations/rust/ockam/ockam_command/src/kafka/inlet/show.rs +++ b/implementations/rust/ockam/ockam_command/src/kafka/inlet/show.rs @@ -58,7 +58,7 @@ impl<'a> ShowTui<'a> { } #[async_trait] -impl<'a> ShowCommandTui for ShowTui<'a> { +impl ShowCommandTui for ShowTui<'_> { const ITEM_NAME: PluralTerm = PluralTerm::KafkaInlet; fn cmd_arg_item_name(&self) -> Option { diff --git a/implementations/rust/ockam/ockam_command/src/kafka/outlet/show.rs b/implementations/rust/ockam/ockam_command/src/kafka/outlet/show.rs index 8cb6fd97321..5cfada97d32 100644 --- a/implementations/rust/ockam/ockam_command/src/kafka/outlet/show.rs +++ b/implementations/rust/ockam/ockam_command/src/kafka/outlet/show.rs @@ -58,7 +58,7 @@ impl<'a> ShowTui<'a> { } #[async_trait] -impl<'a> ShowCommandTui for ShowTui<'a> { +impl ShowCommandTui for ShowTui<'_> { const ITEM_NAME: PluralTerm = PluralTerm::KafkaOutlet; fn cmd_arg_item_name(&self) -> Option { diff --git a/implementations/rust/ockam/ockam_command/src/space/show.rs b/implementations/rust/ockam/ockam_command/src/space/show.rs index 9b64ff5a19d..25944e3b1d7 100644 --- a/implementations/rust/ockam/ockam_command/src/space/show.rs +++ b/implementations/rust/ockam/ockam_command/src/space/show.rs @@ -67,7 +67,7 @@ impl<'a> ShowTui<'a> { } #[ockam_core::async_trait] -impl<'a> ShowCommandTui for ShowTui<'a> { +impl ShowCommandTui for ShowTui<'_> { const ITEM_NAME: PluralTerm = PluralTerm::Space; fn cmd_arg_item_name(&self) -> Option { diff --git a/implementations/rust/ockam/ockam_core/src/api.rs b/implementations/rust/ockam/ockam_core/src/api.rs index 8818d621deb..911e55c54f9 100644 --- a/implementations/rust/ockam/ockam_core/src/api.rs +++ b/implementations/rust/ockam/ockam_core/src/api.rs @@ -1158,7 +1158,7 @@ mod tests { assert_eq!(decoded_person, Some(person)); } - /// HELPERS + // HELPERS #[derive(Debug, Clone, Eq, PartialEq, Encode, Decode, CborLen, Message)] struct Person { diff --git a/implementations/rust/ockam/ockam_core/src/cbor/cow_bytes.rs b/implementations/rust/ockam/ockam_core/src/cbor/cow_bytes.rs index d2efb7ee8e8..741c64347f6 100644 --- a/implementations/rust/ockam/ockam_core/src/cbor/cow_bytes.rs +++ b/implementations/rust/ockam/ockam_core/src/cbor/cow_bytes.rs @@ -72,7 +72,7 @@ impl<'a> From> for Cow<'a, [u8]> { } } -impl<'a> Deref for CowBytes<'a> { +impl Deref for CowBytes<'_> { type Target = [u8]; fn deref(&self) -> &Self::Target { diff --git a/implementations/rust/ockam/ockam_core/src/cbor/cow_str.rs b/implementations/rust/ockam/ockam_core/src/cbor/cow_str.rs index c78bae45e39..89d2dc69ee5 100644 --- a/implementations/rust/ockam/ockam_core/src/cbor/cow_str.rs +++ b/implementations/rust/ockam/ockam_core/src/cbor/cow_str.rs @@ -75,7 +75,7 @@ impl<'a> From> for Cow<'a, str> { } } -impl<'a> Deref for CowStr<'a> { +impl Deref for CowStr<'_> { type Target = str; fn deref(&self) -> &Self::Target { @@ -83,19 +83,19 @@ impl<'a> Deref for CowStr<'a> { } } -impl<'a> Display for CowStr<'a> { +impl Display for CowStr<'_> { fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { self.0.fmt(f) } } -impl<'a, S: ?Sized + AsRef> PartialEq for CowStr<'a> { +impl> PartialEq for CowStr<'_> { fn eq(&self, other: &S) -> bool { self.0 == other.as_ref() } } -impl<'a> AsRef for CowStr<'a> { +impl AsRef for CowStr<'_> { fn as_ref(&self) -> &str { self.0.as_ref() } diff --git a/implementations/rust/ockam/ockam_core/src/env/from_string.rs b/implementations/rust/ockam/ockam_core/src/env/from_string.rs index d7f1041361a..4be78bd15a6 100644 --- a/implementations/rust/ockam/ockam_core/src/env/from_string.rs +++ b/implementations/rust/ockam/ockam_core/src/env/from_string.rs @@ -14,7 +14,7 @@ pub trait FromString: Sized { fn from_string(s: &str) -> Result; } -/// Instances +// Instances impl FromString for Option { fn from_string(s: &str) -> Result { diff --git a/implementations/rust/ockam/ockam_core/src/hex_encoding.rs b/implementations/rust/ockam/ockam_core/src/hex_encoding.rs index 9b52aa059ce..f2871d303e2 100644 --- a/implementations/rust/ockam/ockam_core/src/hex_encoding.rs +++ b/implementations/rust/ockam/ockam_core/src/hex_encoding.rs @@ -30,7 +30,7 @@ where match hex::decode(value.as_bytes()) { Ok(decoded) => Ok(decoded), Err(_) => { - return Err(serde::de::Error::invalid_value( + Err(serde::de::Error::invalid_value( Unexpected::Other("invalid hex"), &self, )) diff --git a/implementations/rust/ockam/ockam_executor/src/channel.rs b/implementations/rust/ockam/ockam_executor/src/channel.rs index 5f59e537f5d..d87266621dc 100644 --- a/implementations/rust/ockam/ockam_executor/src/channel.rs +++ b/implementations/rust/ockam/ockam_executor/src/channel.rs @@ -104,7 +104,7 @@ pub struct SendFuture<'a, T> { value: Option, } -impl<'a, T> Future for SendFuture<'a, T> { +impl Future for SendFuture<'_, T> { type Output = Result<(), error::SendError>; fn poll(mut self: Pin<&mut Self>, context: &mut Context<'_>) -> Poll { @@ -133,7 +133,7 @@ impl<'a, T> Future for SendFuture<'a, T> { } } -impl<'a, T> Unpin for SendFuture<'a, T> {} +impl Unpin for SendFuture<'_, T> {} /// Receiver pub struct Receiver(Arc>); @@ -158,7 +158,7 @@ pub struct ReceiveFuture<'a, T> { inner: &'a Inner, } -impl<'a, T> Future for ReceiveFuture<'a, T> { +impl Future for ReceiveFuture<'_, T> { type Output = Option; fn poll(self: Pin<&mut Self>, context: &mut Context<'_>) -> Poll { diff --git a/implementations/rust/ockam/ockam_executor/src/executor.rs b/implementations/rust/ockam/ockam_executor/src/executor.rs index e14f97fcda1..d64913267d0 100644 --- a/implementations/rust/ockam/ockam_executor/src/executor.rs +++ b/implementations/rust/ockam/ockam_executor/src/executor.rs @@ -41,7 +41,7 @@ pub struct Executor<'a> { marker: core::marker::PhantomData<&'a ()>, } -impl<'a> Executor<'a> { +impl Executor<'_> { pub fn new() -> Self { Self { tasks: UnsafeCell::new(BTreeMap::new()), @@ -168,7 +168,7 @@ impl<'a> Executor<'a> { } } -impl<'a> Default for Executor<'a> { +impl Default for Executor<'_> { fn default() -> Self { Self::new() } @@ -271,7 +271,7 @@ struct TaskWaker<'a> { marker: core::marker::PhantomData<&'a ()>, } -impl<'a> TaskWaker<'a> { +impl TaskWaker<'_> { fn new(task_id: TaskId, task_queue: Arc>) -> Waker { Waker::from(Arc::new(TaskWaker { task_id, @@ -285,7 +285,7 @@ impl<'a> TaskWaker<'a> { } } -impl<'a> Wake for TaskWaker<'a> { +impl Wake for TaskWaker<'_> { fn wake(self: Arc) { self.reschedule_task(); } diff --git a/implementations/rust/ockam/ockam_identity/src/identities/identities_attributes.rs b/implementations/rust/ockam/ockam_identity/src/identities/identities_attributes.rs index 9df0859face..d2f7cdafaea 100644 --- a/implementations/rust/ockam/ockam_identity/src/identities/identities_attributes.rs +++ b/implementations/rust/ockam/ockam_identity/src/identities/identities_attributes.rs @@ -93,7 +93,7 @@ mod tests { Ok(()) } - /// HELPERS + // HELPERS async fn create_attributes_entry( identifier: &Identifier, now: TimestampInSeconds, diff --git a/implementations/rust/ockam/ockam_identity/src/identities/storage/change_history_repository_sql.rs b/implementations/rust/ockam/ockam_identity/src/identities/storage/change_history_repository_sql.rs index 1ea8ed0ce4c..87003aafb86 100644 --- a/implementations/rust/ockam/ockam_identity/src/identities/storage/change_history_repository_sql.rs +++ b/implementations/rust/ockam/ockam_identity/src/identities/storage/change_history_repository_sql.rs @@ -310,7 +310,7 @@ mod tests { Ok(()) } - /// HELPERS + // HELPERS async fn create_identity() -> Result { let identities = identities().await?; let identifier = identities.identities_creation().create_identity().await?; diff --git a/implementations/rust/ockam/ockam_identity/src/identities/storage/identity_attributes_repository_sql.rs b/implementations/rust/ockam/ockam_identity/src/identities/storage/identity_attributes_repository_sql.rs index 56e4299f9f9..bba5b50509c 100644 --- a/implementations/rust/ockam/ockam_identity/src/identities/storage/identity_attributes_repository_sql.rs +++ b/implementations/rust/ockam/ockam_identity/src/identities/storage/identity_attributes_repository_sql.rs @@ -268,7 +268,7 @@ mod tests { .await } - /// HELPERS + // HELPERS async fn create_attributes_entry( identifier: &Identifier, now: TimestampInSeconds, diff --git a/implementations/rust/ockam/ockam_identity/src/models/credential_and_purpose_key.rs b/implementations/rust/ockam/ockam_identity/src/models/credential_and_purpose_key.rs index e2f4744d90a..b9890c6fbb2 100644 --- a/implementations/rust/ockam/ockam_identity/src/models/credential_and_purpose_key.rs +++ b/implementations/rust/ockam/ockam_identity/src/models/credential_and_purpose_key.rs @@ -99,7 +99,7 @@ mod tests { Ok(()) } - /// HELPERS + // HELPERS async fn create_credential() -> Result { let identities = identities().await?; let issuer = identities.identities_creation().create_identity().await?; diff --git a/implementations/rust/ockam/ockam_identity/src/purpose_keys/storage/purpose_keys_repository_sql.rs b/implementations/rust/ockam/ockam_identity/src/purpose_keys/storage/purpose_keys_repository_sql.rs index a2db9b6d4b5..03641afa127 100644 --- a/implementations/rust/ockam/ockam_identity/src/purpose_keys/storage/purpose_keys_repository_sql.rs +++ b/implementations/rust/ockam/ockam_identity/src/purpose_keys/storage/purpose_keys_repository_sql.rs @@ -212,7 +212,7 @@ mod tests { Ok(()) } - /// HELPERS + // HELPERS async fn create_repository() -> Result> { Ok(Arc::new(PurposeKeysSqlxDatabase::create().await?)) } diff --git a/implementations/rust/ockam/ockam_macros/src/internals/symbol.rs b/implementations/rust/ockam/ockam_macros/src/internals/symbol.rs index f666af63b2e..f4d7759b6b4 100644 --- a/implementations/rust/ockam/ockam_macros/src/internals/symbol.rs +++ b/implementations/rust/ockam/ockam_macros/src/internals/symbol.rs @@ -20,7 +20,7 @@ impl PartialEq for Ident { } } -impl<'a> PartialEq for &'a Ident { +impl PartialEq for &Ident { fn eq(&self, word: &Symbol) -> bool { *self == word.0 } @@ -32,7 +32,7 @@ impl PartialEq for Path { } } -impl<'a> PartialEq for &'a Path { +impl PartialEq for &Path { fn eq(&self, word: &Symbol) -> bool { self.is_ident(word.0) } diff --git a/implementations/rust/ockam/ockam_multiaddr/src/lib.rs b/implementations/rust/ockam/ockam_multiaddr/src/lib.rs index 2f4d5007fdf..ea0a28cb8e3 100644 --- a/implementations/rust/ockam/ockam_multiaddr/src/lib.rs +++ b/implementations/rust/ockam/ockam_multiaddr/src/lib.rs @@ -222,7 +222,7 @@ impl<'a> ProtoValue<'a> { } } -impl<'a> AsRef<[u8]> for ProtoValue<'a> { +impl AsRef<[u8]> for ProtoValue<'_> { fn as_ref(&self) -> &[u8] { &self.data() } diff --git a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/migration_support/migrator.rs b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/migration_support/migrator.rs index 7d62c7a2d65..6eb0bd19905 100644 --- a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/migration_support/migrator.rs +++ b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/migration_support/migrator.rs @@ -236,9 +236,9 @@ impl Migrator { } } - async fn needs_sql_migration<'a>( + async fn needs_sql_migration( &self, - migration: &'a SqlxMigration, + migration: &SqlxMigration, _connection: &mut AnyConnection, applied_migrations: &[AppliedMigration], ) -> Result { @@ -266,9 +266,9 @@ impl Migrator { } } - async fn apply_sql_migration<'a>( + async fn apply_sql_migration( &self, - migration: &'a SqlxMigration, + migration: &SqlxMigration, connection: &mut AnyConnection, applied_migrations: &[AppliedMigration], ) -> Result { @@ -308,9 +308,9 @@ impl Migrator { } } - async fn needs_rust_migration<'a>( + async fn needs_rust_migration( &self, - migration: &'a dyn RustMigration, + migration: &dyn RustMigration, connection: &mut AnyConnection, _applied_migrations: &[AppliedMigration], ) -> Result { diff --git a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/postgres/migration_20250116100000_sqlite_initialization.rs b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/postgres/migration_20250116100000_sqlite_initialization.rs index 9fc1bd5b1aa..57fe3ef8a4d 100644 --- a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/postgres/migration_20250116100000_sqlite_initialization.rs +++ b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/postgres/migration_20250116100000_sqlite_initialization.rs @@ -393,7 +393,7 @@ mod test { Ok(()) } - /// HELPERS + // HELPERS async fn insert_aead_secrets(sqlite_database: SqlxDatabase) -> Result<()> { for index in &["1", "2"] { let q = format!( diff --git a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20231231100000_node_name_identity_attributes.rs b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20231231100000_node_name_identity_attributes.rs index 8110cf04e1c..5ca8fca747b 100644 --- a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20231231100000_node_name_identity_attributes.rs +++ b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20231231100000_node_name_identity_attributes.rs @@ -192,7 +192,7 @@ mod test { Ok(()) } - /// HELPERS + // HELPERS fn create_attributes(identifier: &str) -> Result> { ockam_core::cbor_encode_preallocate(BTreeMap::from([ ("name".as_bytes().to_vec(), identifier.as_bytes().to_vec()), diff --git a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240111100001_add_authority_tables.rs b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240111100001_add_authority_tables.rs index 70c4a44e045..6383ca6156b 100644 --- a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240111100001_add_authority_tables.rs +++ b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240111100001_add_authority_tables.rs @@ -204,7 +204,7 @@ mod test { Ok(()) } - /// HELPERS + // HELPERS fn create_attributes(attributes: Vec<(Vec, Vec)>) -> Result> { let map: BTreeMap, Vec> = attributes.into_iter().collect(); ockam_core::cbor_encode_preallocate(map) diff --git a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240111100002_delete_trust_context.rs b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240111100002_delete_trust_context.rs index 09a80234040..ad9e3626919 100644 --- a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240111100002_delete_trust_context.rs +++ b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240111100002_delete_trust_context.rs @@ -307,7 +307,7 @@ mod test { Ok(()) } - /// HELPERS + // HELPERS fn insert_policy( resource: String, action: String, diff --git a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240212100000_split_policies.rs b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240212100000_split_policies.rs index 598ab2f3dfc..90277608be9 100644 --- a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240212100000_split_policies.rs +++ b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240212100000_split_policies.rs @@ -177,7 +177,7 @@ mod test { node_name: String, } - /// HELPERS + // HELPERS fn insert_policy(resource: &str) -> Query { let action = "handle_message"; let expression = random_string(); diff --git a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240313100000_remove_orphan_resources.rs b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240313100000_remove_orphan_resources.rs index 8be5c4f1cc3..df5095d6b96 100644 --- a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240313100000_remove_orphan_resources.rs +++ b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240313100000_remove_orphan_resources.rs @@ -166,7 +166,7 @@ mod test { Ok(()) } - /// HELPERS + // HELPERS fn insert_resource<'a>( resource: &'a str, node_name: &'a str, diff --git a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240503100000_update_policy_expressions.rs b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240503100000_update_policy_expressions.rs index 94bdd0e2ce2..8887fc5fd6b 100644 --- a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240503100000_update_policy_expressions.rs +++ b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20240503100000_update_policy_expressions.rs @@ -133,7 +133,7 @@ mod test { node_name: String, } - /// HELPERS + // HELPERS fn insert_resource_policy(resource: &str) -> Query<'_, Any, AnyArguments<'_>> { let action = "handle_message"; let expression = "subject.has_credential"; diff --git a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20250114100000_members_authority_id.rs b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20250114100000_members_authority_id.rs index 575ebb0b80a..77d3ddc3ba8 100644 --- a/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20250114100000_members_authority_id.rs +++ b/implementations/rust/ockam/ockam_node/src/storage/database/migrations/node_migrations/rust/sqlite/migration_20250114100000_members_authority_id.rs @@ -124,7 +124,7 @@ mod test { Ok(()) } - /// HELPERS + // HELPERS fn insert_member(identifier: &str) -> Query<'_, Any, AnyArguments<'_>> { query("INSERT INTO authority_member (identifier, added_by, added_at, is_pre_trusted, attributes) VALUES ($1, $2, $3, $4, $5)") .bind(identifier) diff --git a/implementations/rust/ockam/ockam_node/src/storage/database/sqlx_database.rs b/implementations/rust/ockam/ockam_node/src/storage/database/sqlx_database.rs index a59303a352f..dd03f062104 100644 --- a/implementations/rust/ockam/ockam_node/src/storage/database/sqlx_database.rs +++ b/implementations/rust/ockam/ockam_node/src/storage/database/sqlx_database.rs @@ -718,7 +718,7 @@ pub mod tests { Ok(()) } - /// HELPERS + // HELPERS async fn insert_identity(db: &SqlxDatabase) -> Result { sqlx::query("INSERT INTO named_identity (identifier, name, vault_name, is_default) VALUES ($1, $2, $3, $4)") .bind("Ifa804b7fca12a19eed206ae180b5b576860ae651") diff --git a/implementations/rust/ockam/ockam_transport_ble/src/driver/stream.rs b/implementations/rust/ockam/ockam_transport_ble/src/driver/stream.rs index b0a9b02f4e3..8159c34d6c8 100644 --- a/implementations/rust/ockam/ockam_transport_ble/src/driver/stream.rs +++ b/implementations/rust/ockam/ockam_transport_ble/src/driver/stream.rs @@ -54,7 +54,7 @@ where (*guard).write(buffer).await } - async fn poll<'a, 'b>(&'a self, buffer: &'b mut [u8]) -> Result> { + async fn poll<'a>(&self, buffer: &'a mut [u8]) -> Result> { let mut guard = self.inner.lock().await; (*guard).poll(buffer).await } @@ -83,10 +83,7 @@ impl Source where A: BleStreamDriver + Send, { - pub async fn poll<'a, 'b>( - &'a self, - buffer: &'b mut [u8], - ) -> Result> { + pub async fn poll<'a>(&self, buffer: &'a mut [u8]) -> Result> { self.inner.poll(buffer).await } } diff --git a/implementations/rust/ockam/ockam_transport_core/src/transport.rs b/implementations/rust/ockam/ockam_transport_core/src/transport.rs index 6a1963c5b86..4c4109cb97f 100644 --- a/implementations/rust/ockam/ockam_transport_core/src/transport.rs +++ b/implementations/rust/ockam/ockam_transport_core/src/transport.rs @@ -6,13 +6,12 @@ use std::any::Any; #[cfg(feature = "std")] use std::sync::Arc; +pub const MAXIMUM_MESSAGE_LENGTH: usize = u16::MAX as usize; + /// Generic representation of a Transport /// At minimum, a Transport must be able /// - return its type /// - instantiate workers for all the addresses with that transport type in a Route - -pub const MAXIMUM_MESSAGE_LENGTH: usize = u16::MAX as usize; - #[async_trait] pub trait Transport: Send + Sync + 'static { /// Return the type of the Transport diff --git a/implementations/rust/ockam/ockam_transport_udp/src/workers/pending_messages/mod.rs b/implementations/rust/ockam/ockam_transport_udp/src/workers/pending_messages/mod.rs index 94964357fdf..aab3f875455 100644 --- a/implementations/rust/ockam/ockam_transport_udp/src/workers/pending_messages/mod.rs +++ b/implementations/rust/ockam/ockam_transport_udp/src/workers/pending_messages/mod.rs @@ -114,7 +114,7 @@ mod tests { Ok(()) } - impl<'a> UdpTransportMessage<'a> { + impl UdpTransportMessage<'_> { pub fn into_owned(self) -> UdpTransportMessage<'static> { UdpTransportMessage { version: self.version, diff --git a/implementations/rust/ockam/ockam_vault/src/storage/secrets_repository_sql.rs b/implementations/rust/ockam/ockam_vault/src/storage/secrets_repository_sql.rs index ed128aa40a8..67597f7c7af 100644 --- a/implementations/rust/ockam/ockam_vault/src/storage/secrets_repository_sql.rs +++ b/implementations/rust/ockam/ockam_vault/src/storage/secrets_repository_sql.rs @@ -481,7 +481,7 @@ mod test { Ok(()) } - /// HELPERS + // HELPERS async fn create_repository() -> Result> { Ok(Arc::new(SecretsSqlxDatabase::create().await?)) }