[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.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 = "b331b9f6a3943d0331d8fdcb7c696d6c2bc5e8b8", features = ["client", "crypto"] } mtp-transport = { git = "https://git.methanium.net/methanium/mtp.git", rev = "b067614a684eb1856bc5db7b3fd82148c036ce6b" } 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.22" [patch.crates-io.tauri] git = "https://github.com/tauri-apps/tauri" rev = "4af26a3f7f8b692d62cca549bbacd93f5ce90b41"