Fetches web features data from the web-features repository
(client: &Client)
| 91 | |
| 92 | /// Fetches web features data from the web-features repository |
| 93 | pub async fn get_web_features_data(client: &Client) -> Result<WebFeaturesData> { |
| 94 | let text = fetch_cached(client, WEB_FEATURES_DATA_URL, "web-features-data.extended.json").await?; |
| 95 | Ok(serde_json::from_str(&text)?) |
| 96 | } |
| 97 | |
| 98 | /// Gets a map of spec name to list of available versions |
| 99 | /// |