Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/therustmonk/vectorize
vectorize crate
https://github.com/therustmonk/vectorize
Last synced: 2 days ago
JSON representation
vectorize crate
- Host: GitHub
- URL: https://github.com/therustmonk/vectorize
- Owner: therustmonk
- Created: 2021-04-04T09:55:14.000Z (almost 4 years ago)
- Default Branch: trunk
- Last Pushed: 2021-07-05T08:14:30.000Z (over 3 years ago)
- Last Synced: 2025-01-02T01:12:33.250Z (7 days ago)
- Language: Rust
- Size: 3.91 KB
- Stars: 7
- Watchers: 2
- 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>,
}```