use firerust::FirebaseClient; use std::error::Error; use serde_json::Value; fn main() -> Result<(), Box> { let mut client = FirebaseClient::new(std::env::var("FIREBASE_URL")?)?; client.auth(std::env::var("FIREBASE_ID_TOKEN")?); let reference = client.reference("/"); println!("{:?}", reference.get::()?); Ok(()) }