From ca52db80b5d54d70a75f591066b220ee63ceb7a2 Mon Sep 17 00:00:00 2001 From: klensy Date: Sun, 5 May 2024 12:01:38 +0300 Subject: [PATCH] chrono-tz-build: make phf gated by case-insensitive feature --- chrono-tz-build/Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/chrono-tz-build/Cargo.toml b/chrono-tz-build/Cargo.toml index 7a6c9c5..3218718 100644 --- a/chrono-tz-build/Cargo.toml +++ b/chrono-tz-build/Cargo.toml @@ -13,12 +13,14 @@ documentation = "https://docs.rs/chrono-tz-build" [features] filter-by-regex = ["regex"] -case-insensitive = ["uncased", "phf/uncased"] +case-insensitive = ["uncased", "phf_shared/uncased"] regex = ["dep:regex"] [dependencies] parse-zoneinfo = { version = "0.3" } regex = { default-features = false, version = "1", optional = true } -phf = { version = "0.11", default-features = false } phf_codegen = { version = "0.11", default-features = false } uncased = { version = "0.9", optional = true, default-features = false } + +# needed only to forward feature for uncased +phf_shared = { version = "0.11", default-features = false, optional = true }