Registry / utility / sid-vec

sid-vec

JSON →
library0.2.1rscratesunverified

Tiny library providing id types and an id-based vector.

# Cargo.toml [dependencies] sid_vec = "0.2.1"
INSTALL
IMPORT
SIG · SID-VEC
S
sid-vec
utilityrustv0.2.1
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.

IdVec
use sid_vec::IdVec;

Creates an id-based vector and inserts an element.

use sid_vec::IdVec; fn main() { let mut vec: IdVec<String> = IdVec::new(); let id = vec.push("hello".to_string()); println!("Value: {}", vec[id]); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
sid-vec — cargo add sid-vec · libregistry