3 unstable releases
new 0.3.0 | Jan 12, 2025 |
---|---|
0.2.2 | Jan 10, 2025 |
0.1.2 |
|
0.0.2 |
|
#605 in Data structures
1,026 downloads per month
27KB
125 lines
multidict
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
How to install?
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"
How to test?
Run full tests (with docstrings):
cargo test
Or only project specified tests:
cargo test --tests