Deserialize maps or JSON objects in [serde] to a vec of tuples rather than a HashMap for when you're only ever going to iterate over the result.
Don't waste space and time making a whole HashMap when you will never use it!
To use, instead of:
```rust
struct MyStuff {
data: HashMap
```
You can write:
```rust
struct MyStuff { #[serde(with = "tuplevecmap")] data: Vec<(String, ValueType)>, } ```
Similar to [serde], serde-tuple-vec-map supports the use of no_std
with collections::Vec
.
To enable this, simply depend on serde-tuple-vec-map
with default-features = false
.
Full usage example in tests/integration.rs
, documentation here.