(fix): mobile builds
This commit is contained in:
parent
611a4944b6
commit
2dc5be85e3
3 changed files with 1 additions and 4 deletions
1
apps/tauri/src-tauri/Cargo.lock
generated
1
apps/tauri/src-tauri/Cargo.lock
generated
|
|
@ -5392,7 +5392,6 @@ dependencies = [
|
|||
"base64 0.22.1",
|
||||
"jni 0.21.1",
|
||||
"mtp",
|
||||
"mtp-transport",
|
||||
"reqwest 0.12.28",
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ base64 = "0.22"
|
|||
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "sync", "time"] }
|
||||
mtp = { git = "https://git.methanium.net/methanium/mtp.git", rev = "d10266198d62ca9e14a8b1a55d2ab108b24e756e", features = ["client", "crypto"] }
|
||||
mtp-transport = { git = "https://git.methanium.net/methanium/mtp.git", rev = "d10266198d62ca9e14a8b1a55d2ab108b24e756e" }
|
||||
webpki-root-certs = "1"
|
||||
tauri-plugin-deep-link = "2"
|
||||
tauri-plugin-notification = "2"
|
||||
|
|
|
|||
|
|
@ -8,12 +8,11 @@ use base64::{
|
|||
engine::general_purpose::{STANDARD, STANDARD_NO_PAD},
|
||||
Engine as _,
|
||||
};
|
||||
use mtp::client::{ClientConfig, MTPClient, MTPConnection};
|
||||
use mtp::client::{ClientConfig, MTPClient, MTPConnection, Policy, SendMode};
|
||||
use mtp::codec::{CommunicationType, CommunicationValue, DataType, DataValue, TypeMap};
|
||||
use mtp::crypto::{
|
||||
derive_encryption_key, AeadDecrypt, ChaCha20Poly1305, HybridKem, Keyring, PublicKeyBundle,
|
||||
};
|
||||
use mtp_transport::{Policy, SendMode};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::{Map, Value};
|
||||
use tauri::{AppHandle, Emitter};
|
||||
|
|
|
|||
Loading…
Reference in a new issue