pub fn encode_query(pairs: &[(&str, &str)]) -> StringExpand description
Minimal URL-query encoder for the (key, value) pairs the chart
endpoints take. Avoids pulling in serde_urlencoded just to
stringify a handful of params — keeps the handler simple.