use creditservice_client::{AuthConfig, ClientBuilder}; #[tokio::main] async fn main() -> Result<(), Box> { // Connect to CreditService with default retry/backoff and no auth. let mut client = ClientBuilder::new("http://127.0.0.1:50055") .auth(AuthConfig::None) .build() .await?; // Example: check quota call let _ = client .check_quota("project-1", creditservice_client::ResourceType::Vm, 1, 0) .await; println!("CreditService client ready"); Ok(()) }