yds12 / guarakapa

Password manager for the terminal.
MIT License
3 stars 1 forks source link

Use traits instead of reading directly from file #18

Open yds12 opened 2 years ago

yds12 commented 2 years ago

We can use std::io::Read and std::io::Write instead of reading directly from files. This is a step towards making the core functionality of the program more reusable so that it can be extracted into a crate later.