use oomclient::Client; #[tokio::main] async fn main() -> Result<(), Box> { let mut client = Client::connect("http://localhost:50051").await?; let keys = vec!["19".into(), "48".into(), "38".into()]; let features = vec!["account.state".into(), "transaction_stats.transaction_count_7d".into()]; let response = client.online_multi_get_raw(keys.clone(), features.clone()).await?; println!("RESPONSE={:#?}", response); let response = client.online_multi_get(keys, features).await?; println!("RESPONSE={:#?}", response); Ok(()) }