From 64bf2c7586a655dbf8a403c83900874c5092805b Mon Sep 17 00:00:00 2001 From: Pasha Date: Fri, 17 May 2024 08:13:29 +0300 Subject: [PATCH] [feat] Update --- Cargo.lock | 207 ++++++++++++++++++----------------------------------- Cargo.toml | 8 +-- 2 files changed, 71 insertions(+), 144 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eed8b16..059d4e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -189,7 +189,7 @@ checksum = "7378575ff571966e99a744addeff0bff98b8ada0dedf1956d59e634db95eaac1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", "synstructure 0.13.1", ] @@ -212,7 +212,7 @@ checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -234,7 +234,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -245,7 +245,7 @@ checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -548,7 +548,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -736,7 +736,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -805,7 +805,7 @@ checksum = "5fe87ce4529967e0ba1dcf8450bab64d97dfd5010a6256187ffe2e43e6f0e049" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -835,7 +835,7 @@ checksum = "2bba3e9872d7c58ce7ef0fcf1844fcc3e23ef2a58377b50df35dd98e42a5726e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", "unicode-xid", ] @@ -859,7 +859,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -986,7 +986,7 @@ dependencies = [ "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -999,7 +999,7 @@ dependencies = [ "num-traits", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -1019,7 +1019,7 @@ checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -1151,9 +1151,9 @@ dependencies = [ [[package]] name = "futures-buffered" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de8419e65098e54c06f5ae8a130a79e8ba2e391ff995d260ca5d77ea72ab2fe3" +checksum = "02dcae03ee5afa5ea17b1aebc793806b8ddfc6dc500e0b8e8e1eb30b9dad22c0" dependencies = [ "futures-core", "futures-util", @@ -1243,7 +1243,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -1326,9 +1326,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" dependencies = [ "cfg-if", "js-sys", @@ -1814,8 +1814,8 @@ checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "iroh" -version = "0.15.0" -source = "git+https://github.com/izihawa/iroh?branch=main#e07bd15f8d80be19f8b56cbefc6cff79e17add61" +version = "0.16.0" +source = "git+https://github.com/izihawa/iroh?branch=main#2a8220224f80e3aedd7939bb267b23dd37e1193b" dependencies = [ "anyhow", "bao-tree", @@ -1839,7 +1839,7 @@ dependencies = [ "parking_lot", "portable-atomic", "postcard", - "quic-rpc 0.9.0", + "quic-rpc", "rand 0.8.5", "serde", "strum 0.25.0", @@ -1854,8 +1854,8 @@ dependencies = [ [[package]] name = "iroh-base" -version = "0.15.0" -source = "git+https://github.com/izihawa/iroh?branch=main#e07bd15f8d80be19f8b56cbefc6cff79e17add61" +version = "0.16.0" +source = "git+https://github.com/izihawa/iroh?branch=main#2a8220224f80e3aedd7939bb267b23dd37e1193b" dependencies = [ "aead", "anyhow", @@ -1894,8 +1894,8 @@ dependencies = [ [[package]] name = "iroh-blobs" -version = "0.15.0" -source = "git+https://github.com/izihawa/iroh?branch=main#e07bd15f8d80be19f8b56cbefc6cff79e17add61" +version = "0.16.0" +source = "git+https://github.com/izihawa/iroh?branch=main#2a8220224f80e3aedd7939bb267b23dd37e1193b" dependencies = [ "anyhow", "bao-tree", @@ -1933,8 +1933,8 @@ dependencies = [ [[package]] name = "iroh-docs" -version = "0.15.0" -source = "git+https://github.com/izihawa/iroh?branch=main#e07bd15f8d80be19f8b56cbefc6cff79e17add61" +version = "0.16.0" +source = "git+https://github.com/izihawa/iroh?branch=main#2a8220224f80e3aedd7939bb267b23dd37e1193b" dependencies = [ "anyhow", "bytes", @@ -1967,8 +1967,8 @@ dependencies = [ [[package]] name = "iroh-gossip" -version = "0.15.0" -source = "git+https://github.com/izihawa/iroh?branch=main#e07bd15f8d80be19f8b56cbefc6cff79e17add61" +version = "0.16.0" +source = "git+https://github.com/izihawa/iroh?branch=main#2a8220224f80e3aedd7939bb267b23dd37e1193b" dependencies = [ "anyhow", "bytes", @@ -2005,8 +2005,8 @@ dependencies = [ [[package]] name = "iroh-metrics" -version = "0.15.0" -source = "git+https://github.com/izihawa/iroh?branch=main#e07bd15f8d80be19f8b56cbefc6cff79e17add61" +version = "0.16.0" +source = "git+https://github.com/izihawa/iroh?branch=main#2a8220224f80e3aedd7939bb267b23dd37e1193b" dependencies = [ "anyhow", "erased_set", @@ -2025,8 +2025,8 @@ dependencies = [ [[package]] name = "iroh-net" -version = "0.15.0" -source = "git+https://github.com/izihawa/iroh?branch=main#e07bd15f8d80be19f8b56cbefc6cff79e17add61" +version = "0.16.0" +source = "git+https://github.com/izihawa/iroh?branch=main#2a8220224f80e3aedd7939bb267b23dd37e1193b" dependencies = [ "aead", "anyhow", @@ -2177,9 +2177,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.154" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libm" @@ -2195,9 +2195,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linux-raw-sys" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "lock_api" @@ -2545,7 +2545,7 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -2738,7 +2738,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -2769,7 +2769,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -2846,7 +2846,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -3046,7 +3046,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -3064,27 +3064,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "quic-rpc" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7af964f8ee0a3ff7f03b8bc3ffce8cd604d9c2e5805b45d1446f774c71fb07e" -dependencies = [ - "bincode", - "educe", - "flume", - "futures-lite 2.3.0", - "futures-sink", - "futures-util", - "pin-project", - "quinn", - "serde", - "tokio", - "tokio-serde", - "tokio-util", - "tracing", -] - [[package]] name = "quic-rpc" version = "0.9.0" @@ -3112,54 +3091,6 @@ version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" -[[package]] -name = "quinn" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75" -dependencies = [ - "bytes", - "pin-project-lite", - "quinn-proto", - "quinn-udp", - "rustc-hash", - "rustls", - "thiserror", - "tokio", - "tracing", -] - -[[package]] -name = "quinn-proto" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" -dependencies = [ - "bytes", - "rand 0.8.5", - "ring 0.16.20", - "rustc-hash", - "rustls", - "rustls-native-certs", - "slab", - "thiserror", - "tinyvec", - "tracing", -] - -[[package]] -name = "quinn-udp" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "055b4e778e8feb9f93c4e439f71dc2156ef13360b432b799e179a8c4cdf0b1d7" -dependencies = [ - "bytes", - "libc", - "socket2", - "tracing", - "windows-sys 0.48.0", -] - [[package]] name = "quote" version = "1.0.36" @@ -3336,7 +3267,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -3618,9 +3549,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "092474d1a01ea8278f69e6a358998405fae5b8b963ddaeb2b0b04a128bf1dfb0" +checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "ryu" @@ -3722,9 +3653,9 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.201" +version = "1.0.202" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" +checksum = "226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395" dependencies = [ "serde_derive", ] @@ -3740,13 +3671,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.201" +version = "1.0.202" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" +checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -4004,7 +3935,7 @@ dependencies = [ "proc-macro2", "quote", "struct_iterable_internal", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -4041,7 +3972,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -4054,7 +3985,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -4116,9 +4047,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.63" +version = "2.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf5be731623ca1a1fb7d8be6f261a3be6d3e2337b8a1f97be944d020c8fcb704" +checksum = "7ad3dee41f36859875573074334c200d1add8e4a87bb37113ebd31d926b7b11f" dependencies = [ "proc-macro2", "quote", @@ -4168,7 +4099,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -4248,7 +4179,7 @@ checksum = "e2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -4334,7 +4265,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -4429,9 +4360,9 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" [[package]] name = "toml_edit" @@ -4509,7 +4440,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -4582,8 +4513,6 @@ dependencies = [ "md5", "mime_guess", "percent-encoding", - "quic-rpc 0.8.0", - "quinn", "rand 0.9.0-alpha.1", "range-collections", "redb 2.1.0", @@ -4782,7 +4711,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", "wasm-bindgen-shared", ] @@ -4816,7 +4745,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -4982,7 +4911,7 @@ checksum = "12168c33176773b86799be25e2a2ba07c7aab9968b37541f1094dbd7a60c8946" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -4993,7 +4922,7 @@ checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -5004,7 +4933,7 @@ checksum = "9d8dc32e0095a7eeccebd0e3f09e9509365ecb3fc6ac4d6f5f14a3f6392942d1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -5015,7 +4944,7 @@ checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -5298,7 +5227,7 @@ checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] @@ -5309,7 +5238,7 @@ checksum = "201585ea96d37ee69f2ac769925ca57160cef31acb137c16f38b02b76f4c1e62" dependencies = [ "proc-macro2", "quote", - "syn 2.0.63", + "syn 2.0.64", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 307f625..de38b6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,15 +18,13 @@ axum = "0.7" bisection = "0.1" clap = { version = "4.5", features = ["derive"] } flume = "0.11" -iroh = { version = "0.15.0", branch = "main", git = "https://github.com/izihawa/iroh", features = [ "metrics" ] } -iroh-base = { version = "0.15.0", branch = "main", git = "https://github.com/izihawa/iroh" } +iroh = { version = "0.16.0", branch = "main", git = "https://github.com/izihawa/iroh", features = [ "metrics" ] } +iroh-base = { version = "0.16.0", branch = "main", git = "https://github.com/izihawa/iroh" } iroh-io = { version = "0.6.0" } md5 = "0.7" percent-encoding = "2.3.1" -quic-rpc = { version = "0.8.0", default-features = false, features = ["flume-transport", "quinn-transport"] } -quinn = "0.10" rand = "0.9.0-alpha.1" -redb = { version = "2.0.0", features = ["logging"] } +redb = { version = "2.1.0", features = ["logging"] } serde = "1.0" serde_yaml = "0.9" thiserror = "1.0"