pub async fn load_dictionary(source: &str, http: &Client) -> Result<Vec<u8>>Expand description
Load a ZSTD dictionary from a local path or URL.
- If
sourceis a local file path → load directly. - If
sourceis an HTTP(S) URL → download and cache under~/.cache/atrg/. - Returns the raw bytes of the dictionary.