mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-10 04:22:13 +10:00
* chore: Progress on amend_settings command Signed-off-by: quexeky <git@quexeky.dev> * chore(errors): Progress on better error handling with segragation of files * chore: Progress on amend_settings command Signed-off-by: quexeky <git@quexeky.dev> * chore(commands): Separated commands under each subdirectory into respective commands.rs files Signed-off-by: quexeky <git@quexeky.dev> * chore(errors): Almost all errors and commands have been segregated * chore(errors): Added drop server error Signed-off-by: quexeky <git@quexeky.dev> * feat(core): Update to using nightly compiler Signed-off-by: quexeky <git@quexeky.dev> * chore(errors): More progress on error handling Signed-off-by: quexeky <git@quexeky.dev> * chore(errors): Implementing Try and FromResidual for UserValue Signed-off-by: quexeky <git@quexeky.dev> * refactor(errors): Segregated errors and commands from code, and made commands return UserValue struct Signed-off-by: quexeky <git@quexeky.dev> * fix(errors): Added missing files * chore(errors): Convert match statement to map_err * feat(settings): Implemented settings editing from UI * feat(errors): Clarified return values from retry_connect command * chore(errors): Moved autostart commands to autostart.rs * chore(process manager): Converted launch_process function for games to use game_id --------- Signed-off-by: quexeky <git@quexeky.dev>
101 lines
2.4 KiB
TOML
101 lines
2.4 KiB
TOML
[package]
|
|
name = "drop-app"
|
|
version = "0.1.0"
|
|
description = "The client application for the open-source, self-hosted game distribution platform Drop"
|
|
authors = ["Drop OSS"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\"))".dependencies]
|
|
tauri-plugin-single-instance = { version = "2.0.0", features = ["deep-link"] }
|
|
|
|
[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 = "drop_app_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build]
|
|
rustflags = ["-C", "target-feature=+aes,+sse2"]
|
|
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.0.0", features = [] }
|
|
|
|
[dependencies]
|
|
tauri-plugin-shell = "2.0.0"
|
|
serde_json = "1"
|
|
serde-binary = "0.5.0"
|
|
rayon = "1.10.0"
|
|
directories = "5.0.1"
|
|
webbrowser = "1.0.2"
|
|
url = "2.5.2"
|
|
tauri-plugin-deep-link = "2"
|
|
log = "0.4.22"
|
|
hex = "0.4.3"
|
|
tauri-plugin-dialog = "2"
|
|
http = "1.1.0"
|
|
urlencoding = "2.1.3"
|
|
md5 = "0.7.0"
|
|
chrono = "0.4.38"
|
|
tauri-plugin-os = "2"
|
|
boxcar = "0.2.7"
|
|
umu-wrapper-lib = "0.1.0"
|
|
tauri-plugin-autostart = "2.0.0"
|
|
shared_child = "1.0.1"
|
|
serde_with = "3.12.0"
|
|
slice-deque = "0.3.0"
|
|
derive_builder = "0.20.2"
|
|
throttle_my_fn = "0.2.6"
|
|
parking_lot = "0.12.3"
|
|
merge-struct = "0.1.0"
|
|
serde_merge = "0.1.3"
|
|
|
|
[dependencies.tauri]
|
|
version = "2.1.1"
|
|
features = ["tray-icon"]
|
|
|
|
|
|
[dependencies.tokio]
|
|
version = "1.40.0"
|
|
features = ["rt", "tokio-macros", "signal"]
|
|
|
|
[dependencies.log4rs]
|
|
version = "1.3.0"
|
|
features = ["console_appender", "file_appender"]
|
|
|
|
[dependencies.rustix]
|
|
version = "0.38.37"
|
|
features = ["fs"]
|
|
|
|
[dependencies.uuid]
|
|
version = "1.10.0"
|
|
features = [
|
|
"v4", # Lets you generate random UUIDs
|
|
"fast-rng", # Use a faster (but still sufficiently random) RNG
|
|
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
|
|
]
|
|
|
|
[dependencies.openssl]
|
|
version = "0.10.66"
|
|
features = ["vendored"]
|
|
|
|
[dependencies.rustbreak]
|
|
version = "2"
|
|
features = [] # You can also use "yaml_enc" or "bin_enc"
|
|
|
|
[dependencies.reqwest]
|
|
version = "0.12"
|
|
features = ["json", "blocking"]
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
features = ["derive", "rc"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = 'abort'
|