Registry / utility / vec-map

vec-map

JSON →
library0.8.2rscratesunverified

A simple map based on a vector for small integer keys.

# Cargo.toml [dependencies] vec_map = "0.8.2"
INSTALL
IMPORT
SIG · VEC-MAP
V
vec-map
utilityrustv0.8.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

VecMap
use vec_map::VecMap;

Create a VecMap, insert entries, and retrieve a value.

use vec_map::VecMap; fn main() { let mut map = VecMap::new(); map.insert(0, "hello"); map.insert(1, "world"); println!("{:?}", map.get(&0)); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
vec-map — cargo add vec-map · libregistry