From 9024afed19c0d3a31c20fd86520045336a732550 Mon Sep 17 00:00:00 2001 From: tarsin Date: Fri, 16 Jun 2023 12:21:51 +0800 Subject: [PATCH] Strip unused regex feature --- app/src/main/rust/Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/main/rust/Cargo.toml b/app/src/main/rust/Cargo.toml index 8b5f97fa3..68889faa8 100644 --- a/app/src/main/rust/Cargo.toml +++ b/app/src/main/rust/Cargo.toml @@ -1,16 +1,21 @@ [package] name = "ehviewer_rust" version = "0.0.0" +resolver = "2" [lib] crate_type = ["cdylib"] +[dependencies.regex] +version = "1" +default-features = false +features = ["std", "perf", "unicode-perl"] + [dependencies] tl = "*" log = "*" android_logger = "*" apply = "*" -regex = "*" once_cell = "*" quick-xml = "*" jnix = { path = "jnix" }