Compare commits
5 changed files with 578 additions and 374 deletions
952
apps/tauri/src-tauri/Cargo.lock
generated
952
apps/tauri/src-tauri/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -15,7 +15,7 @@ name = "mobile_lib"
|
||||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tauri-build = { git = "https://github.com/tauri-apps/tauri", rev = "4af26a3f7f8b692d62cca549bbacd93f5ce90b41", features = [] }
|
tauri-build = { git = "https://github.com/tauri-apps/tauri", rev = "20f3f2515c65ca1e115991c3ef3625e2c29c1bbb", features = [] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tauri-plugin-opener = "2"
|
tauri-plugin-opener = "2"
|
||||||
|
|
@ -44,4 +44,4 @@ tauri-plugin-barcode-scanner = "2"
|
||||||
|
|
||||||
[patch.crates-io.tauri]
|
[patch.crates-io.tauri]
|
||||||
git = "https://github.com/tauri-apps/tauri"
|
git = "https://github.com/tauri-apps/tauri"
|
||||||
rev = "4af26a3f7f8b692d62cca549bbacd93f5ce90b41"
|
rev = "20f3f2515c65ca1e115991c3ef3625e2c29c1bbb"
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,10 @@
|
||||||
"main"
|
"main"
|
||||||
],
|
],
|
||||||
"permissions": [
|
"permissions": [
|
||||||
|
"core:default",
|
||||||
"opener:default",
|
"opener:default",
|
||||||
|
"core:window:default",
|
||||||
|
"core:event:default",
|
||||||
"deep-link:default",
|
"deep-link:default",
|
||||||
"notification:default",
|
"notification:default",
|
||||||
"log:default"
|
"log:default"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#Tue May 10 19:22:52 CST 2022
|
#Tue May 10 19:22:52 CST 2022
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,12 @@ use base64::{
|
||||||
engine::general_purpose::{STANDARD, STANDARD_NO_PAD},
|
engine::general_purpose::{STANDARD, STANDARD_NO_PAD},
|
||||||
Engine as _,
|
Engine as _,
|
||||||
};
|
};
|
||||||
use mtp::client::{ClientConfig, MTPClient, MTPConnection, Policy, SendMode};
|
use mtp::client::{ClientConfig, MTPClient, MTPConnection};
|
||||||
use mtp::codec::{CommunicationType, CommunicationValue, DataType, DataValue, TypeMap};
|
use mtp::codec::{CommunicationType, CommunicationValue, DataType, DataValue, TypeMap};
|
||||||
use mtp::crypto::{
|
use mtp::crypto::{
|
||||||
derive_encryption_key, AeadDecrypt, ChaCha20Poly1305, HybridKem, Keyring, PublicKeyBundle,
|
derive_encryption_key, AeadDecrypt, ChaCha20Poly1305, HybridKem, Keyring, PublicKeyBundle,
|
||||||
};
|
};
|
||||||
|
use mtp_transport::{Policy, SendMode};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use serde_json::{Map, Value};
|
use serde_json::{Map, Value};
|
||||||
use tauri::{AppHandle, Emitter};
|
use tauri::{AppHandle, Emitter};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue