0.3.0 |
|
---|---|
0.2.0 |
|
0.1.0 |
|
#17 in #vs
42KB
733 lines
VecFile
A Vec-type collection that sits in a file vs in memory. Has many of the same operations as Vec, and has some optional protections against Read/Write issues with the underlying file via 'shadows.' Can be iterated over, can be easily cloned, and converted to and from Vec.
Example
use vec_file::*;
fn main() {
let mut vf = VecFile::new();
vf.push(&10u8);
vf.push(&210u8);
assert_eq!(vf.pop(), 210);
}
Currently in early development stages, use with caution.
Dependencies
~1.7–9.5MB
~115K SLoC