Skip to main content

default_registry_url

Function default_registry_url 

Source
pub fn default_registry_url(project_dir: &Path) -> Option<String>
Expand description

Resolve the effective default registry URL for a project.

Reads bock.project in project_dir. If the file is missing or lacks a [registries] section, returns None — callers should fall back to the in-memory registry in that case.