cargo: Update and cleanup dependencies

- Replace one remaining use of util::spawn with gio
- Replace pretty_env_logger with env_logger

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/149>
This commit is contained in:
Sophie Herold 2023-03-20 17:15:52 +01:00 • committed by Marge Bot
parent 52c6f4333d
commit 7bcc5e210b
5 changed files with 226 additions and 281 deletions

View file

@ -98,7 +98,7 @@ impl LpFileModel {
);
self.imp().monitor.set(monitor).unwrap();
let new_files_result = util::spawn("list-files", move || {
let new_files_result = gio::spawn_blocking(move || {
let mut files = IndexSet::new();
let enumerator = gio::File::for_path(&directory)