vecfile

Crates.iovecfile
lib.rsvecfile
version0.3.0
sourcesrc
created_at2019-10-08 16:00:25.635238
updated_at2019-10-14 15:28:05.042748
descriptionA Vec-type collection that sits in a file vs in memory
homepage
repositoryhttps://github.com/bilowik/vecfile
max_upload_size
id170818
size43,327
(bilowik)

documentation

README

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.

Commit count: 49

cargo fmt