From 35f034fedd93486e738f389e90b4ca1ce60d1fb8 Mon Sep 17 00:00:00 2001 From: Ross Smyth Date: Wed, 27 Mar 2024 13:57:54 -0400 Subject: [PATCH] Use regex-lite instead --- Cargo.toml | 2 +- src/windows/enumerate.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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::*;