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

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

Fields

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 endpoint for the registry. This is what's actually hit to perform operations like yanks, owner modifications, publish new crates, etc.