diff --git a/apps/tauri/src-tauri/Cargo.lock b/apps/tauri/src-tauri/Cargo.lock index c97e76f..6ad7721 100644 --- a/apps/tauri/src-tauri/Cargo.lock +++ b/apps/tauri/src-tauri/Cargo.lock @@ -2744,46 +2744,32 @@ dependencies = [ [[package]] name = "mtp" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" +version = "0.3.0" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=e939714557ce82e2cdaf7fdb93b4f949551ab6d1#e939714557ce82e2cdaf7fdb93b4f949551ab6d1" 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 0.3.0", + "mtp-common 0.3.0", + "mtp-crypto 0.3.0", "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 0.3.0", + "mtp-type-map 0.3.0", "mtp-webserver", ] [[package]] name = "mtp-client" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" +version = "0.3.0" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=e939714557ce82e2cdaf7fdb93b4f949551ab6d1#e939714557ce82e2cdaf7fdb93b4f949551ab6d1" 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 0.3.0", + "mtp-common 0.3.0", + "mtp-crypto 0.3.0", + "mtp-transport 0.3.0", "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,20 +2777,23 @@ 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 0.2.0", + "mtp-type-map 0.2.0", "rand 0.10.2", ] [[package]] -name = "mtp-common" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" +name = "mtp-codec" +version = "0.3.0" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=e939714557ce82e2cdaf7fdb93b4f949551ab6d1#e939714557ce82e2cdaf7fdb93b4f949551ab6d1" dependencies = [ - "quinn", - "rustls", + "base64 0.23.1", + "byteorder", + "mtp-common 0.3.0", + "mtp-crypto 0.3.0", + "mtp-type-map 0.3.0", + "rand 0.10.2", "thiserror 2.0.19", - "wtransport", ] [[package]] @@ -2819,25 +2808,14 @@ dependencies = [ ] [[package]] -name = "mtp-crypto" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" +name = "mtp-common" +version = "0.3.0" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=e939714557ce82e2cdaf7fdb93b4f949551ab6d1#e939714557ce82e2cdaf7fdb93b4f949551ab6d1" dependencies = [ - "base64 0.22.1", - "chacha20poly1305", - "ed25519-dalek", - "getrandom 0.4.3", - "hkdf", - "ml-dsa", - "mlkem-tls", - "rand 0.10.2", - "rand_core 0.6.4", + "quinn", "rustls", - "serde", - "sha2 0.11.0", - "thiserror 1.0.69", - "tokio", - "zeroize", + "thiserror 2.0.19", + "wtransport", ] [[package]] @@ -2861,14 +2839,36 @@ dependencies = [ ] [[package]] -name = "mtp-host" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" +name = "mtp-crypto" +version = "0.3.0" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=e939714557ce82e2cdaf7fdb93b4f949551ab6d1#e939714557ce82e2cdaf7fdb93b4f949551ab6d1" 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)", + "base64 0.22.1", + "chacha20poly1305", + "ed25519-dalek", + "getrandom 0.4.3", + "hkdf", + "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-host" +version = "0.3.0" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=e939714557ce82e2cdaf7fdb93b4f949551ab6d1#e939714557ce82e2cdaf7fdb93b4f949551ab6d1" +dependencies = [ + "mtp-codec 0.3.0", + "mtp-common 0.3.0", + "mtp-crypto 0.3.0", + "mtp-transport 0.3.0", "rand 0.10.2", "tokio", "tracing", @@ -2878,12 +2878,30 @@ dependencies = [ [[package]] name = "mtp-transport" 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", - "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 0.2.0", + "mtp-common 0.2.0", + "mtp-crypto 0.2.0", + "rcgen", + "rustls", + "rustls-native-certs", + "sha2 0.11.0", + "tokio", + "tracing", + "wtransport", +] + +[[package]] +name = "mtp-transport" +version = "0.3.0" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=e939714557ce82e2cdaf7fdb93b4f949551ab6d1#e939714557ce82e2cdaf7fdb93b4f949551ab6d1" +dependencies = [ + "async-trait", + "mtp-codec 0.3.0", + "mtp-common 0.3.0", + "mtp-crypto 0.3.0", "rand 0.10.2", "rcgen", "rustls", @@ -2895,28 +2913,10 @@ dependencies = [ "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)", - "rcgen", - "rustls", - "rustls-native-certs", - "sha2 0.11.0", - "tokio", - "tracing", - "wtransport", -] - [[package]] name = "mtp-type-map" 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 = [ "serde", "serde_yaml", @@ -2924,8 +2924,8 @@ dependencies = [ [[package]] name = "mtp-type-map" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=b067614a684eb1856bc5db7b3fd82148c036ce6b#b067614a684eb1856bc5db7b3fd82148c036ce6b" +version = "0.3.0" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=e939714557ce82e2cdaf7fdb93b4f949551ab6d1#e939714557ce82e2cdaf7fdb93b4f949551ab6d1" dependencies = [ "serde", "serde_yaml", @@ -2933,8 +2933,8 @@ dependencies = [ [[package]] name = "mtp-webserver" -version = "0.2.0" -source = "git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a#3c09493b0021341c698c00b29b82d0509dda6f2a" +version = "0.3.0" +source = "git+https://git.methanium.net/methanium/mtp.git?rev=e939714557ce82e2cdaf7fdb93b4f949551ab6d1#e939714557ce82e2cdaf7fdb93b4f949551ab6d1" dependencies = [ "async-trait", "bytes", @@ -2945,11 +2945,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 0.3.0", + "mtp-common 0.3.0", + "mtp-crypto 0.3.0", "mtp-host", - "mtp-transport 0.2.0 (git+https://git.methanium.net/methanium/mtp.git?rev=3c09493b0021341c698c00b29b82d0509dda6f2a)", + "mtp-transport 0.3.0", "quinn", "rand 0.10.2", "rustls", @@ -5226,7 +5226,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 0.2.0", "reqwest", "serde", "serde_json", diff --git a/apps/tauri/src-tauri/Cargo.toml b/apps/tauri/src-tauri/Cargo.toml index 8c02bcb..0dc8c16 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 = "e939714557ce82e2cdaf7fdb93b4f949551ab6d1", features = ["client", "crypto"] } mtp-transport = { git = "https://git.methanium.net/methanium/mtp.git", rev = "b067614a684eb1856bc5db7b3fd82148c036ce6b" } webpki-root-certs = "1" tauri-plugin-deep-link = "2"