From 45da96510be987b8ce6ec7f77ec5e38fded2d343 Mon Sep 17 00:00:00 2001 From: Alois Date: Sat, 3 Oct 2026 18:17:12 +0200 Subject: [PATCH] chore(mtp): update rev --- Cargo.lock | 96 ++++++++++++++++++++++++++---------- client/Cargo.toml | 2 +- iota-auth/Cargo.toml | 2 +- iota-connection/Cargo.toml | 2 +- iota-daemon-lib/Cargo.toml | 2 +- iota-identity/Cargo.toml | 2 +- iota-logger/Cargo.toml | 2 +- iota-storage/Cargo.toml | 2 +- iota-util/Cargo.toml | 2 +- omikron-connector/Cargo.toml | 2 +- other-iota/Cargo.toml | 2 +- web-server/Cargo.toml | 2 +- 12 files changed, 81 insertions(+), 37 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index adb6947..d9cd352 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2950,8 +2950,8 @@ dependencies = [ [[package]] name = "mtp" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ "mtp-client", "mtp-codec", @@ -2961,27 +2961,29 @@ dependencies = [ "mtp-files", "mtp-host", "mtp-native", + "mtp-pipes", "mtp-type-map", "mtp-webserver", ] [[package]] name = "mtp-client" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ "mtp-codec", "mtp-common", "mtp-crypto", "mtp-native", + "mtp-pipes", "rand 0.10.3", "tokio", ] [[package]] name = "mtp-codec" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ "base64 0.23.1", "byteorder", @@ -2994,29 +2996,31 @@ dependencies = [ [[package]] name = "mtp-common" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ + "js-sys", "rand 0.10.3", "thiserror 2.0.20", ] [[package]] name = "mtp-core" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ "async-trait", "mtp-codec", "mtp-common", "tokio", + "tokio_with_wasm", "tracing", ] [[package]] name = "mtp-crypto" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ "argon2", "base64 0.22.1", @@ -3038,8 +3042,8 @@ dependencies = [ [[package]] name = "mtp-files" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ "mtp-crypto", "rand 0.10.3", @@ -3049,8 +3053,8 @@ dependencies = [ [[package]] name = "mtp-h3" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ "async-trait", "bytes", @@ -3066,32 +3070,32 @@ dependencies = [ [[package]] name = "mtp-host" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ "mtp-codec", "mtp-common", "mtp-core", "mtp-crypto", "mtp-native", + "mtp-pipes", "rand 0.10.3", "thiserror 2.0.20", "tokio", "tracing", - "wtransport", ] [[package]] name = "mtp-native" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ "async-trait", "mtp-codec", "mtp-common", "mtp-core", "mtp-crypto", - "rand 0.10.3", + "mtp-pipes", "rcgen", "rustls", "rustls-native-certs", @@ -3100,13 +3104,28 @@ dependencies = [ "tracing", "wtransport", "x509-parser", +] + +[[package]] +name = "mtp-pipes" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" +dependencies = [ + "mtp-codec", + "mtp-common", + "mtp-core", + "mtp-crypto", + "rand 0.10.3", + "tokio", + "tokio_with_wasm", + "tracing", "zeroize", ] [[package]] name = "mtp-type-map" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ "serde", "serde_yaml", @@ -3114,8 +3133,8 @@ dependencies = [ [[package]] name = "mtp-webserver" -version = "0.3.0" -source = "git+https://git.methanium.net/Methanium/mtp.git?rev=bb0f682b735de5ebb36bb41dc699260578341828#bb0f682b735de5ebb36bb41dc699260578341828" +version = "0.4.0" +source = "git+https://git.methanium.net/Methanium/mtp.git?rev=abe39e0ea357b4516889e1502aa3356c623f7e63#abe39e0ea357b4516889e1502aa3356c623f7e63" dependencies = [ "bytes", "h3", @@ -5086,6 +5105,31 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio_with_wasm" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67952a4025dc561465d61ba68d4d0043b81d94c0ef61673164f00b90a7e6d97f" +dependencies = [ + "hashbrown 0.16.1", + "js-sys", + "tokio", + "tokio_with_wasm_proc", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "tokio_with_wasm_proc" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82fea9ff016ae35c66c3f49e9af0e5b334f489c761e64b02ed2d46d9520bda95" +dependencies = [ + "quote", + "syn 2.0.119", +] + [[package]] name = "tower" version = "0.5.3" diff --git a/client/Cargo.toml b/client/Cargo.toml index d1d8ac1..a454052 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -5,7 +5,7 @@ edition = "2024" [dependencies] async-trait = "0.1.89" -mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "bb0f682b735de5ebb36bb41dc699260578341828", features = ["client", "crypto", "pipes", "web-server"] } +mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "abe39e0ea357b4516889e1502aa3356c623f7e63", features = ["client", "crypto", "pipes", "web-server"] } iota-auth = { path = "../iota-auth" } iota-identity = { path = "../iota-identity" } iota-connection = { path = "../iota-connection" } diff --git a/iota-auth/Cargo.toml b/iota-auth/Cargo.toml index 9a135da..999264a 100644 --- a/iota-auth/Cargo.toml +++ b/iota-auth/Cargo.toml @@ -7,7 +7,7 @@ edition = "2024" async-trait = "0.1.89" dashmap = "6.2.1" iota-identity = { path = "../iota-identity" } -mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "bb0f682b735de5ebb36bb41dc699260578341828", features = ["crypto"] } +mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "abe39e0ea357b4516889e1502aa3356c623f7e63", features = ["crypto"] } rand_core = { version = "0.6", features = ["getrandom", "std"] } uuid = { version = "*", features = ["v4"] } diff --git a/iota-connection/Cargo.toml b/iota-connection/Cargo.toml index d72230f..6681965 100644 --- a/iota-connection/Cargo.toml +++ b/iota-connection/Cargo.toml @@ -11,7 +11,7 @@ iota-identity = { path = "../iota-identity" } iota-logger = { path = "../iota-logger" } iota-storage = { path = "../iota-storage" } iota-util = { path = "../iota-util" } -mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "bb0f682b735de5ebb36bb41dc699260578341828", features = ["crypto"] } +mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "abe39e0ea357b4516889e1502aa3356c623f7e63", features = ["crypto"] } serde = { version = "1", features = ["derive"] } serde_json = "1" tokio = { version = "1.50.0", features = ["rt"] } diff --git a/iota-daemon-lib/Cargo.toml b/iota-daemon-lib/Cargo.toml index 8f5dc37..e956e6f 100644 --- a/iota-daemon-lib/Cargo.toml +++ b/iota-daemon-lib/Cargo.toml @@ -18,7 +18,7 @@ iota-updater = { path = "../iota-updater" } iota-util = { path = "../iota-util" } omikron-connector = { path = "../omikron-connector" } other-iota = { path = "../other-iota" } -mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "bb0f682b735de5ebb36bb41dc699260578341828" } +mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "abe39e0ea357b4516889e1502aa3356c623f7e63" } libc = "0.2" sysinfo = "0.38.0" serde_yaml = "0.9" diff --git a/iota-identity/Cargo.toml b/iota-identity/Cargo.toml index d7e56eb..2891b98 100644 --- a/iota-identity/Cargo.toml +++ b/iota-identity/Cargo.toml @@ -7,7 +7,7 @@ edition = "2024" libc = "0.2" async-trait = "0.1.89" base64 = "0.22.1" -mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "bb0f682b735de5ebb36bb41dc699260578341828", features = ["crypto", "files", "raw"] } +mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "abe39e0ea357b4516889e1502aa3356c623f7e63", features = ["crypto", "files", "raw"] } serde = { version = "1", features = ["derive"] } [dev-dependencies] diff --git a/iota-logger/Cargo.toml b/iota-logger/Cargo.toml index fb7537f..52e5c8d 100644 --- a/iota-logger/Cargo.toml +++ b/iota-logger/Cargo.toml @@ -8,7 +8,7 @@ iota-paths = { path = "../iota-paths" } iota-state = { path = "../iota-state" } iota-util = { path = "../iota-util" } -mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "bb0f682b735de5ebb36bb41dc699260578341828" } +mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "abe39e0ea357b4516889e1502aa3356c623f7e63" } ratatui = "0.30.0" json = "0.12.4" diff --git a/iota-storage/Cargo.toml b/iota-storage/Cargo.toml index ff6ce06..be3ae0d 100644 --- a/iota-storage/Cargo.toml +++ b/iota-storage/Cargo.toml @@ -25,5 +25,5 @@ fs2 = "0.4.3" tokio = { version = "1.50.0", features = ["full"] } [dev-dependencies] -mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "bb0f682b735de5ebb36bb41dc699260578341828", features = ["crypto"] } +mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "abe39e0ea357b4516889e1502aa3356c623f7e63", features = ["crypto"] } tempfile = "3" diff --git a/iota-util/Cargo.toml b/iota-util/Cargo.toml index ea23d0b..6e8b64e 100644 --- a/iota-util/Cargo.toml +++ b/iota-util/Cargo.toml @@ -6,7 +6,7 @@ edition = "2024" [dependencies] iota-paths = { path = "../iota-paths" } iota-identity = { path = "../iota-identity" } -mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "bb0f682b735de5ebb36bb41dc699260578341828", features = [ +mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "abe39e0ea357b4516889e1502aa3356c623f7e63", features = [ "crypto" ] } diff --git a/omikron-connector/Cargo.toml b/omikron-connector/Cargo.toml index 4539ca6..33a3019 100644 --- a/omikron-connector/Cargo.toml +++ b/omikron-connector/Cargo.toml @@ -13,7 +13,7 @@ iota-logger = { path = "../iota-logger" } iota-state = { path = "../iota-state" } iota-storage = { path = "../iota-storage" } iota-util = { path = "../iota-util" } -mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "bb0f682b735de5ebb36bb41dc699260578341828", features = [ +mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "abe39e0ea357b4516889e1502aa3356c623f7e63", features = [ "client", "crypto", "files", diff --git a/other-iota/Cargo.toml b/other-iota/Cargo.toml index 49f8081..beb4545 100644 --- a/other-iota/Cargo.toml +++ b/other-iota/Cargo.toml @@ -8,7 +8,7 @@ async-trait = "0.1.89" iota-connection = { path = "../iota-connection" } iota-identity = { path = "../iota-identity" } iota-util = { path = "../iota-util" } -mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "bb0f682b735de5ebb36bb41dc699260578341828", features = ["client", "crypto", "pipes", "web-server"] } +mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "abe39e0ea357b4516889e1502aa3356c623f7e63", features = ["client", "crypto", "pipes", "web-server"] } reqwest = { version = "0.13", features = ["json"] } serde = "1" tokio = { version = "1.50.0", features = ["full"] } diff --git a/web-server/Cargo.toml b/web-server/Cargo.toml index 73bf2c3..398e86f 100644 --- a/web-server/Cargo.toml +++ b/web-server/Cargo.toml @@ -6,7 +6,7 @@ edition = "2024" [dependencies] async-trait = "0.1.89" -mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "bb0f682b735de5ebb36bb41dc699260578341828", features = ["web-server", "crypto", "pipes"] } +mtp = { git = "https://git.methanium.net/Methanium/mtp.git", rev = "abe39e0ea357b4516889e1502aa3356c623f7e63", features = ["web-server", "crypto", "pipes"] } bytes = "1" http = "1" iota-logger = { path = "../iota-logger" }