Skip to main content

create_provider

Function create_provider 

Source
pub fn create_provider(
    config: &ProviderConfig,
    proxy: Option<&ProxyConfig>,
) -> Result<Box<dyn Provider>>
Expand description

Create a provider instance from a typed ProviderConfig.

Provider is created on the stack — cheap and stateless. The scope determines which project/repo/list is targeted.

§Unsupported scopes

Group, Organization, and Global scopes are not yet implemented. They will be added when cross-project queries are needed.