-
-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
65 additions
and
47 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## 配置cargo的国内源 (依赖很多所以还是需要慢慢等待,不至于卡死下载不了) | ||
[source.crates-io] | ||
replace-with = 'rsproxy-sparse' | ||
[source.rsproxy] | ||
registry = "https://rsproxy.cn/crates.io-index" | ||
[source.rsproxy-sparse] | ||
registry = "sparse+https://rsproxy.cn/index/" | ||
[registries.rsproxy] | ||
index = "https://rsproxy.cn/crates.io-index" | ||
[net] | ||
git-fetch-with-cli = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,53 @@ | ||
version = "2.5.7" | ||
|
||
[package] | ||
name = "hula" | ||
version = "2.5.3" | ||
version = "2.5.7" | ||
description = "hula" | ||
authors = [ "nongyehong" ] | ||
authors = ["nongyehong"] | ||
license = "" | ||
repository = "" | ||
edition = "2021" | ||
|
||
[profile.release] | ||
panic = "abort" | ||
codegen-units = 1 | ||
lto = true | ||
opt-level = "s" | ||
strip = true | ||
panic = "abort" # 去掉昂贵的恐慌清理逻辑 | ||
codegen-units = 1 # 一个接一个地编译包,这样编译器就可以更好地优化 | ||
lto = true # 启用链接到优化 | ||
opt-level = "s" # 优化二进制文件大小,并且不会太大消耗性能,"z"极致优化大小但是会消耗性能 | ||
strip = true # 删除调试符号 | ||
|
||
[build-dependencies.tauri-build] | ||
version = "2.0.2" | ||
features = [ ] | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[build-dependencies] | ||
tauri-build = { version = "2.0.2", features = [] } | ||
|
||
[dependencies] | ||
tauri = { version = "2.0.6", features = [ "macos-private-api", "tray-icon", "image-png"] } | ||
tauri-plugin-os = "2.0.1" | ||
tauri-plugin-shell = "2.0.1" | ||
serde = { version = "1", features = ["derive"] } | ||
serde_json = "1" | ||
tauri-plugin-websocket = "2.0.1" | ||
tauri-plugin-http = {version="2.0.1",features= ["unsafe-headers"] } | ||
tauri-plugin-process = "2.0.1" | ||
tauri-plugin-fs = "2.0.1" | ||
tauri-plugin-dialog = "2.0.1" | ||
tauri-plugin-upload = "2.0.1" | ||
tauri-plugin-global-shortcut = "2.0.1" | ||
tauri-plugin-clipboard-manager = "2.0.1" | ||
tauri-plugin-updater = "2" | ||
tauri-plugin-sql = { version = "2", features = ["sqlite"] } | ||
tauri-plugin-single-instance = "2" | ||
|
||
[dependencies.tauri] | ||
version = "2.0.6" | ||
features = [ "macos-private-api", "tray-icon", "image-png" ] | ||
|
||
[dependencies.serde] | ||
version = "1" | ||
features = [ "derive" ] | ||
|
||
[dependencies.tauri-plugin-http] | ||
version = "2.0.1" | ||
features = [ "unsafe-headers" ] | ||
|
||
[dependencies.tauri-plugin-sql] | ||
version = "2" | ||
features = [ "sqlite" ] | ||
|
||
[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies] | ||
tauri-plugin-autostart = "2.0.1" | ||
lazy_static = "1.4" | ||
screenshots = "0.5.4" | ||
base64 = "0.22.1" | ||
rodio = "0.17.3" | ||
|
||
|
||
[features] | ||
default = [ "custom-protocol" ] | ||
custom-protocol = [ "tauri/custom-protocol" ] | ||
# by default Tauri runs in production mode | ||
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is a URL | ||
default = ["custom-protocol"] | ||
# this feature is used for production builds where `devPath` points to the filesystem | ||
# DO NOT remove this | ||
custom-protocol = ["tauri/custom-protocol"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters