{
  "name": "forge-provider-platforms",
  "language": "rust",
  "version": "0.2.0",
  "description": "Official direct-provider and gateway adapters for the Forge SDK",
  "manifest": "forge-rs/crates/forge-provider-platforms/Cargo.toml",
  "manifestSha256": "a3cace21f89f274728c814a24c96b0d2d1c1867fbbc8494c9f6887149f47bccd",
  "status": "source-reference",
  "registryPublicationVerified": false,
  "route": "/libraries/rust/forge-provider-platforms",
  "features": {},
  "files": [
    {
      "path": "forge-rs/crates/forge-provider-platforms/src/lib.rs",
      "sha256": "092754cb834f0ceaed06cfd6c11a403aa7c4eedd6b774b1f804325f47edf31b1",
      "artifactSha256": "22e152bbac8f86c64fb4aef611dafa3febc724acaf33598ca67b605c4fe22103",
      "url": "/reference/source/forge-rs/crates/forge-provider-platforms/src/lib.rs.txt",
      "declarations": [
        {
          "name": "::ProviderFamily",
          "line": 61,
          "signature": "#[derive(Debug, Clone, Copy, PartialEq, Eq)]\npub enum ProviderFamily {\n    DirectModel,\n    Gateway,\n}",
          "documentation": ""
        },
        {
          "name": "::AuthStrategy",
          "line": 67,
          "signature": "#[derive(Debug, Clone, Copy, PartialEq, Eq)]\npub enum AuthStrategy {\n    ApiKey,\n    AccessToken,\n    BrowserAccountLogin,\n    CloudCredentials,\n}",
          "documentation": ""
        },
        {
          "name": "::ProviderPreset",
          "line": 75,
          "signature": "#[derive(Debug, Clone, PartialEq, Eq)]\npub struct ProviderPreset {\npub namespace: &'static str,\npub family: ProviderFamily,\npub auth_strategy: AuthStrategy\n}",
          "documentation": ""
        },
        {
          "name": "::approved_direct_provider_presets",
          "line": 81,
          "signature": "pub fn approved_direct_provider_presets() -> Vec<ProviderPreset>;",
          "documentation": ""
        },
        {
          "name": "::approved_gateway_provider_presets",
          "line": 141,
          "signature": "pub fn approved_gateway_provider_presets() -> Vec<ProviderPreset>;",
          "documentation": ""
        },
        {
          "name": "::register_default_core_direct_providers",
          "line": 172,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_default_core_direct_providers(registry: &mut ProviderRegistry) -> ForgeResult<()>;",
          "documentation": ""
        },
        {
          "name": "::register_openai_model",
          "line": 180,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_openai_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_anthropic_model",
          "line": 200,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_anthropic_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_google_model",
          "line": 219,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_google_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_xai_model",
          "line": 238,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_xai_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_deepseek_model",
          "line": 253,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_deepseek_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_mistral_model",
          "line": 268,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_mistral_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_cohere_model",
          "line": 283,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_cohere_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_groq_model",
          "line": 298,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_groq_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_moonshot_model",
          "line": 313,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_moonshot_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_zai_model",
          "line": 328,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_zai_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_minimax_model",
          "line": 343,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_minimax_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_openrouter_model",
          "line": 358,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_openrouter_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_bedrock_model",
          "line": 373,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_bedrock_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_vertex_ai_model",
          "line": 388,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_vertex_ai_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_microsoft_foundry_model",
          "line": 403,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_microsoft_foundry_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        },
        {
          "name": "::register_foundry_model",
          "line": 418,
          "signature": "#[cfg(not(target_arch = \"wasm32\"))]\npub fn register_foundry_model(\n    registry: &mut ProviderRegistry,\n    model_id: impl Into<String>,\n) -> ForgeResult<String>;",
          "documentation": ""
        }
      ]
    }
  ]
}
