# 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 = "rustup-private-download" version = "1.25.1" authors = ["Brian Anderson "] description = "The download functionality for rustup" license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/rustup/tree/master/download" resolver = "2" [dependencies.anyhow] version = "1.0.31" [dependencies.curl] version = "0.4.11" optional = true [dependencies.env_proxy] version = "0.4.1" optional = true [dependencies.lazy_static] version = "1.0" optional = true [dependencies.reqwest] version = "0.11" features = ["blocking", "gzip", "socks"] optional = true default-features = false [dependencies.thiserror] version = "1.0" [dependencies.url] version = "2.1" [dev-dependencies.hyper] version = "0.14" features = ["tcp", "server"] default-features = false [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "1" features = ["sync"] default-features = false [features] curl-backend = ["curl"] default = ["reqwest-backend", "reqwest-rustls-tls", "reqwest-default-tls"] reqwest-backend = ["reqwest", "env_proxy", "lazy_static"] reqwest-default-tls = ["reqwest/default-tls"] reqwest-rustls-tls = ["reqwest/rustls-tls-native-roots"]