Skip to main content

register_core_faker_provider

Function register_core_faker_provider 

Source
pub fn register_core_faker_provider()
Expand description

Register the mockforge-data backed faker provider with core templating.

This function is intentionally a no-op. The original implementation was disabled to break a circular dependency between mockforge-core and mockforge-data. Faker functionality is instead provided directly by mockforge-core’s built-in template expansion, which handles {{faker.*}} placeholders without requiring a separate provider registration.

Callers (mockforge-http, mockforge-ws, mockforge-grpc) invoke this behind #[cfg(feature = "data-faker")] for forward compatibility if provider registration is re-enabled in the future.