MCPcopy Create free account
hub / github.com/csskit/csskit / get_web_features_data

Function get_web_features_data

crates/csskit_spec_generator/src/fetch_cached.rs:93–96  ·  view source on GitHub ↗

Fetches web features data from the web-features repository

(client: &Client)

Source from the content-addressed store, hash-verified

91
92/// Fetches web features data from the web-features repository
93pub 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///

Callers 1

mainFunction · 0.85

Calls 1

fetch_cachedFunction · 0.85

Tested by

no test coverage detected