downlowd 0.1.1

Download files with automatic retries and resumes.
# 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 = "2024"
name = "downlowd"
version = "0.1.1"
authors = ["Jason Walton <dev@lucid.thedreaming.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Download files with automatic retries and resumes."
readme = "README.md"
keywords = [
    "download",
    "http",
]
categories = ["web-programming::http-client"]
license = "MIT"
repository = "https://github.com/jwalton/rs-downlowd"

[package.metadata.docs.rs]
all-features = true

[features]
async = [
    "dep:tokio",
    "dep:reqwest",
    "dep:url",
]
blocking = ["dep:ureq"]
default = ["async"]

[lib]
name = "downlowd"
path = "src/lib.rs"

[[example]]
name = "dl"
path = "examples/dl.rs"

[[example]]
name = "dl-blocking"
path = "examples/dl-blocking.rs"

[[test]]
name = "test"
path = "tests/test.rs"

[dependencies.bytes]
version = "1.10.1"

[dependencies.http]
version = "1.3.1"

[dependencies.reqwest]
version = "0.12.22"
optional = true

[dependencies.sync_executor]
version = "0.1.0"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.47.1"
features = [
    "fs",
    "macros",
]
optional = true

[dependencies.ureq]
version = "3.1.2"
optional = true

[dependencies.url]
version = "2.5.7"
optional = true

[dependencies.urlencoding]
version = "2.1.3"

[dev-dependencies.httptest]
version = "0.16.3"

[dev-dependencies.indicatif]
version = "0.18.0"

[dev-dependencies.rand]
version = "0.9.2"

[dev-dependencies.temp-dir]
version = "0.1.16"

[dev-dependencies.tokio]
version = "1.47.1"
features = [
    "rt-multi-thread",
    "time",
    "net",
]

[dev-dependencies.tokio-test]
version = "0.4.4"

[dev-dependencies.ureq]
version = "3.1.2"