[package] name = "Haystack" version = "0.1.0" description = "Screenshots that organize themselves" authors = ["Dmytro Kondakov", "John Costa"] 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 = "haystack_lib" crate-type = ["staticlib", "cdylib", "rlib"] [build-dependencies] tauri-build = { version = "2", features = [] } [dependencies] tauri = { version = "2", features = ["macos-private-api"] } serde = { version = "1", features = ["derive"] } serde_json = "1" notify = "6.1.1" base64 = "0.21.7" tokio = { version = "1.36.0", features = ["full"] } chrono = "0.4" log = "0.4" tauri-plugin-http = "2.4.3" tauri-plugin-log = "2" tauri-plugin-fs = "2" tauri-plugin-os = "2.2.1" tauri-plugin-store = "2" [target."cfg(target_os = \"macos\")".dependencies] cocoa = "0.26" [target."cfg(any(target_os = \"macos\", target_os = \"linux\", target_os = \"windows\"))".dependencies] tauri-plugin-global-shortcut = "2" [target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies] tauri-plugin-sharetarget = { path = "../../tauri-plugin-sharetarget"}