FileIO
Fluent file operations in Rust: read, write, append, replace, or insert lines easily.
Features
.read_all()→ Read entire file as a String.read_lines()→ Read file line by line.append(content)→ Append a line at the end.write(content)→ Overwrite the whole file.write_line(line_number, content)→ Replace a specific line.insert_line(line_number, content)→ Insert a line without overwriting
Installation
Add to your Cargo.toml:
[]
= "...."
Usage:
use file;