3 unstable releases

new 0.3.0 Jan 12, 2025
0.2.2 Jan 10, 2025
0.1.2 Jan 10, 2025
0.0.2 Jan 10, 2025

#605 in Data structures

Download history 1026/week @ 2025-01-07

1,026 downloads per month

MIT OR MPL-2.0

27KB
125 lines

multidict

Logo.png

Crates.io Version Crates.io Downloads (latest version) Crates.io MSRV Static Badge

Build Doc Tests Clippy Build Dev Build Release

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

No runtime deps