https://github.com/therustmonk/vectorize
vectorize crate
https://github.com/therustmonk/vectorize
Last synced: 3 months ago
JSON representation
vectorize crate
- Host: GitHub
- URL: https://github.com/therustmonk/vectorize
- Owner: therustmonk
- Created: 2021-04-04T09:55:14.000Z (over 4 years ago)
- Default Branch: trunk
- Last Pushed: 2021-07-05T08:14:30.000Z (about 4 years ago)
- Last Synced: 2025-04-14T00:12:18.352Z (3 months ago)
- Language: Rust
- Size: 3.91 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vectorize
Converts maps to vecs for serialization.
Usage:
```rust
#[derive(Deserialize, Serialize)]
struct MyStruct {
ordinary_field: String,
#[serde(with = "vectorize")]
no_string_key_map: HashMap<(u8, bool, String), String>,
}```