OneLauncher-Cracked/apps/oneclient/desktop/Cargo.toml
Jacob fb5da05ad9
feat: better debug (#486)
* fix: tauri os plugin not being fully loaded

* feat: debug keybind

Bound to `CTRL+SHIFT+D` (and `ALT+F12`) and copies the debug info to the
clipboard

* refactor: __root.tx

Clean up a lot of code and move them into there own files

* feat: os distro in debug

* refactor: get_full_debug_info_parsed

* feat: made by info in settings

Also made it so that you can click on it to copy debug info

* fix: warning in oneclient/desktop/lib.rs

* refactor: copyDebugInfo

Moved it to the backend to later be used

* feat: log out debug info when oneclient launches

* `inDev` -> `In Dev`

* feat: toggle debug logging

* fix rust compiler
2026-03-03 20:46:11 -05:00

97 lines
2.1 KiB
TOML

[package]
name = "oneclient_gui"
default-run = "oneclient_gui"
description = "Next-generation open source Minecraft launcher"
version = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
repository = { workspace = true }
documentation = { workspace = true }
readme = { workspace = true }
homepage = { workspace = true }
authors = { workspace = true }
[lib]
name = "oneclient_gui"
crate-type = [
"staticlib",
"cdylib",
"lib"
]
[lints]
workspace = true
[build-dependencies]
tauri-build = { workspace = true }
[dependencies]
# core
onelauncher_core = { workspace = true, features = [ "tauri" ] }
interpulse = { workspace = true }
# tauri
tauri-plugin-window-state = { workspace = true }
tauri-plugin-single-instance = { workspace = true }
tauri-plugin-updater = { workspace = true }
tauri-plugin-clipboard-manager = { workspace = true }
tauri-plugin-dialog = { workspace = true }
tauri-plugin-fs = { workspace = true }
tauri-plugin-os = { workspace = true }
tauri-plugin-global-shortcut = { workspace = true }
tauri-plugin-deep-link = { workspace = true }
# code gen
taurpc = { workspace = true }
specta = { workspace = true }
specta-typescript = { workspace = true }
strum = { workspace = true }
# logging
tracing = { workspace = true }
tracing-error = { workspace = true }
# serialization & text
serde = { workspace = true }
serde_json = { workspace = true }
chrono = { workspace = true }
uuid = { workspace = true }
# io
tokio = { workspace = true }
# utils
thiserror = { workspace = true }
anyhow = { workspace = true }
reqwest = { workspace = true }
[dependencies.tauri]
workspace = true
features = [
"macos-private-api",
"image-ico",
"image-png",
"protocol-asset",
"specta"
]
[dev-dependencies]
sea-orm = { workspace = true }
[features]
default = [
"custom-protocol",
"devtools"
]
devtools = [ "tauri/devtools" ]
custom-protocol = [ "tauri/custom-protocol" ]
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6.3"
objc2-app-kit = { version = "0.3.2", features = [
"NSWindow",
"NSButton",
"NSControl",
"NSView"
] }
objc2-foundation = { version = "0.3.2", features = [ "NSObject" ] }