-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Cargo.toml
37 lines (30 loc) · 1.25 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "stump_desktop"
version = "0.0.2"
description = ""
authors = ["Aaron Leopold <aaronleopold1221@gmail.com>"]
license = "MIT"
edition = "2021"
[build-dependencies]
tauri-build = { version = "1.2.1", features = [] }
[dependencies]
stump_server = { path = "../../server", optional = true }
# https://github.com/tauri-apps/tauri/issues/5070 -> Once I upgrade Tauri, the workspace inheritance bug will be fixed
# serde_json = { workspace = true }
# serde = { workspace = true }
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
tauri = { version = "1.2.5", features = ["api-all", "devtools"] }
### MISC ###
discord-rich-presence = "0.2.3"
tracing = { version = "0.1.37", optional = true}
[features]
# by default Tauri runs in production mode
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
default = [ "custom-protocol" ]
# this feature is used used for production builds where `devPath` points to the filesystem
# DO NOT remove this
custom-protocol = [ "tauri/custom-protocol" ]
# This feature will bundle the Stump server with the desktop app, allowing the user to use the desktop app
# as their dedicated server instance.
bundled-server = [ "dep:stump_server", "dep:tracing" ]