ruxios 0.1.2

Ruxios is an HTTP library for Rust, inspired by Axios, with a simple yet robust interface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::collections::HashMap;

pub fn convert_map<K, V>(input: HashMap<K, V>) -> HashMap<String, String>
where
  K: Into<String>,
  V: Into<String>,
{
  input
    .into_iter()
    .map(|(k, v)| (k.into(), v.into()))
    .collect()
}