# 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 = "cached-path" version = "0.6.1" authors = ["epwalsh "] description = "Download and cache HTTP resources." homepage = "https://github.com/epwalsh/rust-cached-path" readme = "README.md" keywords = [ "http", "caching", ] categories = ["caching"] license = "Apache-2.0" repository = "https://github.com/epwalsh/rust-cached-path" [lib] name = "cached_path" path = "src/lib.rs" [[bin]] name = "cached-path" path = "src/main.rs" doc = false required-features = ["build-binary"] [dependencies.color-eyre] version = "0.6" optional = true [dependencies.env_logger] version = "0.10" optional = true [dependencies.flate2] version = "1.0" [dependencies.fs2] version = "0.4" [dependencies.glob] version = "0.3" [dependencies.indicatif] version = "0.16" [dependencies.log] version = "0.4" [dependencies.rand] version = "0.8" [dependencies.reqwest] version = "0.11.0" features = ["blocking"] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10" [dependencies.structopt] version = "0.3" optional = true [dependencies.tar] version = "0.4" [dependencies.tempfile] version = "3.1" [dependencies.thiserror] version = "1.0" [dependencies.zip] version = "0.6" [dev-dependencies.assert_cmd] version = "1.0" [dev-dependencies.httpmock] version = "0.5" [dev-dependencies.predicates] version = "2.1" [features] build-binary = [ "env_logger", "structopt", "color-eyre", ] default = ["default-tls"] default-tls = ["reqwest/default-tls"] rustls-tls = ["reqwest/rustls-tls"]