diff --git a/hostnames_allocator/Cargo.toml b/hostnames_allocator/Cargo.toml index ccf1231..44a9bba 100644 --- a/hostnames_allocator/Cargo.toml +++ b/hostnames_allocator/Cargo.toml @@ -13,11 +13,7 @@ strip = true [dependencies] lazy_static = "1.4.0" - -[dependencies.regex] -version = "1.10.2" -default-features = false -features = ["std", "unicode-perl"] +regex-lite = "0.1.5" [dev-dependencies] itertools = "0.11.0" diff --git a/hostnames_allocator/src/hostnames_allocator.rs b/hostnames_allocator/src/hostnames_allocator.rs index 0248560..3b31b99 100644 --- a/hostnames_allocator/src/hostnames_allocator.rs +++ b/hostnames_allocator/src/hostnames_allocator.rs @@ -1,7 +1,7 @@ use std::collections::HashMap; use lazy_static::lazy_static; -use regex::Regex; +use regex_lite::Regex; use crate::ranged_number_allocator::RangedNumberAllocator; diff --git a/hostnames_allocator/src/main.rs b/hostnames_allocator/src/main.rs index 1dd0815..ae54fda 100644 --- a/hostnames_allocator/src/main.rs +++ b/hostnames_allocator/src/main.rs @@ -1,7 +1,7 @@ use std::io::{self, BufRead}; use lazy_static::lazy_static; -use regex::Regex; +use regex_lite::Regex; use hostnames_allocator::hostnames_allocator::HostnamesAllocator;