# SPDX-License-Identifier: LGPL-3.0-or-later # Copyright (C) 2021 Tobias Hunger [package] name = "downloader-for-babylonia-terminal" version = "0.1.0" authors = [ "Tobias Hunger ", "ALEZ-DEV ", ] edition = "2018" description = "A simple way to download things via HTTP/HTTPS" repository = "https://github.com/ALEZ-DEV/downloader" license = "LGPL-3.0-or-later" [features] default = ["default-tls"] tui = ["indicatif"] verify = ["digest"] # Pass down features to reqwest: default-tls = ["reqwest/default-tls"] rustls-tls = ["reqwest/rustls-tls"] [dependencies] futures = { version = "0.3" } reqwest = { version = "0.11", default-features = false } rand = { version = "0.8" } thiserror = { version = "1.0" } tokio = { version = "1.23", features = ["rt-multi-thread", "time"] } digest = { version = "0.10.1", optional = true } indicatif = { version = "0.17.2", optional = true } [dev-dependencies] sha3 = "0.10.0" # used in examples