dn 0.1.3

这是一个使用 Rust 编写的多线程下载工具,支持断点下载和重试功能。通过该工具,你可以高效地下载文件,充分利用多线程提升下载速度,同时在下载过程中支持断点续传,保证下载的稳定性和可靠性。
[package]
name = "dn"
version = "0.1.3"
edition = "2021"
description = "这是一个使用 Rust 编写的多线程下载工具,支持断点下载和重试功能。通过该工具,你可以高效地下载文件,充分利用多线程提升下载速度,同时在下载过程中支持断点续传,保证下载的稳定性和可靠性。"
license = "MIT"
homepage = "https://github.com/franticxx/dn.git"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.75"
clap = { version = "4.4.7", features = ["derive"] }
futures = "0.3.28"
indicatif = { version = "0.17.7", features = ["tokio"] }
once_cell = "1.19.0"
reqwest = { version = "0.11.22", features = ["stream"] }
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
sled = "0.34.7"
tokio = { version = "1.33.0", features = ["macros", "rt-multi-thread"] }


[profile.release]
strip = true
lto = true
codegen-units = 1
opt-level = "z"
panic = "abort"