Skip to main content

registry_token_from_env

Function registry_token_from_env 

Source
pub fn registry_token_from_env(
    registry: Option<&str>,
) -> Result<Option<SecretString>>
Expand description

Read credentials for a specific registry using environment variables. https://doc.rust-lang.org/cargo/reference/registry-authentication.html#cargotoken