use reqwest::{ StatusCode, blocking::{Body, Client}, }; use serde::{Deserialize, Serialize}; use std::{ collections::BTreeSet, env, error::Error, fs::{File, OpenOptions}, io::Write, path::Path, process::Command, thread, time::Duration, }; #[derive(Debug, Deserialize)] struct Issue { number: u64, title: String, html_url: String, state: String, #[serde(default)] labels: Vec