tsfc 0.1.0

Type-safe file controll
Documentation
  • Coverage
  • 20%
    2 out of 10 items documented0 out of 9 items with examples
  • Size
  • Source code size: 16.44 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 895.69 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • potan/tsfc
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • potan

tsfc

Typesafe file control in Rust.

This crate do not allow open file for write only and try to read it.

extern crate tsfc;
use tsfc::*;

 let mut w = create(f).unwrap();
 w.read(&mut data);

and

 let mut r = open(f).unwrap();
 r.write(&data);

will not be compiled.