# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "dn" version = "0.1.3" description = "这是一个使用 Rust 编写的多线程下载工具,支持断点下载和重试功能。通过该工具,你可以高效地下载文件,充分利用多线程提升下载速度,同时在下载过程中支持断点续传,保证下载的稳定性和可靠性。" homepage = "https://github.com/franticxx/dn.git" readme = "README.md" license = "MIT" [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" strip = true [dependencies.anyhow] version = "1.0.75" [dependencies.clap] version = "4.4.7" features = ["derive"] [dependencies.futures] version = "0.3.28" [dependencies.indicatif] version = "0.17.7" features = ["tokio"] [dependencies.once_cell] version = "1.19.0" [dependencies.reqwest] version = "0.11.22" features = ["stream"] [dependencies.serde] version = "1.0.193" features = ["derive"] [dependencies.serde_json] version = "1.0.108" [dependencies.sled] version = "0.34.7" [dependencies.tokio] version = "1.33.0" features = [ "macros", "rt-multi-thread", ]