diff --git a/Cargo.lock b/Cargo.lock index 1a99490a..35dea075 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -33,18 +33,6 @@ dependencies = [ "generic-array", ] -[[package]] -name = "aes" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" -dependencies = [ - "cfg-if", - "cipher 0.3.0", - "cpufeatures", - "opaque-debug", -] - [[package]] name = "aes" version = "0.8.4" @@ -52,7 +40,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", - "cipher 0.4.4", + "cipher", "cpufeatures", ] @@ -63,8 +51,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" dependencies = [ "aead", - "aes 0.8.4", - "cipher 0.4.4", + "aes", + "cipher", "ctr", "ghash", "subtle", @@ -76,7 +64,7 @@ version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom", + "getrandom 0.2.15", "once_cell", "version_check", ] @@ -164,11 +152,12 @@ 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", ] @@ -178,6 +167,12 @@ version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" +[[package]] +name = "arbitrary" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223" + [[package]] name = "arc-swap" version = "1.7.1" @@ -208,43 +203,62 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] -name = "async-channel" -version = "1.9.0" +name = "ascii-canvas" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" +checksum = "8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6" dependencies = [ - "concurrent-queue", - "event-listener 2.5.3", - "futures-core", + "term", ] [[package]] -name = "async-io" -version = "1.13.0" +name = "asn1-rs" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" +checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048" dependencies = [ - "async-lock 2.8.0", - "autocfg", - "cfg-if", - "concurrent-queue", - "futures-lite", - "log", - "parking", - "polling", - "rustix 0.37.28", - "slab", - "socket2 0.4.10", - "waker-fn", + "asn1-rs-derive", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror 1.0.69", + "time", ] [[package]] -name = "async-lock" -version = "2.8.0" +name = "asn1-rs-derive" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.98", + "synstructure", +] + +[[package]] +name = "asn1-rs-impl" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.98", +] + +[[package]] +name = "async-channel" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" +checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" dependencies = [ + "concurrent-queue", "event-listener 2.5.3", + "futures-core", ] [[package]] @@ -260,13 +274,13 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.85" +version = "0.1.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f934833b4b7233644e5848f235df3f57ed8c80f1528a26c3dfa13d2147fa056" +checksum = "644dd749086bf3771a2fbc5f256fdb982d53f011c7d5d560304eafeecebce79d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -297,7 +311,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b62ddb9cb1ec0a098ad4bbf9344d0713fa193ae1a80af55febcff2627b6a00c1" dependencies = [ "futures-core", - "getrandom", + "getrandom 0.2.15", "instant", "pin-project-lite", "rand", @@ -361,6 +375,12 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" +[[package]] +name = "beef" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" + [[package]] name = "bincode" version = "1.3.3" @@ -400,7 +420,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b30ed1d6f8437a487a266c8293aeb95b61a23261273e3e02912cdb8b68bf798b" dependencies = [ "bs58", - "hmac 0.12.1", + "hmac", "k256 0.11.6", "once_cell", "pbkdf2", @@ -411,6 +431,21 @@ dependencies = [ "zeroize", ] +[[package]] +name = "bit-set" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + [[package]] name = "bitflags" version = "1.3.2" @@ -419,9 +454,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" [[package]] name = "bitvec" @@ -462,27 +497,11 @@ dependencies = [ "generic-array", ] -[[package]] -name = "block-modes" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cb03d1bed155d89dce0f845b7899b18a9a163e148fd004e1c28421a783e2d8e" -dependencies = [ - "block-padding", - "cipher 0.3.0", -] - -[[package]] -name = "block-padding" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" - [[package]] name = "borsh" -version = "1.5.3" +version = "1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2506947f73ad44e344215ccd6403ac2ae18cd8e046e581a441bf8d199f257f03" +checksum = "5430e3be710b68d984d1391c854eb431a9d548640711faa54eecb1df93db91cc" dependencies = [ "borsh-derive", "cfg_aliases", @@ -490,15 +509,15 @@ dependencies = [ [[package]] name = "borsh-derive" -version = "1.5.3" +version = "1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2593a3b8b938bd68373196c9832f516be11fa487ef4ae745eb282e6a56a7244" +checksum = "f8b668d39970baad5356d7c83a86fee3a539e6f93bf6764c97368243e17a0487" dependencies = [ "once_cell", - "proc-macro-crate 3.2.0", + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -571,9 +590,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 = "by_address" @@ -621,9 +640,21 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" +checksum = "f61dac84819c6588b558454b194026eb1f09c293b9036ae9b159e74e73ab6cf9" + +[[package]] +name = "cached" +version = "0.49.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e8e463fceca5674287f32d252fb1d94083758b8709c160efae66d263e5f4eba" +dependencies = [ + "hashbrown 0.14.5", + "instant", + "once_cell", + "thiserror 1.0.69", +] [[package]] name = "cached" @@ -649,9 +680,9 @@ dependencies = [ [[package]] name = "candid" -version = "0.10.11" +version = "0.10.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d04aa85a9ba2542bded33d1eff0ffb17cb98b1be8117e0a25e1ad8c62bedc881" +checksum = "a253bab4a9be502c82332b60cbeee6202ad0692834efeec95fae9f29db33d692" dependencies = [ "anyhow", "binread", @@ -670,6 +701,15 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "candid-utils" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "candid", + "candid_parser", +] + [[package]] name = "candid_derive" version = "0.6.6" @@ -679,7 +719,26 @@ dependencies = [ "lazy_static", "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", +] + +[[package]] +name = "candid_parser" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48a3da76f989cd350b7342c64c6c6008341bb6186f6832ef04e56dc50ba0fd76" +dependencies = [ + "anyhow", + "candid", + "codespan-reporting", + "convert_case 0.6.0", + "hex", + "lalrpop", + "lalrpop-util", + "logos", + "num-bigint 0.4.6", + "pretty", + "thiserror 1.0.69", ] [[package]] @@ -706,9 +765,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.7" +version = "1.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a012a0df96dd6d06ba9a1b29d6402d1a5d77c6befd2566afdc26e10603dc93d7" +checksum = "e4730490333d58093109dc02c23174c3f4d490998c3fed3cc8e82d57afedb9cf" dependencies = [ "jobserver", "libc", @@ -767,15 +826,6 @@ dependencies = [ "half 2.4.1", ] -[[package]] -name = "cipher" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" -dependencies = [ - "generic-array", -] - [[package]] name = "cipher" version = "0.4.4" @@ -788,9 +838,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.26" +version = "4.5.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8eb5e908ef3a6efbe1ed62520fb7287959888c88485abe072543190ecc66783" +checksum = "3e77c3243bd94243c03672cb5154667347c457ca271254724f9f393aee1c05ff" dependencies = [ "clap_builder", "clap_derive", @@ -798,9 +848,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.26" +version = "4.5.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b01801b5fc6a0a232407abc821660c9c6d25a1cafc0d4f85f29fb8d9afc121" +checksum = "1b26884eb4b57140e4d2d93652abfa49498b938b3c9179f9fc487b0acc3edad7" dependencies = [ "anstream", "anstyle", @@ -810,14 +860,14 @@ dependencies = [ [[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]] @@ -828,13 +878,23 @@ checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" [[package]] name = "cmake" -version = "0.1.52" +version = "0.1.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c682c223677e0e5b6b7f63a64b9351844c3f1b1678a68b7ee617e30fb082620e" +checksum = "e24a03c8b52922d68a1589ad61032f2c1aa5a8158d2aa0d93c6e9534944bbad6" dependencies = [ "cc", ] +[[package]] +name = "codespan-reporting" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" +dependencies = [ + "termcolor", + "unicode-width 0.1.14", +] + [[package]] name = "colorchoice" version = "1.0.3" @@ -957,9 +1017,9 @@ dependencies = [ [[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", ] @@ -990,9 +1050,9 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crunchy" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" [[package]] name = "crypto-bigint" @@ -1029,23 +1089,13 @@ dependencies = [ "typenum", ] -[[package]] -name = "crypto-mac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" -dependencies = [ - "generic-array", - "subtle", -] - [[package]] name = "ctr" version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" dependencies = [ - "cipher 0.4.4", + "cipher", ] [[package]] @@ -1074,7 +1124,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -1102,7 +1152,7 @@ dependencies = [ [[package]] name = "cycles-minting-canister" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "base64 0.13.1", @@ -1120,6 +1170,7 @@ dependencies = [ "ic-ledger-core", "ic-management-canister-types", "ic-metrics-encoder", + "ic-nervous-system-clients", "ic-nervous-system-common", "ic-nervous-system-common-build-metadata", "ic-nervous-system-governance", @@ -1183,9 +1234,34 @@ checksum = "04d2cd9c18b9f454ed67da600630b021a8a80bf33f8c95896ab33aaf1c26b728" [[package]] name = "data-encoding" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" +checksum = "0e60eed09d8c01d3cee5b7d30acb059b76614c918fa0f992e0dd6eeb10daad6f" + +[[package]] +name = "dbus" +version = "0.9.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bb21987b9fb1613058ba3843121dd18b163b254d8a6e797e144cbac14d96d1b" +dependencies = [ + "libc", + "libdbus-sys", + "winapi", +] + +[[package]] +name = "dbus-secret-service" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42a16374481d92aed73ae45b1f120207d8e71d24fb89f357fadbd8f946fd84b" +dependencies = [ + "dbus", + "futures-util", + "num", + "once_cell", + "openssl", + "rand", +] [[package]] name = "der" @@ -1210,43 +1286,46 @@ dependencies = [ ] [[package]] -name = "deranged" -version = "0.3.11" +name = "der-parser" +version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" dependencies = [ - "powerfmt", - "serde", + "asn1-rs", + "displaydoc", + "nom", + "num-bigint 0.4.6", + "num-traits", + "rusticata-macros", ] [[package]] -name = "derivative" -version = "2.2.0" +name = "deranged" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", + "powerfmt", + "serde", ] [[package]] name = "derive_more" -version = "0.99.18" +version = "0.99.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" +checksum = "3da29a38df43d6f156149c9b43ded5e018ddff2a855cf2cfd62e8cd7d079c69f" dependencies = [ "convert_case 0.4.0", "proc-macro2", "quote", "rustc_version", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] name = "dfn_candid" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "dfn_core", @@ -1258,7 +1337,7 @@ dependencies = [ [[package]] name = "dfn_core" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-base-types", "on_wire", @@ -1267,7 +1346,7 @@ dependencies = [ [[package]] name = "dfn_http" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "dfn_candid", @@ -1279,7 +1358,7 @@ dependencies = [ [[package]] name = "dfn_http_metrics" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "dfn_candid", "dfn_core", @@ -1292,7 +1371,7 @@ dependencies = [ [[package]] name = "dfn_protobuf" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "on_wire", "prost", @@ -1300,9 +1379,9 @@ dependencies = [ [[package]] name = "dfx-core" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d4c1fc71b04f661131afa7bc99056c73f4e4018923dd3eedbca246a1e9bfdec" +checksum = "b4be4fc6929580b0ef8ac3678c03f31b59ffb1aa0d90ab754842d40cfc5b4552" dependencies = [ "aes-gcm", "argon2", @@ -1321,7 +1400,7 @@ dependencies = [ "humantime-serde", "ic-agent", "ic-identity-hsm", - "ic-utils 0.39.2", + "ic-utils 0.39.3", "itertools 0.10.5", "k256 0.11.6", "keyring", @@ -1449,7 +1528,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -1466,9 +1545,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" @@ -1585,6 +1664,15 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ena" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d248bdd43ce613d87415282f69b9bb99d947d290b10962dd6c56233312c2ad5" +dependencies = [ + "log", +] + [[package]] name = "encode_unicode" version = "1.0.0" @@ -1600,27 +1688,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "enumflags2" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c8d82922337cd23a15f88b70d8e4ef5f11da38dd7cdb55e84dd5de99695da0" -dependencies = [ - "enumflags2_derive", - "serde", -] - -[[package]] -name = "enumflags2_derive" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -1679,21 +1746,25 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - [[package]] name = "fastrand" version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" +[[package]] +name = "fe-derive" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "hex", + "num-bigint-dig", + "num-traits", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "ff" version = "0.12.1" @@ -1757,7 +1828,7 @@ checksum = "2cd66269887534af4b0c3e3337404591daa8dc8b9b2b3db71f9523beb4bafb41" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -1850,21 +1921,6 @@ version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" -[[package]] -name = "futures-lite" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" -dependencies = [ - "fastrand 1.9.0", - "futures-core", - "futures-io", - "memchr", - "parking", - "pin-project-lite", - "waker-fn", -] - [[package]] name = "futures-macro" version = "0.3.31" @@ -1873,7 +1929,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -1926,10 +1982,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" @@ -1997,7 +2065,7 @@ dependencies = [ "futures-sink", "futures-util", "http 0.2.12", - "indexmap 2.7.0", + "indexmap 2.7.1", "slab", "tokio", "tokio-util", @@ -2016,7 +2084,7 @@ dependencies = [ "futures-core", "futures-sink", "http 1.2.0", - "indexmap 2.7.0", + "indexmap 2.7.1", "slab", "tokio", "tokio-util", @@ -2094,12 +2162,6 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" -[[package]] -name = "hermit-abi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" - [[package]] name = "hermit-abi" version = "0.4.0" @@ -2116,14 +2178,10 @@ dependencies = [ ] [[package]] -name = "hkdf" -version = "0.11.0" +name = "hex-literal" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01706d578d5c281058480e673ae4086a9f4710d8df1ad80a5b03e39ece5f886b" -dependencies = [ - "digest 0.9.0", - "hmac 0.11.0", -] +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "hkdf" @@ -2131,17 +2189,7 @@ version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" dependencies = [ - "hmac 0.12.1", -] - -[[package]] -name = "hmac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" -dependencies = [ - "crypto-mac", - "digest 0.9.0", + "hmac", ] [[package]] @@ -2211,9 +2259,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" @@ -2254,7 +2302,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.5.8", + "socket2", "tokio", "tower-service", "tracing", @@ -2263,9 +2311,9 @@ dependencies = [ [[package]] name = "hyper" -version = "1.5.2" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0" +checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" dependencies = [ "bytes", "futures-channel", @@ -2319,15 +2367,15 @@ checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" dependencies = [ "futures-util", "http 1.2.0", - "hyper 1.5.2", + "hyper 1.6.0", "hyper-util", - "rustls 0.23.20", + "rustls 0.23.22", "rustls-native-certs 0.8.1", "rustls-pki-types", "tokio", "tokio-rustls 0.26.1", "tower-service", - "webpki-roots 0.26.7", + "webpki-roots 0.26.8", ] [[package]] @@ -2354,9 +2402,9 @@ dependencies = [ "futures-util", "http 1.2.0", "http-body 1.0.1", - "hyper 1.5.2", + "hyper 1.6.0", "pin-project-lite", - "socket2 0.5.8", + "socket2", "tokio", "tower-service", "tracing", @@ -2387,17 +2435,17 @@ dependencies = [ [[package]] name = "ic-agent" -version = "0.39.2" +version = "0.39.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba408987ca48fc3eee6a613e760d076a9046cccbbb5ba29efbada339ab28ed9" +checksum = "820d65a05258f2fdff326c65561b1ddc7ec54e5d43a4b1203b25eb83075c83d4" dependencies = [ "arc-swap", "async-channel", - "async-lock 3.4.0", + "async-lock", "async-trait", "async-watch", "backoff", - "cached", + "cached 0.52.0", "candid", "der 0.7.9", "ecdsa 0.16.9", @@ -2408,7 +2456,7 @@ dependencies = [ "http 1.2.0", "http-body 1.0.1", "ic-certification 3.0.2", - "ic-transport-types 0.39.2", + "ic-transport-types 0.39.3", "ic-verify-bls-signature", "k256 0.13.4", "leb128", @@ -2427,7 +2475,7 @@ dependencies = [ "sha2 0.10.8", "simple_asn1", "stop-token", - "thiserror 2.0.10", + "thiserror 2.0.11", "time", "tokio", "tower-service", @@ -2437,7 +2485,7 @@ dependencies = [ [[package]] name = "ic-base-types" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "byte-unit", "bytes", @@ -2467,7 +2515,7 @@ dependencies = [ [[package]] name = "ic-btc-replica-types" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "ic-btc-interface", @@ -2480,7 +2528,7 @@ dependencies = [ [[package]] name = "ic-canister-client-sender" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-base-types", "ic-crypto-ed25519", @@ -2493,7 +2541,7 @@ dependencies = [ [[package]] name = "ic-canister-log" version = "0.2.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "serde", ] @@ -2501,7 +2549,7 @@ dependencies = [ [[package]] name = "ic-canister-profiler" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-metrics-encoder", "ic0 0.18.11", @@ -2510,7 +2558,7 @@ dependencies = [ [[package]] name = "ic-canisters-http-types" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "dfn_candid", @@ -2583,7 +2631,7 @@ dependencies = [ "quote", "serde", "serde_tokenstream 0.2.2", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -2638,7 +2686,7 @@ dependencies = [ [[package]] name = "ic-config" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-base-types", "ic-protobuf", @@ -2653,37 +2701,183 @@ dependencies = [ [[package]] name = "ic-crypto-ed25519" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "curve25519-dalek", "ed25519-dalek", - "hkdf 0.12.4", + "hkdf", "pem 1.1.1", "rand", - "thiserror 2.0.10", + "thiserror 2.0.11", + "zeroize", +] + +[[package]] +name = "ic-crypto-getrandom-for-wasm" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "getrandom 0.2.15", +] + +[[package]] +name = "ic-crypto-internal-basic-sig-der-utils" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "hex", + "ic-types", + "simple_asn1", +] + +[[package]] +name = "ic-crypto-internal-basic-sig-ed25519" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "base64 0.13.1", + "curve25519-dalek", + "hex", + "ic-crypto-ed25519", + "ic-crypto-internal-basic-sig-der-utils", + "ic-crypto-internal-seed", + "ic-crypto-internal-types", + "ic-crypto-secrets-containers", + "ic-protobuf", + "ic-types", + "rand", + "rand_chacha", + "serde", + "simple_asn1", + "zeroize", +] + +[[package]] +name = "ic-crypto-internal-bls12-381-type" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "hex", + "ic_bls12_381", + "itertools 0.12.1", + "lazy_static", + "pairing", + "paste", + "rand", + "rand_chacha", + "sha2 0.10.8", + "subtle", + "zeroize", +] + +[[package]] +name = "ic-crypto-internal-hmac" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "ic-crypto-internal-sha2", +] + +[[package]] +name = "ic-crypto-internal-multi-sig-bls12381" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "base64 0.13.1", + "hex", + "ic-crypto-internal-bls12-381-type", + "ic-crypto-internal-types", + "ic-crypto-secrets-containers", + "ic-crypto-sha2", + "ic-protobuf", + "ic-types", + "rand", + "rand_chacha", + "serde", + "zeroize", +] + +[[package]] +name = "ic-crypto-internal-seed" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "hex", + "ic-crypto-sha2", + "rand", + "rand_chacha", + "serde", + "zeroize", +] + +[[package]] +name = "ic-crypto-internal-sha2" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "sha2 0.10.8", +] + +[[package]] +name = "ic-crypto-internal-threshold-sig-bls12381" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "base64 0.13.1", + "cached 0.49.3", + "hex", + "ic-crypto-internal-bls12-381-type", + "ic-crypto-internal-seed", + "ic-crypto-internal-types", + "ic-crypto-secrets-containers", + "ic-crypto-sha2", + "ic-types", + "lazy_static", + "parking_lot", + "rand", + "rand_chacha", + "serde", + "serde_bytes", + "serde_cbor", + "strum_macros", + "subtle", "zeroize", ] [[package]] -name = "ic-crypto-getrandom-for-wasm" -version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" -dependencies = [ - "getrandom", -] - -[[package]] -name = "ic-crypto-internal-sha2" +name = "ic-crypto-internal-threshold-sig-canister-threshold-sig" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ - "sha2 0.10.8", + "curve25519-dalek", + "fe-derive", + "group 0.13.0", + "hex", + "hex-literal", + "ic-crypto-internal-hmac", + "ic-crypto-internal-seed", + "ic-crypto-internal-types", + "ic-crypto-secrets-containers", + "ic-crypto-sha2", + "ic-types", + "k256 0.13.4", + "lazy_static", + "p256", + "paste", + "rand", + "serde", + "serde_bytes", + "serde_cbor", + "strum", + "strum_macros", + "subtle", + "zeroize", ] [[package]] name = "ic-crypto-internal-types" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "arrayvec 0.7.6", "hex", @@ -2693,16 +2887,34 @@ dependencies = [ "serde_cbor", "strum", "strum_macros", - "thiserror 2.0.10", + "thiserror 2.0.11", "zeroize", ] +[[package]] +name = "ic-crypto-node-key-validation" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "hex", + "ic-base-types", + "ic-crypto-internal-basic-sig-ed25519", + "ic-crypto-internal-multi-sig-bls12381", + "ic-crypto-internal-threshold-sig-bls12381", + "ic-crypto-internal-threshold-sig-canister-threshold-sig", + "ic-crypto-internal-types", + "ic-crypto-tls-cert-validation", + "ic-protobuf", + "ic-types", + "serde", +] + [[package]] name = "ic-crypto-secp256k1" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ - "hmac 0.12.1", + "hmac", "k256 0.13.4", "lazy_static", "num-bigint 0.4.6", @@ -2714,31 +2926,73 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ic-crypto-secrets-containers" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "serde", + "zeroize", +] + [[package]] name = "ic-crypto-sha2" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-crypto-internal-sha2", ] +[[package]] +name = "ic-crypto-tls-cert-validation" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "hex", + "ic-crypto-internal-basic-sig-ed25519", + "ic-protobuf", + "ic-types", + "serde", + "x509-parser", +] + [[package]] name = "ic-crypto-tree-hash" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-crypto-internal-types", "ic-crypto-sha2", "ic-protobuf", "serde", "serde_bytes", - "thiserror 2.0.10", + "thiserror 2.0.11", +] + +[[package]] +name = "ic-crypto-utils-basic-sig" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "ic-base-types", + "ic-crypto-ed25519", + "ic-protobuf", +] + +[[package]] +name = "ic-crypto-utils-ni-dkg" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "ic-crypto-internal-types", + "ic-protobuf", + "ic-types", ] [[package]] name = "ic-error-types" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-protobuf", "ic-utils 0.9.0", @@ -2750,7 +3004,7 @@ dependencies = [ [[package]] name = "ic-http-utils" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "flate2", "hex", @@ -2767,7 +3021,7 @@ dependencies = [ [[package]] name = "ic-icp-index" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "ciborium", @@ -2795,7 +3049,7 @@ dependencies = [ [[package]] name = "ic-icrc1" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "ciborium", @@ -2811,13 +3065,13 @@ dependencies = [ "num-traits", "serde", "serde_bytes", - "thiserror 2.0.10", + "thiserror 2.0.11", ] [[package]] name = "ic-icrc1-index-ng" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "ciborium", @@ -2845,7 +3099,7 @@ dependencies = [ [[package]] name = "ic-icrc1-ledger" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "candid", @@ -2877,7 +3131,7 @@ dependencies = [ [[package]] name = "ic-icrc1-tokens-u64" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "ic-ledger-core", @@ -2889,22 +3143,22 @@ dependencies = [ [[package]] name = "ic-identity-hsm" -version = "0.39.2" +version = "0.39.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ebb94d7cb5be09bed47655008f0c2968a3a3253dcf680297f3e8475e4b317c4" +checksum = "e294ee038eb647cd9cce78b5961533be7f883494e6ea1faece52459bce2d29e9" dependencies = [ "hex", "ic-agent", "pkcs11", "sha2 0.10.8", "simple_asn1", - "thiserror 2.0.10", + "thiserror 2.0.11", ] [[package]] name = "ic-ledger-canister-core" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "candid", @@ -2921,7 +3175,7 @@ dependencies = [ [[package]] name = "ic-ledger-core" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "ic-ledger-hash-of", @@ -2935,7 +3189,7 @@ dependencies = [ [[package]] name = "ic-ledger-hash-of" version = "0.1.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "hex", @@ -2945,12 +3199,12 @@ dependencies = [ [[package]] name = "ic-limits" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" [[package]] name = "ic-logger" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "chrono", "ic-config", @@ -2967,7 +3221,7 @@ dependencies = [ [[package]] name = "ic-management-canister-types" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "ic-base-types", @@ -2993,31 +3247,35 @@ checksum = "8b5c7628eac357aecda461130f8074468be5aa4d258a002032d82d817f79f1f8" [[package]] name = "ic-nervous-system-agent" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "anyhow", "candid", + "cycles-minting-canister", "ic-agent", "ic-base-types", "ic-nervous-system-clients", "ic-nns-common", "ic-nns-constants", "ic-nns-governance-api", - "ic-sns-governance", + "ic-sns-governance-api", "ic-sns-root", "ic-sns-swap", "ic-sns-wasm", - "pocket-ic 6.0.0 (git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb)", + "itertools 0.12.1", + "pocket-ic 6.0.0 (git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f)", + "registry-canister", "serde", + "serde_cbor", "tempfile", - "thiserror 2.0.10", + "thiserror 2.0.11", "tokio", ] [[package]] name = "ic-nervous-system-canisters" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "candid", @@ -3034,7 +3292,7 @@ dependencies = [ [[package]] name = "ic-nervous-system-clients" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "candid", @@ -3057,12 +3315,12 @@ dependencies = [ [[package]] name = "ic-nervous-system-collections-union-multi-map" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" [[package]] name = "ic-nervous-system-common" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "base64 0.13.1", @@ -3097,12 +3355,12 @@ dependencies = [ [[package]] name = "ic-nervous-system-common-build-metadata" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" [[package]] name = "ic-nervous-system-common-test-keys" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-base-types", "ic-canister-client-sender", @@ -3115,12 +3373,12 @@ dependencies = [ [[package]] name = "ic-nervous-system-common-validation" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" [[package]] name = "ic-nervous-system-governance" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-base-types", "ic-stable-structures", @@ -3132,7 +3390,7 @@ dependencies = [ [[package]] name = "ic-nervous-system-humanize" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "humantime", "ic-nervous-system-proto", @@ -3144,7 +3402,7 @@ dependencies = [ [[package]] name = "ic-nervous-system-initial-supply" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "candid", @@ -3158,7 +3416,7 @@ dependencies = [ [[package]] name = "ic-nervous-system-linear-map" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "rust_decimal", ] @@ -3166,12 +3424,12 @@ dependencies = [ [[package]] name = "ic-nervous-system-lock" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" [[package]] name = "ic-nervous-system-proto" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "comparable", @@ -3184,7 +3442,7 @@ dependencies = [ [[package]] name = "ic-nervous-system-proxied-canister-calls-tracker" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-base-types", ] @@ -3192,7 +3450,7 @@ dependencies = [ [[package]] name = "ic-nervous-system-root" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "dfn_core", @@ -3208,7 +3466,7 @@ dependencies = [ [[package]] name = "ic-nervous-system-runtime" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "candid", @@ -3218,10 +3476,15 @@ dependencies = [ "ic-cdk 0.16.0", ] +[[package]] +name = "ic-nervous-system-string" +version = "0.0.1" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" + [[package]] name = "ic-nervous-system-timestamp" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "time", ] @@ -3229,7 +3492,7 @@ dependencies = [ [[package]] name = "ic-neurons-fund" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-nervous-system-common", "lazy_static", @@ -3242,7 +3505,7 @@ dependencies = [ [[package]] name = "ic-nns-common" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "comparable", @@ -3268,7 +3531,7 @@ dependencies = [ [[package]] name = "ic-nns-constants" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-base-types", "maplit", @@ -3277,7 +3540,7 @@ dependencies = [ [[package]] name = "ic-nns-governance-api" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "bytes", "candid", @@ -3306,7 +3569,7 @@ dependencies = [ [[package]] name = "ic-nns-handler-root-interface" version = "0.1.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "candid", @@ -3320,7 +3583,7 @@ dependencies = [ [[package]] name = "ic-protobuf" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "bincode", "candid", @@ -3331,10 +3594,21 @@ dependencies = [ "slog", ] +[[package]] +name = "ic-registry-canister-api" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "candid", + "ic-base-types", + "serde", + "thiserror 2.0.11", +] + [[package]] name = "ic-registry-keys" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "ic-base-types", @@ -3343,10 +3617,41 @@ dependencies = [ "serde", ] +[[package]] +name = "ic-registry-node-provider-rewards" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "ic-base-types", + "ic-protobuf", +] + +[[package]] +name = "ic-registry-routing-table" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "candid", + "ic-base-types", + "ic-protobuf", + "serde", +] + +[[package]] +name = "ic-registry-subnet-features" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "candid", + "ic-management-canister-types", + "ic-protobuf", + "serde", +] + [[package]] name = "ic-registry-subnet-type" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "ic-protobuf", @@ -3358,7 +3663,7 @@ dependencies = [ [[package]] name = "ic-registry-transport" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "ic-base-types", @@ -3370,17 +3675,21 @@ dependencies = [ [[package]] name = "ic-sns-cli" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "anyhow", "base64 0.13.1", "candid", + "candid-utils", "clap", + "cycles-minting-canister", + "dfx-core", "futures", "hex", "ic-agent", "ic-base-types", "ic-crypto-sha2", + "ic-management-canister-types", "ic-nervous-system-agent", "ic-nervous-system-common", "ic-nervous-system-common-test-keys", @@ -3389,25 +3698,28 @@ dependencies = [ "ic-nns-common", "ic-nns-constants", "ic-nns-governance-api", - "ic-sns-governance", + "ic-sns-governance-api", "ic-sns-init", "ic-sns-root", "ic-sns-wasm", + "ic-wasm", "itertools 0.12.1", "json-patch", "pretty_assertions", "serde", + "serde_cbor", "serde_json", "serde_yaml", "tempfile", - "thiserror 2.0.10", + "thiserror 2.0.11", "tokio", + "url", ] [[package]] name = "ic-sns-governance" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "base64 0.13.1", @@ -3464,6 +3776,7 @@ dependencies = [ "rust_decimal_macros", "serde", "serde_bytes", + "serde_json", "strum", "strum_macros", ] @@ -3471,7 +3784,7 @@ dependencies = [ [[package]] name = "ic-sns-governance-api" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "bytes", "candid", @@ -3495,7 +3808,7 @@ dependencies = [ [[package]] name = "ic-sns-governance-proposal-criticality" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-nervous-system-proto", ] @@ -3503,7 +3816,7 @@ dependencies = [ [[package]] name = "ic-sns-governance-proposals-amount-total-limit" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-sns-governance-token-valuation", "num-traits", @@ -3514,7 +3827,7 @@ dependencies = [ [[package]] name = "ic-sns-governance-token-valuation" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "candid", @@ -3536,7 +3849,7 @@ dependencies = [ [[package]] name = "ic-sns-init" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "base64 0.13.1", "candid", @@ -3564,7 +3877,7 @@ dependencies = [ [[package]] name = "ic-sns-root" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "build-info", @@ -3595,7 +3908,7 @@ dependencies = [ [[package]] name = "ic-sns-swap" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "build-info", @@ -3635,7 +3948,7 @@ dependencies = [ [[package]] name = "ic-sns-swap-proto-library" version = "0.0.1" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "comparable", @@ -3650,16 +3963,14 @@ dependencies = [ [[package]] name = "ic-sns-wasm" version = "1.0.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "candid", - "dfn_candid", - "dfn_core", - "dfn_http_metrics", "futures", "hex", "ic-base-types", + "ic-canisters-http-types", "ic-cdk 0.16.0", "ic-crypto-sha2", "ic-management-canister-types", @@ -3696,18 +4007,18 @@ dependencies = [ [[package]] name = "ic-sys" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "cvt", "hex", "ic-crypto-sha2", "lazy_static", "libc", - "nix 0.24.3", + "nix", "phantom_newtype", "prost", "rand", - "thiserror 2.0.10", + "thiserror 2.0.11", "tokio", "wsl", ] @@ -3731,9 +4042,9 @@ dependencies = [ [[package]] name = "ic-transport-types" -version = "0.39.2" +version = "0.39.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21e2418868dd5857d2a5bac3f1cb6de1aecf2316d380997ef842aec3d8a79d4e" +checksum = "979ee7bee5a67150a4c090fb012c93c294a528b4a867bad9a15cc6d01cb4227f" dependencies = [ "candid", "hex", @@ -3744,13 +4055,13 @@ dependencies = [ "serde_cbor", "serde_repr", "sha2 0.10.8", - "thiserror 2.0.10", + "thiserror 2.0.11", ] [[package]] name = "ic-types" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "base64 0.13.1", "bincode", @@ -3780,14 +4091,14 @@ dependencies = [ "serde_with", "strum", "strum_macros", - "thiserror 2.0.10", + "thiserror 2.0.11", "thousands", ] [[package]] name = "ic-utils" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "hex", "scoped_threadpool", @@ -3797,9 +4108,9 @@ dependencies = [ [[package]] name = "ic-utils" -version = "0.39.2" +version = "0.39.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fb9c35ef4976a71d37f3ebf73ee43bb52b360be60d91d3a77f74fbc875dda4" +checksum = "cd4274ab690a646a4fb4105428617e9c622255903aad34183bdc892ad8a7cc48" dependencies = [ "async-trait", "candid", @@ -3812,7 +4123,7 @@ dependencies = [ "sha2 0.10.8", "strum", "strum_macros", - "thiserror 2.0.10", + "thiserror 2.0.11", "time", "tokio", ] @@ -3820,7 +4131,7 @@ dependencies = [ [[package]] name = "ic-validate-eq" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "ic-validate-eq-derive", ] @@ -3828,7 +4139,7 @@ dependencies = [ [[package]] name = "ic-validate-eq-derive" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "proc-macro2", "quote", @@ -3906,6 +4217,7 @@ dependencies = [ "pairing", "rand_core", "subtle", + "zeroize", ] [[package]] @@ -3914,6 +4226,7 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1762deb6f7c8d8c2bdee4b6c5a47b60195b74e9b5280faa5ba29692f8e17429c" dependencies = [ + "arbitrary", "crc32fast", "data-encoding", "serde", @@ -3924,7 +4237,7 @@ dependencies = [ [[package]] name = "icp-ledger" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "comparable", @@ -3954,7 +4267,7 @@ dependencies = [ [[package]] name = "icrc-cbor" version = "0.1.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "minicbor", @@ -3965,7 +4278,7 @@ dependencies = [ [[package]] name = "icrc-ledger-client" version = "0.1.2" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "async-trait", "candid", @@ -3975,8 +4288,8 @@ dependencies = [ [[package]] name = "icrc-ledger-types" -version = "0.1.7" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +version = "0.1.8" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "base32", "candid", @@ -4111,7 +4424,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -4159,9 +4472,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", @@ -4186,32 +4499,21 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "io-lifetimes" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" -dependencies = [ - "hermit-abi 0.3.9", - "libc", - "windows-sys 0.48.0", -] - [[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-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 0.4.0", + "hermit-abi", "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -4239,6 +4541,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.12.1" @@ -4274,9 +4585,9 @@ dependencies = [ [[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", @@ -4342,14 +4653,49 @@ dependencies = [ [[package]] name = "keyring" -version = "1.2.1" +version = "3.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba264b266563c1363dcce004776cbf198d7422a4262f77f4ca285bf26ae30955" +checksum = "2f8fe839464d4e4b37d756d7e910063696af79a7e877282cb1825e4ec5f10833" dependencies = [ "byteorder", - "secret-service", + "dbus-secret-service", + "linux-keyutils", + "log", + "openssl", "security-framework 2.11.1", - "winapi", + "security-framework 3.2.0", + "windows-sys 0.59.0", +] + +[[package]] +name = "lalrpop" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55cb077ad656299f160924eb2912aa147d7339ea7d69e1b5517326fdcec3c1ca" +dependencies = [ + "ascii-canvas", + "bit-set", + "ena", + "itertools 0.11.0", + "lalrpop-util", + "petgraph", + "pico-args", + "regex", + "regex-syntax 0.8.5", + "string_cache", + "term", + "tiny-keccak", + "unicode-xid", + "walkdir", +] + +[[package]] +name = "lalrpop-util" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "507460a910eb7b32ee961886ff48539633b788a36b65692b95f225b844c82553" +dependencies = [ + "regex-automata 0.4.9", ] [[package]] @@ -4357,6 +4703,9 @@ name = "lazy_static" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +dependencies = [ + "spin 0.9.8", +] [[package]] name = "leb128" @@ -4370,6 +4719,16 @@ version = "0.2.169" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" +[[package]] +name = "libdbus-sys" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06085512b750d640299b79be4bad3d2fa90a9c00b1fd9e1b46364f66f0485c72" +dependencies = [ + "cc", + "pkg-config", +] + [[package]] name = "libflate" version = "2.1.0" @@ -4416,7 +4775,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "libc", "redox_syscall", ] @@ -4432,10 +4791,14 @@ dependencies = [ ] [[package]] -name = "linux-raw-sys" -version = "0.3.8" +name = "linux-keyutils" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" +checksum = "761e49ec5fd8a5a463f9b84e877c373d888935b71c6be78f3767fe2ae6bed18e" +dependencies = [ + "bitflags 2.8.0", + "libc", +] [[package]] name = "linux-raw-sys" @@ -4461,9 +4824,41 @@ dependencies = [ [[package]] name = "log" -version = "0.4.22" +version = "0.4.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f" + +[[package]] +name = "logos" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c000ca4d908ff18ac99b93a062cb8958d331c3220719c52e77cb19cc6ac5d2c1" +dependencies = [ + "logos-derive", +] + +[[package]] +name = "logos-codegen" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc487311295e0002e452025d6b580b77bb17286de87b57138f3b5db711cded68" +dependencies = [ + "beef", + "fnv", + "proc-macro2", + "quote", + "regex-syntax 0.6.29", + "syn 2.0.98", +] + +[[package]] +name = "logos-derive" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +checksum = "dbfc0d229f1f42d790440136d941afd806bc9e949e2bcb8faa813b0f00d1267e" +dependencies = [ + "logos-codegen", +] [[package]] name = "lzma-sys" @@ -4554,11 +4949,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + [[package]] name = "miniz_oxide" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394" +checksum = "b8402cab7aefae129c6977bb0ff1b8fd9a04eb5b51efc50a70bea51cda0c7924" dependencies = [ "adler2", ] @@ -4570,7 +4971,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ "libc", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", ] @@ -4597,7 +4998,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -4608,9 +5009,9 @@ checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03" [[package]] name = "native-tls" -version = "0.2.12" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" +checksum = "0dab59f8e050d5df8e4dd87d9206fb6f65a483e20ac9fda365ade4fab353196c" dependencies = [ "libc", "log", @@ -4624,27 +5025,10 @@ dependencies = [ ] [[package]] -name = "nb-connect" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1bb540dc6ef51cfe1916ec038ce7a620daf3a111e2502d745197cd53d6bca15" -dependencies = [ - "libc", - "socket2 0.4.10", -] - -[[package]] -name = "nix" -version = "0.22.3" +name = "new_debug_unreachable" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4916f159ed8e5de0082076562152a76b7a1f64a01fd9d1e0fea002c37624faf" -dependencies = [ - "bitflags 1.3.2", - "cc", - "cfg-if", - "libc", - "memoffset", -] +checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" [[package]] name = "nix" @@ -4678,7 +5062,7 @@ dependencies = [ "ic-icrc1-index-ng", "ic-icrc1-ledger", "ic-sns-cli", - "ic-utils 0.39.2", + "ic-utils 0.39.3", "pocket-ic 6.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "reqwest 0.11.27", "rust_decimal", @@ -4689,6 +5073,16 @@ dependencies = [ "tokio", ] +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + [[package]] name = "nu-ansi-term" version = "0.46.0" @@ -4735,6 +5129,23 @@ dependencies = [ "serde", ] +[[package]] +name = "num-bigint-dig" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" +dependencies = [ + "byteorder", + "lazy_static", + "libm", + "num-integer", + "num-iter", + "num-traits", + "rand", + "serde", + "smallvec", +] + [[package]] name = "num-complex" version = "0.4.6" @@ -4792,18 +5203,27 @@ dependencies = [ ] [[package]] -name = "object" -version = "0.36.7" +name = "object" +version = "0.36.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" +dependencies = [ + "memchr", +] + +[[package]] +name = "oid-registry" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" +checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9" dependencies = [ - "memchr", + "asn1-rs", ] [[package]] name = "on_wire" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" [[package]] name = "once_cell" @@ -4819,11 +5239,11 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "openssl" -version = "0.10.68" +version = "0.10.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5" +checksum = "61cfb4e166a8bb8c9b55c500bc2308550148ece889be90f609377e58140f42c6" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "cfg-if", "foreign-types", "libc", @@ -4840,14 +5260,14 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[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 = "openssl-src" @@ -4860,9 +5280,9 @@ dependencies = [ [[package]] name = "openssl-sys" -version = "0.9.104" +version = "0.9.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" +checksum = "8b22d5b84be05a8d6947c7cb71f7c849aa0f112acd4bf51c2a7c1c988ac0a9dc" dependencies = [ "cc", "libc", @@ -5003,7 +5423,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc" dependencies = [ "memchr", - "thiserror 2.0.10", + "thiserror 2.0.11", "ucd-trie", ] @@ -5027,7 +5447,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -5048,13 +5468,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.7.0", + "indexmap 2.7.1", ] [[package]] name = "phantom_newtype" version = "0.9.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "candid", "num-traits", @@ -5062,6 +5482,21 @@ dependencies = [ "slog", ] +[[package]] +name = "phf_shared" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" +dependencies = [ + "siphasher", +] + +[[package]] +name = "pico-args" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315" + [[package]] name = "pin-project-lite" version = "0.2.16" @@ -5142,14 +5577,14 @@ dependencies = [ [[package]] name = "pocket-ic" version = "6.0.0" -source = "git+https://github.com/dfinity/ic?rev=760e1f764b56f4f655a09789c245da487eccc5cb#760e1f764b56f4f655a09789c245da487eccc5cb" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" dependencies = [ "backoff", "base64 0.13.1", "candid", "hex", "ic-certification 3.0.2", - "ic-transport-types 0.39.2", + "ic-transport-types 0.39.3", "reqwest 0.12.12", "schemars", "serde", @@ -5160,7 +5595,7 @@ dependencies = [ "slog", "strum", "strum_macros", - "thiserror 2.0.10", + "thiserror 2.0.11", "tokio", "tracing", "tracing-appender", @@ -5168,22 +5603,6 @@ dependencies = [ "wslpath", ] -[[package]] -name = "polling" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" -dependencies = [ - "autocfg", - "bitflags 1.3.2", - "cfg-if", - "concurrent-queue", - "libc", - "log", - "pin-project-lite", - "windows-sys 0.48.0", -] - [[package]] name = "polyval" version = "0.6.2" @@ -5211,6 +5630,12 @@ dependencies = [ "zerocopy", ] +[[package]] +name = "precomputed-hash" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" + [[package]] name = "predicates" version = "3.1.3" @@ -5260,12 +5685,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]] @@ -5287,32 +5712,13 @@ dependencies = [ "indexmap 1.9.3", ] -[[package]] -name = "proc-macro-crate" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785" -dependencies = [ - "toml", -] - -[[package]] -name = "proc-macro-crate" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" -dependencies = [ - "once_cell", - "toml_edit 0.19.15", -] - [[package]] name = "proc-macro-crate" version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" dependencies = [ - "toml_edit 0.22.22", + "toml_edit", ] [[package]] @@ -5347,9 +5753,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[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", ] @@ -5380,7 +5786,7 @@ dependencies = [ "prost", "prost-types", "regex", - "syn 2.0.95", + "syn 2.0.98", "tempfile", ] @@ -5394,7 +5800,7 @@ dependencies = [ "itertools 0.13.0", "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -5446,9 +5852,9 @@ dependencies = [ "quinn-proto", "quinn-udp", "rustc-hash 2.1.0", - "rustls 0.23.20", - "socket2 0.5.8", - "thiserror 2.0.10", + "rustls 0.23.22", + "socket2", + "thiserror 2.0.11", "tokio", "tracing", ] @@ -5460,14 +5866,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" dependencies = [ "bytes", - "getrandom", + "getrandom 0.2.15", "rand", "ring 0.17.8", "rustc-hash 2.1.0", - "rustls 0.23.20", + "rustls 0.23.22", "rustls-pki-types", "slab", - "thiserror 2.0.10", + "thiserror 2.0.11", "tinyvec", "tracing", "web-time", @@ -5482,7 +5888,7 @@ dependencies = [ "cfg_aliases", "libc", "once_cell", - "socket2 0.5.8", + "socket2", "tracing", "windows-sys 0.59.0", ] @@ -5529,7 +5935,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.15", ] [[package]] @@ -5544,7 +5950,7 @@ version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", ] [[package]] @@ -5553,7 +5959,7 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom", + "getrandom 0.2.15", "libredox", "thiserror 1.0.69", ] @@ -5602,6 +6008,56 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +[[package]] +name = "registry-canister" +version = "0.9.0" +source = "git+https://github.com/dfinity/ic?rev=2dd2ccee9679aaf23cf57daaa703c46f7962c29f#2dd2ccee9679aaf23cf57daaa703c46f7962c29f" +dependencies = [ + "build-info", + "build-info-build", + "candid", + "dfn_candid", + "dfn_core", + "dfn_http_metrics", + "futures", + "getrandom 0.2.15", + "ic-base-types", + "ic-cdk 0.16.0", + "ic-certified-map", + "ic-crypto-node-key-validation", + "ic-crypto-sha2", + "ic-crypto-utils-basic-sig", + "ic-crypto-utils-ni-dkg", + "ic-management-canister-types", + "ic-metrics-encoder", + "ic-nervous-system-canisters", + "ic-nervous-system-clients", + "ic-nervous-system-common", + "ic-nervous-system-common-build-metadata", + "ic-nervous-system-string", + "ic-nns-common", + "ic-nns-constants", + "ic-protobuf", + "ic-registry-canister-api", + "ic-registry-keys", + "ic-registry-node-provider-rewards", + "ic-registry-routing-table", + "ic-registry-subnet-features", + "ic-registry-subnet-type", + "ic-registry-transport", + "ic-stable-structures", + "ic-types", + "idna", + "ipnet", + "lazy_static", + "leb128", + "maplit", + "on_wire", + "prost", + "serde", + "url", +] + [[package]] name = "rend" version = "0.4.2" @@ -5670,7 +6126,7 @@ dependencies = [ "http 1.2.0", "http-body 1.0.1", "http-body-util", - "hyper 1.5.2", + "hyper 1.6.0", "hyper-rustls 0.27.5", "hyper-util", "ipnet", @@ -5682,7 +6138,7 @@ dependencies = [ "percent-encoding", "pin-project-lite", "quinn", - "rustls 0.23.20", + "rustls 0.23.22", "rustls-native-certs 0.8.1", "rustls-pemfile 2.2.0", "rustls-pki-types", @@ -5701,7 +6157,7 @@ dependencies = [ "wasm-bindgen-futures", "wasm-streams", "web-sys", - "webpki-roots 0.26.7", + "webpki-roots 0.26.8", "windows-registry", ] @@ -5712,7 +6168,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" dependencies = [ "crypto-bigint 0.4.9", - "hmac 0.12.1", + "hmac", "zeroize", ] @@ -5722,7 +6178,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ - "hmac 0.12.1", + "hmac", "subtle", ] @@ -5749,7 +6205,7 @@ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom", + "getrandom 0.2.15", "libc", "spin 0.9.8", "untrusted 0.9.0", @@ -5854,29 +6310,24 @@ dependencies = [ ] [[package]] -name = "rustix" -version = "0.37.28" +name = "rusticata-macros" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "519165d378b97752ca44bbe15047d5d3409e875f39327546b42ac81d7e18c1b6" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", + "nom", ] [[package]] name = "rustix" -version = "0.38.43" +version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a78891ee6bf2340288408954ac787aa063d8e8817e9f53abb37c695c6d834ef6" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "errno", "libc", - "linux-raw-sys 0.4.15", + "linux-raw-sys", "windows-sys 0.59.0", ] @@ -5906,9 +6357,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.20" +version = "0.23.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" +checksum = "9fb9263ab4eb695e42321db096e3b8fbd715a59b154d5c88d82db2175b681ba7" dependencies = [ "once_cell", "ring 0.17.8", @@ -5962,9 +6413,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", ] @@ -5998,9 +6449,18 @@ checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" [[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" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] [[package]] name = "schannel" @@ -6032,15 +6492,9 @@ dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.95", + "syn 2.0.98", ] -[[package]] -name = "scoped-tls" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" - [[package]] name = "scoped_threadpool" version = "0.1.9" @@ -6097,33 +6551,13 @@ dependencies = [ "zeroize", ] -[[package]] -name = "secret-service" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1da5c423b8783185fd3fecd1c8796c267d2c089d894ce5a93c280a5d3f780a2" -dependencies = [ - "aes 0.7.5", - "block-modes", - "hkdf 0.11.0", - "lazy_static", - "num", - "rand", - "serde", - "sha2 0.9.9", - "zbus", - "zbus_macros", - "zvariant", - "zvariant_derive", -] - [[package]] name = "security-framework" 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", @@ -6136,7 +6570,7 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "271720403f46ca04f7ba6f55d438f8bd878d6b8ca0a1046e8228c4145bcbb316" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "core-foundation 0.10.0", "core-foundation-sys", "libc", @@ -6155,9 +6589,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" dependencies = [ "serde", ] @@ -6198,7 +6632,7 @@ checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -6209,14 +6643,14 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] name = "serde_json" -version = "1.0.135" +version = "1.0.138" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b0d7ba2887406110130a978386c4e1befb98c674b4fba677954e4db976630d9" +checksum = "d434192e7da787e94a6ea7e9670b26a036d0ca41e0b7efb2676dd32bae872949" dependencies = [ "itoa", "memchr", @@ -6232,7 +6666,7 @@ checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -6255,7 +6689,7 @@ dependencies = [ "proc-macro2", "quote", "serde", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -6298,7 +6732,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", @@ -6397,16 +6831,22 @@ checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" [[package]] name = "simple_asn1" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" +checksum = "297f631f50729c8c99b84667867963997ec0b50f32b2a7dbcab828ef0541e8bb" dependencies = [ "num-bigint 0.4.6", "num-traits", - "thiserror 1.0.69", + "thiserror 2.0.11", "time", ] +[[package]] +name = "siphasher" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" + [[package]] name = "slab" version = "0.4.9" @@ -6507,16 +6947,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "socket2" version = "0.5.8" @@ -6578,12 +7008,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - [[package]] name = "stop-token" version = "0.7.0" @@ -6596,6 +7020,18 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "string_cache" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "938d512196766101d333398efde81bc1f37b00cb42c2f8350e5df639f040bbbe" +dependencies = [ + "new_debug_unreachable", + "parking_lot", + "phf_shared", + "precomputed-hash", +] + [[package]] name = "strsim" version = "0.10.0" @@ -6627,7 +7063,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -6655,9 +7091,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", @@ -6687,7 +7123,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -6736,15 +7172,15 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.15.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704" +checksum = "38c246215d7d24f48ae091a2902398798e05d978b24315d6efbc00ede9a8bb91" dependencies = [ "cfg-if", - "fastrand 2.3.0", - "getrandom", + "fastrand", + "getrandom 0.3.1", "once_cell", - "rustix 0.38.43", + "rustix", "windows-sys 0.59.0", ] @@ -6759,6 +7195,15 @@ dependencies = [ "winapi", ] +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + [[package]] name = "termtree" version = "0.5.1" @@ -6776,11 +7221,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.10" +version = "2.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3ac7f54ca534db81081ef1c1e7f6ea8a3ef428d2fc069097c079443d24124d3" +checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" dependencies = [ - "thiserror-impl 2.0.10", + "thiserror-impl 2.0.11", ] [[package]] @@ -6791,18 +7236,18 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] name = "thiserror-impl" -version = "2.0.10" +version = "2.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e9465d30713b56a37ede7185763c3492a91be2f5fa68d958c44e41ab9248beb" +checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -6859,7 +7304,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" dependencies = [ "anyhow", - "hmac 0.12.1", + "hmac", "once_cell", "pbkdf2", "rand", @@ -6871,6 +7316,15 @@ dependencies = [ "zeroize", ] +[[package]] +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + [[package]] name = "tinystr" version = "0.7.6" @@ -6909,7 +7363,7 @@ dependencies = [ "parking_lot", "pin-project-lite", "signal-hook-registry", - "socket2 0.5.8", + "socket2", "tokio-macros", "windows-sys 0.52.0", ] @@ -6922,7 +7376,7 @@ checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -6962,7 +7416,7 @@ version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" dependencies = [ - "rustls 0.23.20", + "rustls 0.23.22", "tokio", ] @@ -6991,15 +7445,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", -] - [[package]] name = "toml_datetime" version = "0.6.8" @@ -7008,24 +7453,13 @@ checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" [[package]] name = "toml_edit" -version = "0.19.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" -dependencies = [ - "indexmap 2.7.0", - "toml_datetime", - "winnow 0.5.40", -] - -[[package]] -name = "toml_edit" -version = "0.22.22" +version = "0.22.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" +checksum = "02a8b472d1a3d7c18e2d61a489aee3453fd9031c33e4f55bd533f4a7adca1bee" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.7.1", "toml_datetime", - "winnow 0.6.22", + "winnow", ] [[package]] @@ -7086,7 +7520,7 @@ checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -7183,9 +7617,9 @@ checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" [[package]] name = "unicode-ident" -version = "1.0.14" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" [[package]] name = "unicode-normalization" @@ -7214,6 +7648,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + [[package]] name = "universal-hash" version = "0.5.1" @@ -7280,15 +7720,15 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.11.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" +checksum = "b3758f5e68192bb96cc8f9b7e2c2cfdabb435499a28499a42f8f984092adad4b" [[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 = "vcpkg" @@ -7303,10 +7743,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] -name = "waker-fn" -version = "1.2.0" +name = "walkdir" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] [[package]] name = "walrus" @@ -7351,36 +7795,46 @@ 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 = "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", @@ -7391,9 +7845,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", @@ -7401,22 +7855,25 @@ 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" @@ -7447,18 +7904,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d28bc49ba1e5c5b61ffa7a2eace10820443c4b7d1c0b144109261d14570fdf8" dependencies = [ "ahash 0.8.11", - "bitflags 2.6.0", + "bitflags 2.8.0", "hashbrown 0.14.5", - "indexmap 2.7.0", + "indexmap 2.7.1", "semver", "serde", ] [[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", @@ -7501,9 +7958,9 @@ checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "webpki-roots" -version = "0.26.7" +version = "0.26.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d642ff16b7e79272ae451b7322067cdc17cadf68c23264be9d94a32319efe7e" +checksum = "2210b291f7ea53617fbafcc4939f10914214ec15aace5ba62293a668f322c5c9" dependencies = [ "rustls-pki-types", ] @@ -7524,6 +7981,15 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +[[package]] +name = "winapi-util" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +dependencies = [ + "windows-sys 0.59.0", +] + [[package]] name = "winapi-x86_64-pc-windows-gnu" version = "0.4.0" @@ -7719,18 +8185,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" -dependencies = [ - "memchr", -] - -[[package]] -name = "winnow" -version = "0.6.22" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39281189af81c07ec09db316b302a3e67bf9bd7cbf6c820b50e35fee9c2fa980" +checksum = "86e376c75f4f43f44db463cf729e0d3acbf954d13e22c51e26e4c264b4ab545f" dependencies = [ "memchr", ] @@ -7745,6 +8202,15 @@ dependencies = [ "windows-sys 0.48.0", ] +[[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" @@ -7778,6 +8244,23 @@ dependencies = [ "tap", ] +[[package]] +name = "x509-parser" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" +dependencies = [ + "asn1-rs", + "data-encoding", + "der-parser", + "lazy_static", + "nom", + "oid-registry", + "rusticata-macros", + "thiserror 1.0.69", + "time", +] + [[package]] name = "xattr" version = "1.4.0" @@ -7785,8 +8268,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e105d177a3871454f754b33bb0ee637ecaaac997446375fd3e5d43a2ed00c909" dependencies = [ "libc", - "linux-raw-sys 0.4.15", - "rustix 0.38.43", + "linux-raw-sys", + "rustix", ] [[package]] @@ -7830,45 +8313,10 @@ checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", "synstructure", ] -[[package]] -name = "zbus" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cbeb2291cd7267a94489b71376eda33496c1b9881adf6b36f26cc2779f3fc49" -dependencies = [ - "async-io", - "byteorder", - "derivative", - "enumflags2", - "fastrand 1.9.0", - "futures", - "nb-connect", - "nix 0.22.3", - "once_cell", - "polling", - "scoped-tls", - "serde", - "serde_repr", - "zbus_macros", - "zvariant", -] - -[[package]] -name = "zbus_macros" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa3959a7847cf95e3d51e312856617c5b1b77191176c65a79a5f14d778bbe0a6" -dependencies = [ - "proc-macro-crate 0.1.5", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "zerocopy" version = "0.7.35" @@ -7887,7 +8335,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -7907,7 +8355,7 @@ checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", "synstructure", ] @@ -7928,7 +8376,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -7950,7 +8398,7 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.95", + "syn 2.0.98", ] [[package]] @@ -7980,29 +8428,3 @@ dependencies = [ "cc", "pkg-config", ] - -[[package]] -name = "zvariant" -version = "2.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a68c7b55f2074489b7e8e07d2d0a6ee6b4f233867a653c664d8020ba53692525" -dependencies = [ - "byteorder", - "enumflags2", - "libc", - "serde", - "static_assertions", - "zvariant_derive", -] - -[[package]] -name = "zvariant_derive" -version = "2.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4ca5e22593eb4212382d60d26350065bf2a02c34b85bc850474a74b589a3de9" -dependencies = [ - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] diff --git a/Cargo.toml b/Cargo.toml index 51924549..e5bf510d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,11 +35,11 @@ slog = "^2.7.0" tempfile = "3.12.0" tokio = { version = "^1.36.0", features = ["rt-multi-thread"] } url = "^2.4.1" -ic-http-utils = { git = "https://github.com/dfinity/ic", rev = "760e1f764b56f4f655a09789c245da487eccc5cb" } -ic-icp-index = { git = "https://github.com/dfinity/ic", rev = "760e1f764b56f4f655a09789c245da487eccc5cb" } -ic-icrc1-index-ng = { git = "https://github.com/dfinity/ic", rev = "760e1f764b56f4f655a09789c245da487eccc5cb" } -ic-icrc1-ledger = { git = "https://github.com/dfinity/ic", rev = "760e1f764b56f4f655a09789c245da487eccc5cb" } -ic-sns-cli = { git = "https://github.com/dfinity/ic", rev = "760e1f764b56f4f655a09789c245da487eccc5cb" } +ic-http-utils = { git = "https://github.com/dfinity/ic", rev = "2dd2ccee9679aaf23cf57daaa703c46f7962c29f" } +ic-icp-index = { git = "https://github.com/dfinity/ic", rev = "2dd2ccee9679aaf23cf57daaa703c46f7962c29f" } +ic-icrc1-index-ng = { git = "https://github.com/dfinity/ic", rev = "2dd2ccee9679aaf23cf57daaa703c46f7962c29f" } +ic-icrc1-ledger = { git = "https://github.com/dfinity/ic", rev = "2dd2ccee9679aaf23cf57daaa703c46f7962c29f" } +ic-sns-cli = { git = "https://github.com/dfinity/ic", rev = "2dd2ccee9679aaf23cf57daaa703c46f7962c29f" } serde_json = "1.0.79" # Config for 'cargo dist' diff --git a/extensions/sns/CHANGELOG.md b/extensions/sns/CHANGELOG.md index 6a4b3258..63760c08 100644 --- a/extensions/sns/CHANGELOG.md +++ b/extensions/sns/CHANGELOG.md @@ -2,8 +2,7 @@ ## [Unreleased] - ReleaseDate - Improved the behavior of SNS Testflight. There is currently an incompatibilty between the `sns-init.yaml` format and SNS Testflight. [Refer to this forum post](https://forum.dfinity.org/t/error-when-deploying-sns-testflight-to-mainnet/38282/6?u=andre-popovitch) for more information and workarounds. - -## [0.4.8] - 2024-12-16 +- Added `UpgradeSnsControlledCanister` command ## [0.4.7] - 2024-11-08 - Fixed a bug where `dfx sns import` would fail if a canister type in dfx.json was defined by an extension. diff --git a/extensions/sns/e2e/tests/sns.bash b/extensions/sns/e2e/tests/sns.bash index 6ed1d77c..2fa797ae 100755 --- a/extensions/sns/e2e/tests/sns.bash +++ b/extensions/sns/e2e/tests/sns.bash @@ -228,9 +228,9 @@ SNS_CONFIG_FILE_NAME="sns_init.yaml" # check the output of a particular case of neuron-id-to-candid-subaccount @test "sns neuron-id-to-candid-subaccount has a reasonable output" { run dfx sns neuron-id-to-candid-subaccount 9f5f9fda77a03e7177126d0be8c99e931a5381731d00da53ede363140e1be5d6 - assert_output 'blob "\9f\5f\9f\da\77\a0\3e\71\77\12\6d\0b\e8\c9\9e\93\1a\53\81\73\1d\00\da\53\ed\e3\63\14\0e\1b\e5\d6"' + assert_output --partial 'blob "\9f\5f\9f\da\77\a0\3e\71\77\12\6d\0b\e8\c9\9e\93\1a\53\81\73\1d\00\da\53\ed\e3\63\14\0e\1b\e5\d6"' } @test "sns neuron-id-to-candid-subaccount --escaped has a reasonable output" { run dfx sns neuron-id-to-candid-subaccount 9f5f9fda77a03e7177126d0be8c99e931a5381731d00da53ede363140e1be5d6 --escaped - assert_output 'blob \"\\9f\\5f\\9f\\da\\77\\a0\\3e\\71\\77\\12\\6d\\0b\\e8\\c9\\9e\\93\\1a\\53\\81\\73\\1d\\00\\da\\53\\ed\\e3\\63\\14\\0e\\1b\\e5\\d6\"' + assert_output --partial 'blob \"\\9f\\5f\\9f\\da\\77\\a0\\3e\\71\\77\\12\\6d\\0b\\e8\\c9\\9e\\93\\1a\\53\\81\\73\\1d\\00\\da\\53\\ed\\e3\\63\\14\\0e\\1b\\e5\\d6\"' } diff --git a/extensions/sns/extension.json b/extensions/sns/extension.json index a5a79270..d5c49a45 100644 --- a/extensions/sns/extension.json +++ b/extensions/sns/extension.json @@ -303,6 +303,54 @@ } }, "subcommands": null + }, + "upgrade-sns-controlled-canister": { + "about": "Uploads a given Wasm to a (newly deployed) store canister and submits a proposal to upgrade using that Wasm", + "args": { + "candid_arg": { + "about": "Upgrade argument for the Candid service", + "long": "candid-arg", + "short": null, + "multiple": false, + "values": 1 + }, + "proposal_url": { + "about": "URL (starting with https://) of a web page with a public announcement of this upgrade", + "long": "proposal-url", + "short": null, + "multiple": false, + "values": 1 + }, + "sns_neuron_id": { + "about": "SNS neuron ID (subaccount) to be used for proposing the upgrade", + "long": "sns-neuron-id", + "short": null, + "multiple": false, + "values": 1 + }, + "summary": { + "about": "Human-readable text explaining why this upgrade is being done (may be markdown)", + "long": "summary", + "short": null, + "multiple": false, + "values": 1 + }, + "target_canister_id": { + "about": "ID of the target canister to be upgraded", + "long": "target-canister-id", + "short": null, + "multiple": false, + "values": 1 + }, + "wasm_path": { + "about": "Path to a ICP WASM module file (may be gzipped)", + "long": "wasm-path", + "short": null, + "multiple": false, + "values": 1 + } + }, + "subcommands": null } }, "dependencies": { diff --git a/extensions/sns/src/main.rs b/extensions/sns/src/main.rs index 12fdcf40..69bce740 100644 --- a/extensions/sns/src/main.rs +++ b/extensions/sns/src/main.rs @@ -11,7 +11,8 @@ use std::path::PathBuf; // #![warn(clippy::missing_docs_in_private_items)] use crate::commands::{download::SnsDownloadOpts, import::SnsImportOpts}; -use clap::Parser; +use clap::{ArgGroup, Args, Parser}; +use ic_agent::Agent; use ic_sns_cli::{ add_sns_wasm_for_tests, deploy_testflight, health::{self, HealthArgs}, @@ -20,10 +21,33 @@ use ic_sns_cli::{ neuron_id_to_candid_subaccount::{self, NeuronIdToCandidSubaccountArgs}, prepare_canisters::{self, PrepareCanistersArgs}, propose::{self, ProposeArgs}, + upgrade_sns_controlled_canister::{self, UpgradeSnsControlledCanisterArgs}, AddSnsWasmForTestsArgs, DeployTestflightArgs, SubCommand as SnsLibSubCommand, }; mod utils; +#[derive(Args, Clone, Debug, Default)] +#[clap( +group(ArgGroup::new("network-select").multiple(false)), +)] +pub struct NetworkOpt { + /// Override the compute network to connect to. By default, the local network is used. + /// A valid URL (starting with `http:` or `https:`) can be used here, and a special + /// ephemeral network will be created specifically for this request. E.g. + /// "http://localhost:12345/" is a valid network name. + #[arg(long, global(true), group = "network-select")] + network: Option, + + /// Shorthand for --network=playground. + /// Borrows short-lived canisters on the real IC network instead of creating normal canisters. + #[clap(long, global(true), group = "network-select")] + playground: bool, + + /// Shorthand for --network=ic. + #[clap(long, global(true), group = "network-select")] + ic: bool, +} + /// Options for `dfx sns`. #[derive(Parser)] #[command(name("sns"))] @@ -36,6 +60,13 @@ pub struct SnsOpts { /// Path to cache of DFX which executed this extension. #[arg(long, env = "DFX_CACHE_PATH", global = true)] dfx_cache_path: Option, + + /// The user identity to run this command as. It contains your principal as well as some things DFX associates with it like the wallet. + #[arg(long, global = true)] + identity: Option, + + #[command(flatten)] + network: NetworkOpt, } /// Initialize, deploy and interact with an SNS. @@ -68,6 +99,9 @@ enum SubCommand { List(ListArgs), /// Report health of SNSes Health(HealthArgs), + /// Uploads a given Wasm to a (newly deployed) store canister and submits a proposal to upgrade + /// using that Wasm. + UpgradeSnsControlledCanister(UpgradeSnsControlledCanisterArgs), /// Subcommand for importing sns API definitions and canister IDs. /// This and `Download` are only useful for SNS testflight @@ -78,6 +112,42 @@ enum SubCommand { Download(SnsDownloadOpts), } +impl NetworkOpt { + pub fn to_network_name(&self) -> Option { + if self.playground { + Some("playground".to_string()) + } else if self.ic { + Some("ic".to_string()) + } else { + self.network.clone() + } + } +} + + +pub async fn agent(network: NetworkOpt, identity: Option) -> anyhow::Result { + let network = match network.to_network_name() { + Some(network) => network, + None => { + eprintln!( + "No network specified. Defaulting to the local network. To connect to the mainnet IC instead, try passing `--network=ic`" + ); + "local".to_string() + } + }; + + match utils::get_agent(&network, identity.clone()).await { + Ok(agent) => Ok(agent), + Err(err) => { + eprintln!("Failed to get agent due to: {err}. \nFalling back to mainnet agent."); + Agent::builder() + .with_url("https://ic0.app/") + .build() + .map_err(|e| anyhow::anyhow!(e)) + } + } +} + /// Executes `dfx sns` and its subcommands. #[tokio::main] async fn main() -> anyhow::Result<()> { @@ -100,6 +170,9 @@ async fn main() -> anyhow::Result<()> { SubCommand::AddSnsWasmForTests(args) => SnsLibSubCommand::AddSnsWasmForTests(args), SubCommand::List(args) => SnsLibSubCommand::List(args), SubCommand::Health(args) => SnsLibSubCommand::Health(args), + SubCommand::UpgradeSnsControlledCanister(args) => { + SnsLibSubCommand::UpgradeSnsControlledCanister(args) + } SubCommand::Import(v) => { let dfx_cache_path = &opts.dfx_cache_path.ok_or_else(|| { @@ -119,8 +192,6 @@ async fn main() -> anyhow::Result<()> { } }; - let agent = utils::get_mainnet_agent()?; - match subcommand { SnsLibSubCommand::DeployTestflight(args) => deploy_testflight(args), SnsLibSubCommand::InitConfigFile(args) => init_config_file::exec(args), @@ -130,13 +201,28 @@ async fn main() -> anyhow::Result<()> { neuron_id_to_candid_subaccount::exec(args) } SnsLibSubCommand::AddSnsWasmForTests(args) => add_sns_wasm_for_tests(args), - SnsLibSubCommand::List(args) => list::exec(args, &agent).await, - SnsLibSubCommand::Health(args) => health::exec(args, &agent).await, + SnsLibSubCommand::List(args) => { + let agent = agent(opts.network, opts.identity).await?; + list::exec(args, &agent).await + } + SnsLibSubCommand::Health(args) => { + let agent = agent(opts.network, opts.identity).await?; + + health::exec(args, &agent).await + } + SnsLibSubCommand::UpgradeSnsControlledCanister(args) => { + let agent = agent(opts.network, opts.identity).await?; + match upgrade_sns_controlled_canister::exec(args, &agent).await { + Ok(_) => Ok(()), + Err(err) => { + anyhow::bail!("{}", err) + } + } + } } } #[test] -#[ignore] // TODO: remove once a dfx-core release containing is merged and this repo is updated to use that version. fn verify_extension_manifest() { let project_root = PathBuf::from(env!("CARGO_MANIFEST_DIR")); println!("Project root: {:?}", project_root); diff --git a/extensions/sns/src/utils.rs b/extensions/sns/src/utils.rs index e161c283..de73304e 100644 --- a/extensions/sns/src/utils.rs +++ b/extensions/sns/src/utils.rs @@ -1,18 +1,38 @@ //! Utility functions for the SNS extension. - -use anyhow::{anyhow, Result}; +use anyhow::{Context, Result}; +use dfx_core::interface::builder::IdentityPicker; +use dfx_core::DfxInterface; use ic_agent::agent::Agent; -/// Gets the agent corresponding to the given IC URL. -fn get_agent(ic_url: &str) -> Result { - Agent::builder() - .with_url(ic_url) - .build() - .map_err(|e| anyhow!(e)) +/// Gets an agent for a given network and identity. This is similar to the code DFX uses internally to get an agent. +/// If no identity is provided, it will use the identity currently selected in the DFX CLI. +pub async fn get_agent(network_name: &str, identity: Option) -> Result { + let interface = dfx_interface(network_name, identity) + .await + .context("Failed to get dfx interface")?; + Ok(interface.agent().clone()) } -/// Gets the agent for IC mainnet. -pub fn get_mainnet_agent() -> Result { - let ic_url = "https://ic0.app/"; - get_agent(ic_url) +/// Gets a dfx interface for a given network and identity. This is similar to the code DFX uses internally to build the interface. +/// So this function allows the DFX SNS Extension to use the same interface as DFX itself. +/// If no identity is provided, it will use the identity currently selected in the DFX CLI. +pub async fn dfx_interface(network_name: &str, identity: Option) -> Result { + let interface_builder = { + let identity = identity + .clone() + .map(IdentityPicker::Named) + .unwrap_or(IdentityPicker::Selected); + DfxInterface::builder() + .with_identity(identity) + .with_network_named(network_name) + }; + let interface = interface_builder.build().await.context(format!( + "Failed to build dfx interface with network `{network_name}` and identity `{identity:?}`" + ))?; + if !interface.network_descriptor().is_ic { + interface.agent().fetch_root_key().await.context(format!( + "Failed to fetch root key from network `{network_name}`." + ))?; + } + Ok(interface) }