68 lines
2.3 KiB
TOML
68 lines
2.3 KiB
TOML
[package]
|
|
name = "Friendolls"
|
|
version = "0.1.1"
|
|
description = "Hang out with your friends on your desktop!"
|
|
authors = ["wind-explorer@github"]
|
|
edition = "2024"
|
|
|
|
# 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 = "friendolls_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = ["macos-private-api", "tray-icon", "unstable"] }
|
|
tauri-plugin-dialog = "2"
|
|
tauri-plugin-opener = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
base64 = "0.22.1"
|
|
sha2 = "0.10"
|
|
image = { version = "0.25", default-features = false, features = ["gif", "jpeg", "png", "webp"] }
|
|
lazy_static = "1.5.0"
|
|
ed25519-dalek = "3.0.0"
|
|
getrandom = "0.4.3"
|
|
tokio = { version = "1.53.1", features = ["macros", "sync", "time"] }
|
|
tokio-tungstenite = { version = "0.28", features = ["rustls-tls-native-roots"] }
|
|
futures-util = "0.3"
|
|
sqlx = { version = "0.8.6", features = ["runtime-tokio-rustls", "sqlite", "migrate"] }
|
|
tauri-specta = { version = "2.0.0-rc.21", features = ["derive", "typescript"] }
|
|
specta = "2.0.0-rc.21"
|
|
specta-typescript = { version = "0.0.9" }
|
|
uuid = { version = "1", features = ["v4"] }
|
|
webp = { version = "0.3.1", default-features = false }
|
|
friendolls-common = { path = "../src-common" }
|
|
sys-locale = "0.3.2"
|
|
tauri-plugin-autostart = "2"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.53.1", features = ["macros", "rt-multi-thread"] }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows = { version = "0.58", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Globalization",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_ProcessStatus",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_Accessibility",
|
|
"Win32_UI_Shell",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = "0.6.3"
|
|
objc2-app-kit = "0.3.2"
|
|
objc2-foundation = "0.3.2"
|
|
|
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
|
tauri-plugin-updater = "2"
|