query_parameters 0.1.0

Provides a macro to generate url query parameters.
Documentation
1
2
3
4
5
6
7
8
9
use query_parameters::query_params;

fn main() {
    let str = query_params! {
        "hello" => "world",
        //"foo" => String::from("lol"),
        "baz" => [ "hello", "world" ]
    };
}