Files
bili-shadowreplay/src-tauri/Cargo.toml

142 lines
3.1 KiB
TOML
Raw Normal View History

[workspace]
members = ["crates/danmu_stream"]
resolver = "2"
2023-04-08 15:33:41 +08:00
[package]
name = "bili-shadowreplay"
2025-09-09 23:10:39 +08:00
version = "2.12.4"
2024-09-01 13:04:14 +08:00
description = "BiliBili ShadowReplay"
2023-04-08 15:33:41 +08:00
authors = ["Xinrea"]
license = ""
repository = ""
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
danmu_stream = { path = "crates/danmu_stream" }
2023-04-08 15:33:41 +08:00
serde_json = "1.0"
reqwest = { version = "0.11", features = ["blocking", "json", "multipart"] }
2023-04-08 15:33:41 +08:00
serde_derive = "1.0.158"
serde = "1.0.158"
sysinfo = "0.32.0"
2023-04-08 15:33:41 +08:00
m3u8-rs = "5.0.3"
async-std = "1.12.0"
async-ffmpeg-sidecar = "0.0.1"
2024-09-23 16:26:07 +08:00
chrono = { version = "0.4.24", features = ["serde"] }
2023-04-08 15:33:41 +08:00
toml = "0.7.3"
regex = "1.7.3"
tokio = { version = "1.27.0", features = ["process"] }
2023-04-08 17:42:00 +08:00
platform-dirs = "0.3.0"
2023-05-25 00:32:55 +08:00
pct-str = "1.2.0"
md5 = "0.7.0"
2024-09-09 02:46:42 +08:00
hyper = { version = "0.14", features = ["full"] }
dashmap = "6.1.0"
2024-09-13 01:40:34 +08:00
urlencoding = "2.1.3"
log = "0.4.22"
simplelog = "0.12.2"
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite"] }
rand = "0.8.5"
2025-03-06 12:32:59 +08:00
base64 = "0.21"
mime_guess = "2.0"
2025-03-10 19:01:11 +08:00
async-trait = "0.1.87"
whisper-rs = "0.14.2"
hound = "3.5.1"
uuid = { version = "1.4", features = ["v4"] }
axum = { version = "0.7", features = ["macros", "multipart"] }
tower-http = { version = "0.5", features = ["cors", "fs"] }
2025-04-28 21:25:35 +08:00
futures-core = "0.3"
2025-04-29 17:48:50 +08:00
futures = "0.3"
2025-04-29 14:32:11 +08:00
tokio-util = { version = "0.7", features = ["io"] }
2025-04-30 02:27:22 +08:00
clap = { version = "4.5.37", features = ["derive"] }
2025-04-30 10:22:11 +08:00
url = "2.5.4"
srtparse = "0.2.0"
2025-09-11 01:25:45 +08:00
thiserror = "2"
2025-09-10 21:49:44 +08:00
deno_core = "0.355"
2023-04-08 15:33:41 +08:00
[features]
# this feature is used for production builds or when `devPath` points to the filesystem
# DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]
2025-03-29 11:19:01 +08:00
cuda = ["whisper-rs/cuda"]
2025-04-28 21:25:35 +08:00
headless = []
2025-05-01 03:02:45 +08:00
default = ["gui"]
2025-05-01 01:24:07 +08:00
gui = [
"tauri",
"tauri-plugin-single-instance",
"tauri-plugin-dialog",
"tauri-plugin-shell",
"tauri-plugin-fs",
"tauri-plugin-http",
2025-05-01 01:51:00 +08:00
"tauri-plugin-sql",
2025-05-01 01:24:07 +08:00
"tauri-utils",
"tauri-plugin-os",
"tauri-plugin-notification",
2025-07-29 00:59:21 +08:00
"tauri-plugin-deep-link",
2025-05-01 01:24:07 +08:00
"fix-path-env",
2025-05-01 03:02:45 +08:00
"tauri-build",
2025-05-01 01:24:07 +08:00
]
[dependencies.tauri]
version = "2"
features = ["protocol-asset", "tray-icon"]
optional = true
[dependencies.tauri-plugin-single-instance]
version = "2"
optional = true
2025-07-27 19:51:58 +08:00
features = ["deep-link"]
2025-05-01 01:24:07 +08:00
[dependencies.tauri-plugin-dialog]
version = "2"
optional = true
[dependencies.tauri-plugin-shell]
version = "2"
optional = true
[dependencies.tauri-plugin-fs]
version = "2"
optional = true
[dependencies.tauri-plugin-http]
version = "2"
optional = true
2025-05-01 01:51:00 +08:00
[dependencies.tauri-plugin-sql]
version = "2"
optional = true
features = ["sqlite"]
2025-05-01 01:24:07 +08:00
[dependencies.tauri-utils]
version = "2"
optional = true
[dependencies.tauri-plugin-os]
version = "2"
optional = true
[dependencies.tauri-plugin-notification]
version = "2"
optional = true
2025-07-29 00:59:21 +08:00
[dependencies.tauri-plugin-deep-link]
version = "2"
optional = true
2025-05-01 01:24:07 +08:00
[dependencies.fix-path-env]
git = "https://github.com/tauri-apps/fix-path-env-rs"
optional = true
[build-dependencies.tauri-build]
version = "2"
features = []
optional = true
2024-09-22 20:53:36 +08:00
2025-03-29 11:19:01 +08:00
[target.'cfg(windows)'.dependencies]
whisper-rs = { version = "0.14.2", default-features = false }
[target.'cfg(darwin)'.dependencies.whisper-rs]
version = "0.14.2"
features = ["metal"]