Skip to content

Commit

Permalink
Cargo: use phf without std if no_std was specified (closes #56)
Browse files Browse the repository at this point in the history
  • Loading branch information
chifflier committed Aug 26, 2024
1 parent f804ee1 commit 198ccfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ name = "tls_parser"
[features]
default = ["std"]
serialize = ["cookie-factory"]
std = []
std = ["phf/std"]
unstable = []

[dependencies]
cookie-factory = { version="0.3", optional=true }
num_enum = "0.7.2"
nom = "7.0"
nom-derive = "0.10"
phf = "0.11"
phf = { version="0.11", default-features=false }
rusticata-macros = "4.0"

[dev-dependencies]
Expand Down

0 comments on commit 198ccfb

Please sign in to comment.