Thanks to visit codestin.com
Credit goes to github.com

Skip to content

potan/tsfc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Typesafe file control in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages