# 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 = "2018" name = "manic" version = "0.8.1" authors = ["x0f5c3 "] exclude = [".idea", ".gtm"] description = "Fast and simple downloads" readme = "README.md" keywords = ["download", "http", "async"] categories = ["asynchronous", "web-programming::http-client", "network-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/x0f5c3/manic" [package.metadata.docs.rs] all-features = true default-target = "x86_64-unknown-linux-gnu" targets = ["x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-pc-windows-gnu", "aarch64-unknown-linux-gnu"] [[bench]] name = "remote_benchmark" harness = false required-features = ["async"] [[bench]] name = "remote_threaded_benchmark" harness = false required-features = ["threaded"] [dependencies.bytes] version = "1.1.0" [dependencies.derive_builder] version = "0.10.2" [dependencies.derive_more] version = "0.99.16" features = ["display", "from", "error"] default-features = false [dependencies.futures] version = "0.3.17" optional = true [dependencies.futures-channel] version = "0.3.18" optional = true [dependencies.indicatif] version = "0.16.2" optional = true [dependencies.md-5] version = "0.9.1" [dependencies.rayon] version = "1.5.1" [dependencies.reqwest] version = "0.11.6" features = ["stream"] default-features = false [dependencies.rusty_pool] version = "0.6.0" optional = true default-features = false [dependencies.sha2] version = "0.9.8" [dependencies.thiserror] version = "1.0.30" [dependencies.tokio] version = "1.14.0" features = ["fs", "rt-multi-thread", "macros"] optional = true [dependencies.tracing] version = "0.1.28" features = ["log"] [dependencies.url] version = "2.2.2" [dev-dependencies.criterion] version = "0.3.5" features = ["async_tokio"] [dev-dependencies.log] version = "0.4.14" [dev-dependencies.pretty_env_logger] version = "0.4.0" [dev-dependencies.reqwest] version = "0.11.6" features = ["blocking"] default-features = false [dev-dependencies.tempfile] version = "3.2.0" [dev-dependencies.tokio] version = "1.12.0" features = ["macros"] [dev-dependencies.warp] version = "0.3.1" [features] async = ["tokio", "futures", "rustls"] default = ["rustls", "json", "progress", "async"] json = ["reqwest/json"] openssl = ["reqwest/native-tls"] progress = ["indicatif"] rustls = ["reqwest/rustls-tls"] threaded = ["reqwest/blocking", "rusty_pool", "rustls", "futures-channel"]