I need to persist information, such as the user's configuration for my program and their input. Where would the best place be to save this files on Linux and Windows?
This is for a rust-cargo program, which will be installed into ~/.cargo/bin for its usage. I have tried to save my files into ~/.cargo but I don't know if this is appropiate, as I am new into Rust.