Struct cargo::sources::registry::RegistryConfig [] [src]

pub struct RegistryConfig {
    pub dl: String,
    pub api: String,
}

Fields

dl

Download endpoint for all crates. This will be appended with /<crate>/<version>/download and then will be hit with an HTTP GET request to download the tarball for a crate.

api

API endpoint for the registry. This is what's actually hit to perform operations like yanks, owner modifications, publish new crates, etc.

Trait Implementations

Derived Implementations

impl Decodable for RegistryConfig
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<RegistryConfig, __D::Error>