diff --git a/apps/tauri/src-tauri/Cargo.lock b/apps/tauri/src-tauri/Cargo.lock index c97e76f..fec6cfb 100644 --- a/apps/tauri/src-tauri/Cargo.lock +++ b/apps/tauri/src-tauri/Cargo.lock @@ -2745,45 +2745,31 @@ dependencies = [ [[package]] name = "mtp" version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b#b067614a684eb1856bc5db7b3fd82148c036ce6b" dependencies = [ "mtp-client", - "mtp-codec 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-common 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-crypto 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", + "mtp-codec", + "mtp-common", + "mtp-crypto", "mtp-host", - "mtp-transport 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-type-map 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", + "mtp-transport", + "mtp-type-map", "mtp-webserver", ] [[package]] name = "mtp-client" version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b#b067614a684eb1856bc5db7b3fd82148c036ce6b" dependencies = [ - "mtp-codec 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-common 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-crypto 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-transport 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", + "mtp-codec", + "mtp-common", + "mtp-crypto", + "mtp-transport", "rand 0.10.2", "tokio", ] -[[package]] -name = "mtp-codec" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" -dependencies = [ - "base64 0.23.1", - "byteorder", - "mtp-common 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-crypto 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-type-map 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "rand 0.10.2", - "thiserror 2.0.19", -] - [[package]] name = "mtp-codec" version = "0.2.0" @@ -2791,22 +2777,12 @@ source = "git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856b dependencies = [ "base64 0.23.1", "byteorder", - "mtp-common 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b)", - "mtp-type-map 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b)", + "mtp-common", + "mtp-crypto", + "mtp-type-map", "rand 0.10.2", ] -[[package]] -name = "mtp-common" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" -dependencies = [ - "quinn", - "rustls", - "thiserror 2.0.19", - "wtransport", -] - [[package]] name = "mtp-common" version = "0.2.0" @@ -2821,9 +2797,9 @@ dependencies = [ [[package]] name = "mtp-crypto" version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b#b067614a684eb1856bc5db7b3fd82148c036ce6b" dependencies = [ - "base64 0.22.1", + "base64 0.23.1", "chacha20poly1305", "ed25519-dalek", "getrandom 0.4.3", @@ -2831,29 +2807,9 @@ dependencies = [ "ml-dsa", "mlkem-tls", "rand 0.10.2", - "rand_core 0.6.4", - "rustls", - "serde", - "sha2 0.11.0", - "thiserror 1.0.69", - "tokio", - "zeroize", -] - -[[package]] -name = "mtp-crypto" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b#b067614a684eb1856bc5db7b3fd82148c036ce6b" -dependencies = [ - "base64 0.23.1", - "chacha20poly1305", - "ed25519-dalek", - "getrandom 0.4.3", - "hkdf", - "ml-dsa", - "rand 0.10.2", "rand_core 0.10.1", "rustls", + "serde", "sha2 0.11.0", "thiserror 2.0.19", "tokio", @@ -2863,47 +2819,27 @@ dependencies = [ [[package]] name = "mtp-host" version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b#b067614a684eb1856bc5db7b3fd82148c036ce6b" dependencies = [ - "mtp-codec 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-common 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-crypto 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-transport 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", + "mtp-codec", + "mtp-common", + "mtp-crypto", + "mtp-transport", "rand 0.10.2", "tokio", "tracing", "wtransport", ] -[[package]] -name = "mtp-transport" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" -dependencies = [ - "async-trait", - "mtp-codec 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-common 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-crypto 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "rand 0.10.2", - "rcgen", - "rustls", - "rustls-native-certs", - "sha2 0.11.0", - "tokio", - "tracing", - "wtransport", - "zeroize", -] - [[package]] name = "mtp-transport" version = "0.2.0" source = "git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b#b067614a684eb1856bc5db7b3fd82148c036ce6b" dependencies = [ "async-trait", - "mtp-codec 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b)", - "mtp-common 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b)", - "mtp-crypto 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b)", + "mtp-codec", + "mtp-common", + "mtp-crypto", "rcgen", "rustls", "rustls-native-certs", @@ -2913,15 +2849,6 @@ dependencies = [ "wtransport", ] -[[package]] -name = "mtp-type-map" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" -dependencies = [ - "serde", - "serde_yaml", -] - [[package]] name = "mtp-type-map" version = "0.2.0" @@ -2934,7 +2861,7 @@ dependencies = [ [[package]] name = "mtp-webserver" version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b#b067614a684eb1856bc5db7b3fd82148c036ce6b" dependencies = [ "async-trait", "bytes", @@ -2945,11 +2872,11 @@ dependencies = [ "http-body-util", "hyper", "hyper-util", - "mtp-codec 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-common 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", - "mtp-crypto 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", + "mtp-codec", + "mtp-common", + "mtp-crypto", "mtp-host", - "mtp-transport 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", + "mtp-transport", "quinn", "rand 0.10.2", "rustls", @@ -5226,7 +5153,7 @@ dependencies = [ "base64 0.22.1", "jni 0.22.4", "mtp", - "mtp-transport 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b)", + "mtp-transport", "reqwest", "serde", "serde_json", diff --git a/apps/tauri/src-tauri/Cargo.toml b/apps/tauri/src-tauri/Cargo.toml index 8c02bcb..4e4601a 100644 --- a/apps/tauri/src-tauri/Cargo.toml +++ b/apps/tauri/src-tauri/Cargo.toml @@ -24,7 +24,7 @@ serde_json = "1" base64 = "0.22" reqwest = { version = "0.13", default-features = false, features = ["json", "rustls"] } tokio = { version = "1", features = ["rt-multi-thread", "sync", "time"] } -mtp = { git = "https://git.methanium.net/methanium/mtp.git", rev = "3c09493b0021341c698c00b29b82d0509dda6f2a", features = ["client", "crypto"] } +mtp = { git = "https://git.methanium.net/methanium/mtp.git", rev = "b067614a684eb1856bc5db7b3fd82148c036ce6b", features = ["client", "crypto"] } mtp-transport = { git = "https://git.methanium.net/methanium/mtp.git", rev = "b067614a684eb1856bc5db7b3fd82148c036ce6b" } webpki-root-certs = "1" tauri-plugin-deep-link = "2"