client/apps/tauri/src-tauri/Cargo.toml
Alois ebd2a364a7
All checks were successful
/ build-web (push) Successful in 1m8s
/ build-desktop (push) Successful in 10m57s
/ build-mobile (push) Successful in 15m24s
/ release (push) Successful in 22s
(feat): update android version stuff to better fit obtainium's needs
2026-05-23 17:11:16 +02:00

57 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 = { version = "2", features = [] }
[dependencies]
base64 = "0.22"
image = { version = "0.25", default-features = false, features = ["jpeg"] }
tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tauri-plugin-deep-link = "2"
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))'.dependencies]
xcap = "0.4.1"
[target.'cfg(target_os = "android")'.dependencies.tauri]
version = "2"
features = []
default-features = true
[target.'cfg(target_os = "windows")'.dependencies.tauri]
version = "2"
features = ["compression", "common-controls-v6", "dynamic-acl"]
default-features = true
[target.'cfg(target_os = "linux")'.dependencies.tauri]
version = "2"
features = ["common-controls-v6", "cef", "compression", "dynamic-acl", "x11"]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.tauri]
version = "2"
features = ["x11", "common-controls-v6", "cef", "compression", "dynamic-acl"]
default-features = false
[target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies]
tauri-plugin-barcode-scanner = "2"
tauri-plugin-app-events = "0.2"
[patch.crates-io.tauri]
git = "https://github.com/tauri-apps/tauri"
branch = "feat/cef"