aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/Cargo.toml
diff options
context:
space:
mode:
author苏向夜 <46275354+fu050409@users.noreply.github.com>2026-02-25 02:06:07 +0800
committerGitHub <noreply@github.com>2026-02-25 02:06:07 +0800
commit78ac61904d78d558d092eff08c9f261cbdb187e8 (patch)
tree96f68d1f1554ee3a0532793afaaa52b0c73dcbec /src-tauri/Cargo.toml
parent8ff3af6cb908fd824b512379dd21ed4f595ab6bb (diff)
parent329734b23957b84cde2af459fa61c7385fb5b5f1 (diff)
downloadDropOut-78ac61904d78d558d092eff08c9f261cbdb187e8.tar.gz
DropOut-78ac61904d78d558d092eff08c9f261cbdb187e8.zip
feat(ui): partial react rewrite (#77)
## Summary by Sourcery Export backend data structures to TypeScript for the new React-based UI and update CI to build additional targets. New Features: - Generate TypeScript definitions for core backend structs and enums used by the UI. - Now use our own Azure app(_DropOut_) to finish the authorize process. Enhancements: - Annotate existing Rust models with ts-rs metadata to control exported TypeScript shapes, including tagged enums and opaque JSON fields. Build: - Add ts-rs as a dependency for generating TypeScript bindings from Rust types. CI: - Extend the Semifold CI workflow to run on the dev branch and build additional Linux musl and Windows GNU targets using cross where needed.
Diffstat (limited to 'src-tauri/Cargo.toml')
-rw-r--r--src-tauri/Cargo.toml63
1 files changed, 37 insertions, 26 deletions
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 224ac28..29da3a1 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -1,48 +1,59 @@
[package]
name = "dropout"
version = "0.2.0-alpha.1"
-edition = "2021"
+edition = "2024"
authors = ["HsiangNianian"]
description = "The DropOut Minecraft Game Launcher"
-license = "MIT"
repository = "https://github.com/HydroRoll-Team/DropOut"
+license = "MIT"
publish = false
+[package.metadata.deb]
+depends = "libgtk-3-0"
+section = "games"
+assets = [
+ ["target/release/dropout", "usr/bin/", "755"],
+]
+
[dependencies]
-serde = { version = "1.0", features = ["derive"] }
-toml = "0.5"
-log = "0.4"
+bytes = "1.11.0"
+chrono = "0.4"
+dirs = "5.0"
+dropout-macros = { path = "../crates/macros", version = "0.1.0" }
env_logger = "0.9"
-tokio = { version = "1.49.0", features = ["full"] }
-reqwest = { version = "0.11", features = ["json", "blocking", "stream", "multipart"] }
-serde_json = "1.0.149"
-tauri = { version = "2.9", features = [] }
-tauri-plugin-shell = "2.3"
-uuid = { version = "1.10.0", features = ["v3", "v4", "serde"] }
+flate2 = "1.0"
futures = "0.3"
+hex = "0.4"
+log = "0.4"
+regex = "1.12.2"
+reqwest = { version = "0.11", features = [
+ "blocking",
+ "json",
+ "multipart",
+ "stream"
+] }
+serde = { version = "1.0", features = ["derive"] }
+serde_json = "1.0.149"
+serde_urlencoded = "0.7.1"
sha1 = "0.10"
sha2 = "0.10"
-hex = "0.4"
-zip = "2.2.2"
-flate2 = "1.0"
tar = "0.4"
-dirs = "5.0"
-serde_urlencoded = "0.7.1"
+tauri = { version = "2.9", features = [] }
tauri-plugin-dialog = "2.6.0"
tauri-plugin-fs = "2.4.5"
-bytes = "1.11.0"
-chrono = "0.4"
-regex = "1.12.2"
+tauri-plugin-shell = "2.3"
+tokio = { version = "1.49.0", features = ["full"] }
+toml = "0.5"
+ts-rs = { version = "11.1.0", features = ["serde-compat"] }
+uuid = { version = "1.10.0", features = ["serde", "v3", "v4"] }
+zip = "2.2.2"
+
+[dev-dependencies]
+ctor = "0.6.3"
+inventory = "0.3.21"
[build-dependencies]
tauri-build = { version = "2.0", features = [] }
[target.'cfg(all(windows, target_env = "gnu"))'.build-dependencies]
embed-resource = "2.4"
-
-[package.metadata.deb]
-depends = "libgtk-3-0"
-section = "games"
-assets = [
- ["target/release/dropout", "usr/bin/", "755"],
-]