Skip to content

Commit

Permalink
Use regex-lite in rustler-sys to speed up build
Browse files Browse the repository at this point in the history
  • Loading branch information
filmor committed Aug 6, 2024
1 parent 2e26b73 commit f165668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rustler_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ nif_version_2_17 = ["nif_version_2_16"]
unreachable = "1.0"

[build-dependencies]
regex = "1"
regex-lite = "0.1"
2 changes: 1 addition & 1 deletion rustler_sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Generate the NIF APIs that will be built in `src/rustler_sys_api.rs`.
//

use regex::Regex;
use regex_lite::Regex;
use std::fmt::Write;
use std::path::Path;
use std::{env, fs};
Expand Down

0 comments on commit f165668

Please sign in to comment.