ewe_devserver 0.0.2

The devserver implementation that allows easy wrapping of a reverse proxy server
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// VecStringExt implements convenient methods to extract a Vec<String> from
/// any Vec<&str> type.
pub trait VecStringExt {
    fn to_vec_string(self) -> Vec<String>;
}

impl VecStringExt for Vec<&str> {
    fn to_vec_string(self) -> Vec<String> {
        self.iter().map(|item| String::from(*item)).collect()
    }
}