diff --git a/Cargo.toml b/Cargo.toml index a8c1ec9c..923a5b4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ io-kit-sys = "0.4.0" mach2 = "0.4.1" [target."cfg(windows)".dependencies] -regex = "1.5.5" +regex-lite = "0.1" [target."cfg(windows)".dependencies.winapi] version = "0.3.9" diff --git a/src/windows/enumerate.rs b/src/windows/enumerate.rs index 05c830a0..a67d93e9 100644 --- a/src/windows/enumerate.rs +++ b/src/windows/enumerate.rs @@ -1,7 +1,7 @@ use std::ffi::{CStr, CString}; use std::{mem, ptr}; -use regex::Regex; +use regex_lite::Regex; use winapi::shared::guiddef::*; use winapi::shared::minwindef::*; use winapi::shared::winerror::*;