Closed mitnk closed 4 years ago
Replaced env::home_dir()
with dirs::home_dir()
as rustc suggests:
warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead.
--> src/database.rs:170:28
|
170 | if let Some(mut home) = env::home_dir() {
| ^^^^^^^^^^^^^
|
= note: #[warn(deprecated)] on by default
For the CI fails, I don't know the reason. Master fails too #10. Could you help to have a check?
This PR is ready for another review. Thanks!
Can you remove the version bump? I usually do that in another commit.
Looks good otherwise, I'll merge as soon as that's removed :panda_face:
Thanks a bunch!
Fixes #11