use async_std::task; use azure_app_configuration::client::AzureAppConfigClient; use azure_app_configuration::search_label::SearchLabel; fn main() { task::block_on(async { let app_config_client = AzureAppConfigClient::new( "https://lande-app-configuration.azconfig.io", "0-l9-s0:Z6DMwn2DoiKxgVsTIm7h", "wgf9BDWeh/+Dtq8DmpsJSUpwrdgYLrXG8svE+VyM06w=", ); let kv = app_config_client .set_key( "ConnectionString", "Server=dummy;user id=user;password=fakepass", SearchLabel::For("Application1"), None, None, ) .await; println!("{:?}", kv); }) }