Skip to content

Commit

Permalink
chrono-tz-build: make phf gated by case-insensitive feature
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy authored and djc committed Jul 12, 2024
1 parent e2f4215 commit ca52db8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions chrono-tz-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

0 comments on commit ca52db8

Please sign in to comment.