Cargo.toml
Rama main · réplica de lectura del repositorio original.
[package]
name = "musicflow"
version = "0.2.0"
edition = "2021"
description = "音乐搜索下载入库工具(Rust 版,下载内核基于 melodl)"
license = "MIT"
[[bin]]
name = "musicflow"
path = "src/main.rs"
[dependencies]
# 下载内核:musicdl 的 Rust 复刻版
melodl = { git = "https://github.com/pingfury108/melodl.git", branch = "main" }
# web
axum = "0.8"
tokio = { version = "1", features = ["full"] }
tower-http = { version = "0.6", features = ["fs"] }
# data
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# http(网易云元数据接口)
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
# utils
futures = "0.3"
regex = "1"
uuid = { version = "1", features = ["v4"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[profile.release]
lto = true
codegen-units = 1
strip = true