use postgrest::Postgrest; #[tokio::main] async fn main() -> Result<(), Box> { let client = Postgrest::new("http://localhost:3000"); let resp = client.from("todos").select("*").execute().await?; println!("{}", resp.text().await?); Ok(()) }