mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-22 16:07:49 +08:00
196 lines
5.3 KiB
TOML
196 lines
5.3 KiB
TOML
[package]
|
|
name = "clash-nyanpasu"
|
|
version = "0.1.0"
|
|
description = "clash verge"
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
repository = { workspace = true }
|
|
default-run = "clash-nyanpasu"
|
|
edition = { workspace = true }
|
|
build = "build.rs"
|
|
|
|
[lib]
|
|
name = "app_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.0.0-rc", features = [] }
|
|
serde = "1"
|
|
simd-json = "0.14.0-rc.3"
|
|
chrono = "0.4"
|
|
rustc_version = "0.4"
|
|
semver = "1.0"
|
|
|
|
[dependencies]
|
|
nyanpasu-ipc = { git = "https://github.com/LibNyanpasu/nyanpasu-service.git", features = [
|
|
"client",
|
|
] }
|
|
nyanpasu-utils = { git = "https://github.com/LibNyanpasu/nyanpasu-utils.git" }
|
|
nyanpasu-macro = { path = "../nyanpasu-macro" }
|
|
boa_utils = { path = "../boa_utils" } # should be removed when boa support console customize
|
|
pretty_assertions = "1.4.0"
|
|
which = "6"
|
|
anyhow = "1.0"
|
|
ambassador = "0.4.1"
|
|
dirs = "5.0.1"
|
|
open = "5.0.1"
|
|
log = "0.4.20"
|
|
ctrlc = "3.4.2"
|
|
dunce = "1.0.4"
|
|
nanoid = "0.4.0"
|
|
chrono = "0.4.31"
|
|
sysinfo = "0.32"
|
|
sysproxy = { git = "https://github.com/LibNyanpasu/sysproxy-rs.git", version = "0.3" }
|
|
serde_json = "1.0"
|
|
serde_yaml = { version = "0.10", package = "serde_yaml_ng", git = "https://github.com/libnyanpasu/serde-yaml-ng.git" }
|
|
auto-launch = { git = "https://github.com/zzzgydi/auto-launch.git", version = "0.5" }
|
|
once_cell = "1.19.0"
|
|
port_scanner = "0.1.5"
|
|
delay_timer = { version = "0.11", git = "https://github.com/libnyanpasu/delay-timer.git" }
|
|
parking_lot = { version = "0.12.1" }
|
|
tokio = { version = "1", features = ["full"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
reqwest = { version = "0.12", features = ["json", "rustls-tls", "stream"] }
|
|
relative-path = "1.9"
|
|
axum = "0.7"
|
|
mime = "0.3"
|
|
bincode = "1"
|
|
bytes = { version = "1", features = ["serde"] }
|
|
semver = "1.0"
|
|
zip = "2.0.0"
|
|
zip-extensions = "0.8.0"
|
|
flate2 = "1.0"
|
|
tempfile = "3.9.0"
|
|
glob = "0.3.1"
|
|
async-trait = "0.1.77"
|
|
dyn-clone = "1.0.16"
|
|
rs-snowflake = "0.6"
|
|
thiserror = { workspace = true }
|
|
simd-json = "0.14.0-rc.3"
|
|
runas = { git = "https://github.com/libnyanpasu/rust-runas.git" }
|
|
backon = { version = "1.0.1", features = ["tokio-sleep"] }
|
|
rust-i18n = "3"
|
|
adler = "1.0.2"
|
|
rfd = { version = "0.15", default-features = false, features = [
|
|
"tokio",
|
|
"gtk3",
|
|
"common-controls-v6",
|
|
] }
|
|
indexmap = { version = "2.2.3", features = ["serde"] }
|
|
tracing = { workspace = true }
|
|
tracing-attributes = "0.1"
|
|
tracing-futures = "0.2"
|
|
tracing-subscriber = { version = "0.3", features = [
|
|
"env-filter",
|
|
"json",
|
|
"parking_lot",
|
|
] }
|
|
tracing-error = "0.2"
|
|
tracing-log = { version = "0.2" }
|
|
tracing-appender = { version = "0.2", features = ["parking_lot"] }
|
|
base64 = "0.22"
|
|
single-instance = "0.3.3"
|
|
uuid = "1.7.0"
|
|
image = "0.25.0"
|
|
fast_image_resize = "5"
|
|
display-info = "0.5.0" # should be removed after upgrading to tauri v2
|
|
dashmap = "6"
|
|
clap = { version = "4.5.4", features = ["derive"] } # add supports for commands
|
|
percent-encoding = "2.3.1"
|
|
fs_extra = "1.3.0"
|
|
redb = "2.0.0"
|
|
regex = "1.10.4"
|
|
futures = "0.3"
|
|
num_cpus = "1"
|
|
url = "2"
|
|
derive_builder = "0.20"
|
|
test-log = { version = "0.2.16", features = ["trace"] }
|
|
md-5 = "0.10.6"
|
|
hex = "0.4"
|
|
rand = "0.8"
|
|
colored = "2.1.0"
|
|
timeago = "0.4"
|
|
ansi-str = "0.8"
|
|
humansize = "2.1.3"
|
|
convert_case = "0.6.0"
|
|
os_pipe = "1.2.0"
|
|
whoami = "1.5.1"
|
|
atomic_enum = "0.3.0"
|
|
boa_engine.workspace = true
|
|
oxc_parser = "0.31"
|
|
oxc_allocator = "0.31"
|
|
oxc_span = "0.31"
|
|
oxc_ast = "0.31"
|
|
oxc_syntax = "0.31"
|
|
mlua = { version = "0.9", features = [
|
|
"lua54",
|
|
"async",
|
|
"serialize",
|
|
"parking_lot",
|
|
"vendored",
|
|
] }
|
|
enumflags2 = "0.7"
|
|
sha2 = "0.10"
|
|
bimap = "0.6.3"
|
|
itertools = "0.13.0"
|
|
rayon = "1.10"
|
|
|
|
# Tauri Dependencies
|
|
tauri = { version = "2.0.1", features = [
|
|
"tray-icon",
|
|
"image-png",
|
|
"image-ico",
|
|
] }
|
|
tauri-plugin-deep-link = { path = "../tauri-plugin-deep-link", version = "0.1.2" } # This should be migrated to official tauri plugin
|
|
tauri-plugin-os = "2.0.1"
|
|
tauri-plugin-clipboard-manager = "2.0.1"
|
|
tauri-plugin-fs = "2.0.1"
|
|
tauri-plugin-dialog = "2.0.1"
|
|
tauri-plugin-process = "2.0.1"
|
|
tauri-plugin-updater = "2.0.2"
|
|
tauri-plugin-shell = "2.0.1"
|
|
tauri-plugin-notification = "2.0.1"
|
|
window-vibrancy = { version = "0.5.2" }
|
|
strum = { version = "0.26", features = ["derive"] }
|
|
|
|
[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
|
|
tauri-plugin-global-shortcut = "2.0.1"
|
|
|
|
[target.'cfg(all(target_os = "linux", target_arch = "aarch64"))'.dependencies]
|
|
openssl = { version = "0.10", features = ["vendored"] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = "0.5.2"
|
|
objc2-app-kit = { version = "0.2.2", features = [
|
|
"NSApplication",
|
|
"NSResponder",
|
|
"NSRunningApplication",
|
|
"NSWindow",
|
|
"NSView",
|
|
] }
|
|
objc2-foundation = { version = "0.2.2", features = ["NSGeometry"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
nix = { version = "0.29.0", features = ["user", "fs"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
deelevate = "0.2.0"
|
|
winreg = { version = "0.52", features = ["transactions"] }
|
|
windows-registry = "0.3"
|
|
windows-sys = { version = "0.59", features = [
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_SystemInformation",
|
|
] }
|
|
windows-core = "0.58.0"
|
|
webview2-com = "0.33"
|
|
|
|
[features]
|
|
default = ["custom-protocol", "default-meta"]
|
|
nightly = ["devtools", "deadlock-detection"]
|
|
custom-protocol = ["tauri/custom-protocol"]
|
|
verge-dev = []
|
|
default-meta = []
|
|
devtools = ["tauri/devtools"]
|
|
deadlock-detection = ["parking_lot/deadlock_detection"]
|
|
openssl_vendored = ["openssl/vendored"]
|