()
| 2 | |
| 3 | #[tokio::main] |
| 4 | async fn main() -> Result<(), Box<dyn std::error::Error>> { |
| 5 | let resp = reqwest::get("https://httpbin.org/ip") |
| 6 | .await? |
| 7 | .json::<HashMap<String, String>>() |
| 8 | .await?; |
| 9 | println!("{:#?}", resp); |
| 10 | Ok(()) |
| 11 | } |
nothing calls this directly
no outgoing calls
no test coverage detected