fix: Cargo.toml dependencies option (#4805)
* chore: update cargo lock * refactor: streamline dependency declarations in Cargo.toml * refactor: reorder import statements and comment out Cargo.toml version update * fix: enable Cargo version update in release script and update tauri-plugin-devtools dependency
This commit is contained in:
committed by
GitHub
Unverified
parent
d9a5c11d6a
commit
1cf8e2384e
@@ -29,10 +29,10 @@
|
||||
* Errors are logged and the process exits with code 1 on failure.
|
||||
*/
|
||||
|
||||
import { execSync } from "child_process";
|
||||
import { program } from "commander";
|
||||
import fs from "fs/promises";
|
||||
import path from "path";
|
||||
import { program } from "commander";
|
||||
import { execSync } from "child_process";
|
||||
|
||||
/**
|
||||
* 获取当前 git 短 commit hash
|
||||
|
||||
792
src-tauri/Cargo.lock
generated
792
src-tauri/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -83,18 +83,9 @@ backoff = { version = "0.4.0", features = ["tokio"] }
|
||||
tauri-plugin-http = "2"
|
||||
flexi_logger = "0.31.2"
|
||||
cfg-if = "1.0.3"
|
||||
|
||||
[dependencies.nu-ansi-term]
|
||||
version = "0.50.1"
|
||||
optional = true
|
||||
|
||||
[dependencies.console-subscriber]
|
||||
version = "0.4.1"
|
||||
optional = true
|
||||
|
||||
[dependencies.tauri-plugin-devtools]
|
||||
version = "2.0.1"
|
||||
optional = true
|
||||
nu-ansi-term = { version = "0.50.1", optional = true }
|
||||
console-subscriber = { version = "0.4.1", optional = true }
|
||||
tauri-plugin-devtools = { version = "2.0.1" }
|
||||
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
@@ -126,9 +117,9 @@ tauri-plugin-updater = "2.9.0"
|
||||
[features]
|
||||
default = ["custom-protocol"]
|
||||
custom-protocol = ["tauri/custom-protocol"]
|
||||
verge-dev = ["dep:nu-ansi-term"]
|
||||
tauri-dev = ["dep:tauri-plugin-devtools"]
|
||||
tokio-trace = ["dep:console-subscriber"]
|
||||
verge-dev = ["nu-ansi-term"]
|
||||
tauri-dev = []
|
||||
tokio-trace = ["console-subscriber"]
|
||||
|
||||
[profile.release]
|
||||
panic = "abort"
|
||||
|
||||
Reference in New Issue
Block a user