karics 0.1.1-alpha

A Rust library for reading files
Documentation
1
2
3
4
5
6
7
8
use karics::read_file;

fn main() {
    match read_file("example.txt") {
        Ok(contents) => println!("File contents: {}", contents),
        Err(e) => eprintln!("Error reading file: {}", e),
    }
}