switched from regex to regex-lite

main
Inga 🏳‍🌈 1 year ago
parent d5f987985d
commit 83c3dcb1c8
  1. 6
      hostnames_allocator/Cargo.toml
  2. 2
      hostnames_allocator/src/hostnames_allocator.rs
  3. 2
      hostnames_allocator/src/main.rs

@ -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"

@ -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;

@ -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;

Loading…
Cancel
Save