cargo add miru-config-client
Option 1: SDK Key
use miru_config_client::{Client}; let client = Client::new_from_sdk_key( "your-sdk-key", "your-client-id", );
Option 2: Certificate
let client = Client::new_from_certificate( "./path/to/ca.pem", "./path/to/cert.pem", "./path/to/key.pem", );
Option 1: Write the config to the filesystem
client.write_config( "motion-control-config", "./path/to/config/schema.yaml", "./path/to/place/config.yaml" );
Option 2: Get the config as a struct
let motion_control_config = client.get_config( "motion-control-config", "./path/to/config/schema.yaml" );