Registry / utility / zerovec

zerovec

JSON →
library0.11.6rscratesunverified

Zero-copy vector backed by a byte array.

# Cargo.toml [dependencies] zerovec = "0.11.6"
INSTALL
IMPORT
SIG · ZEROVEC
Z
zerovec
utilityrustv0.11.6
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.

ZeroVec
use zerovec::ZeroVec;

Creates a zero-copy vector from a slice.

use zerovec::ZeroVec; fn main() { let zv: ZeroVec<u32> = ZeroVec::from_slice_or_alloc(&[1, 2, 3]); println!("Length: {}", zv.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.11.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
26
OpenAI (training)
1
Resources
zerovec — cargo add zerovec · libregistry