seven 0.1.0

A simple and small file processor.
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 39.81 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.37 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • oe

seven.rs

seven is an extremely small file processor. It's currently not finished, and API changes could happen at any minor version increment.

Installation

cargo add seven

Usage

Currently, the way you'd use it is somewhat like this:

extern crate seven;

use seven::*;

fn main() {
  seven(vec![
    Box::new(|files: &mut Vec<SimpleFile>| {
      let file: &mut SimpleFile = &mut files[0];
      file.content = "test hello".to_string();
    })
  ])
}

This reads all files from a directory, and replaces the content of the first one with "test hello". That's about all it can do for now!

License

Licensed under the AGPL-3.0+. See LICENSE.