|
|
|
@ -92,11 +92,7 @@ pub struct HttpConfig {
|
|
|
|
|
/// Download all .crate files from a registry server.
|
|
|
|
|
#[derive(Deserialize, Parser)] |
|
|
|
|
#[serde(rename_all = "kebab-case")] |
|
|
|
|
#[clap(
|
|
|
|
|
author, |
|
|
|
|
version, |
|
|
|
|
global_setting(clap::AppSettings::DeriveDisplayOrder) |
|
|
|
|
)] |
|
|
|
|
#[clap(author, version, global_setting(clap::AppSettings::DeriveDisplayOrder))] |
|
|
|
|
pub struct Config { |
|
|
|
|
/// URL of the registry index we are downloading .crate files from. The
|
|
|
|
|
/// program expects that it will be able to clone the index to a local
|
|
|
|
|