treewide: use Rust 2018 import paths

Rust 2018 is required for D-Bus support with tokio/zbus.
This commit is contained in:
Richard Acayan 2024-07-24 22:21:30 -04:00
parent f282a741dd
commit 78f389beaa
13 changed files with 119 additions and 135 deletions

View file

@ -3,9 +3,8 @@
* Copyright (c) 2024, Richard Acayan. All rights reserved.
*/
use core::button::ModState;
use core::expat;
use core::xkeysym::Keysym;
use crate::core::button::ModState;
use crate::core::expat;
use std::cmp::Ordering;
use std::collections::HashMap;
use std::str::FromStr;
@ -18,6 +17,7 @@ use std::os::raw::c_char;
use std::os::raw::c_void;
use std::path::Path;
use std::ptr;
use xkeysym::Keysym;
unsafe extern "C" fn start_elem(data: *mut c_void,
c_name: *const expat::XML_Char,