47 lines
1.7 KiB
TOML
47 lines
1.7 KiB
TOML
[package]
|
|
name = "tensamin"
|
|
version = "0.0.0"
|
|
description = "Privacy focused messanger"
|
|
authors = ["methanium"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
# The `_lib` suffix may seem redundant but it is necessary
|
|
# to make the lib name unique and wouldn't conflict with the bin name.
|
|
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
|
|
name = "mobile_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { git = "https://github.com/tauri-apps/tauri", rev = "4af26a3f7f8b692d62cca549bbacd93f5ce90b41", features = [] }
|
|
|
|
[dependencies]
|
|
tauri-plugin-opener = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
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 = "e8b7c433e697660214fa17162f08ce6792792471", features = ["client", "crypto"] }
|
|
mtp-transport = { git = "https://git.methanium.net/methanium/mtp.git", rev = "a81ac4efca46fbf0e708c1a0f184735fc9bf7fec" }
|
|
webpki-root-certs = "1"
|
|
tauri-plugin-deep-link = "2"
|
|
tauri-plugin-notification = "2"
|
|
tauri-plugin-log = "2"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.tauri]
|
|
version = "2"
|
|
features = []
|
|
default-features = true
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
jni = "0.21"
|
|
|
|
[target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies]
|
|
tauri-plugin-barcode-scanner = "2"
|
|
|
|
[patch.crates-io.tauri]
|
|
git = "https://github.com/tauri-apps/tauri"
|
|
rev = "4af26a3f7f8b692d62cca549bbacd93f5ce90b41"
|