The multidict
crate was inspired by Python MultiDict
library.
multidict
is useful for working with HTTP headers, URL query, form-data args etc.
HTTP Headers and URL query string require specific data structure: multidict
.
It behaves mostly like a regular map but it may have several values for the same key and preserves insertion ordering
We recommend using the latest version of Rust. multidict
supports Rust 2021.
Install by Cargo command:
cargo add multidict
Add line in your Cargo.toml
file:
multidict = "0.0.1"
Run full tests (with docstrings):
cargo test
Or only project specified tests:
cargo test --tests