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:
@@ -29,10 +29,10 @@
|
|||||||
* Errors are logged and the process exits with code 1 on failure.
|
* 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 fs from "fs/promises";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import { program } from "commander";
|
|
||||||
import { execSync } from "child_process";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取当前 git 短 commit hash
|
* 获取当前 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"
|
tauri-plugin-http = "2"
|
||||||
flexi_logger = "0.31.2"
|
flexi_logger = "0.31.2"
|
||||||
cfg-if = "1.0.3"
|
cfg-if = "1.0.3"
|
||||||
|
nu-ansi-term = { version = "0.50.1", optional = true }
|
||||||
[dependencies.nu-ansi-term]
|
console-subscriber = { version = "0.4.1", optional = true }
|
||||||
version = "0.50.1"
|
tauri-plugin-devtools = { version = "2.0.1" }
|
||||||
optional = true
|
|
||||||
|
|
||||||
[dependencies.console-subscriber]
|
|
||||||
version = "0.4.1"
|
|
||||||
optional = true
|
|
||||||
|
|
||||||
[dependencies.tauri-plugin-devtools]
|
|
||||||
version = "2.0.1"
|
|
||||||
optional = true
|
|
||||||
|
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
@@ -126,9 +117,9 @@ tauri-plugin-updater = "2.9.0"
|
|||||||
[features]
|
[features]
|
||||||
default = ["custom-protocol"]
|
default = ["custom-protocol"]
|
||||||
custom-protocol = ["tauri/custom-protocol"]
|
custom-protocol = ["tauri/custom-protocol"]
|
||||||
verge-dev = ["dep:nu-ansi-term"]
|
verge-dev = ["nu-ansi-term"]
|
||||||
tauri-dev = ["dep:tauri-plugin-devtools"]
|
tauri-dev = []
|
||||||
tokio-trace = ["dep:console-subscriber"]
|
tokio-trace = ["console-subscriber"]
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
panic = "abort"
|
panic = "abort"
|
||||||
|
|||||||
Reference in New Issue
Block a user