# 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 = "downloader-rs" version = "0.5.6" exclude = [ "/.github", "/.idea", "/res", ] description = "a simple file downloader for rust" homepage = "https://github.com/ilinchunjie/downloader-rs" documentation = "https://github.com/ilinchunjie/downloader-rs" readme = "README.md" license = "MIT" repository = "https://github.com/ilinchunjie/downloader-rs" [profile.dev] debug = 2 [profile.release] opt-level = "z" lto = true [dependencies.chrono] version = "0.4.31" [dependencies.futures] version = "0.3.29" features = ["async-await"] [dependencies.parking_lot] version = "0.12.1" [dependencies.reqwest] version = "0.11.20" features = [ "stream", "rustls-tls", ] [dependencies.tokio] version = "1.32.0" features = [ "bytes", "rt-multi-thread", "macros", ] [dependencies.tokio-util] version = "0.7.10" [dependencies.xxhash-rust] version = "0.8.7" features = ["xxh64"] [target."cfg(target_os = \"android\")".dependencies.openssl] version = "0.10.57" features = ["vendored"] [target."cfg(target_os = \"linux\")".dependencies.openssl] version = "0.10.57" features = ["vendored"] [target."cfg(target_os = \"macos\")".dependencies.openssl] version = "0.10.57" features = ["vendored"]