[package] name = "mtgc" version = "0.1.0" edition = "2021" description = "mtgc — personal Magic: The Gathering library catalog" [lib] # The Tauri app logic lives in a lib so the same entry point can serve desktop # and (later) mobile targets. name = "mtgc_lib" crate-type = ["staticlib", "cdylib", "rlib"] [build-dependencies] tauri-build = { version = "2", features = [] } [dependencies] tauri = { version = "2", features = [] } tauri-plugin-dialog = "2" # Reads the files the dialog picks: on Android those are content:// URIs, which # std::fs can't open. tauri-plugin-fs = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" mtgc-core = { path = "../crates/mtgc-core" } tauri-plugin-opener = "2.5.4" url = "2" [target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies] # Copying a card image: the clipboard takes raw pixels, and Scryfall serves JPEGs. tauri-plugin-clipboard-manager = "2" image = { version = "0.25", default-features = false, features = ["jpeg"] } [target.'cfg(target_os = "android")'.dependencies] # Delivers sync sign-ins back to the app through the `mtgc://` scheme. tauri-plugin-deep-link = "2"