fix: Hide optional dependencies

This commit is contained in:
Ed Page 2023-07-14 12:33:02 -05:00
parent 0bde06af9a
commit 9426924f8f
3 changed files with 6 additions and 6 deletions

View file

@ -13,8 +13,8 @@ include.workspace = true
[features] [features]
default = ["std"] default = ["std"]
std = [] std = []
codegen = ["std", "phf_codegen"] codegen = ["std", "dep:phf_codegen"]
map = ["phf", "phf_shared"] map = ["dep:phf", "dep:phf_shared"]
[dependencies] [dependencies]
unicase = "2.6" unicase = "2.6"

View file

@ -32,8 +32,8 @@ pre-release-replacements = [
[features] [features]
default = ["dict", "vars"] default = ["dict", "vars"]
dict = ["typos-dict"] dict = ["dep:typos-dict"]
vars = ["typos-vars"] vars = ["dep:typos-vars"]
[[bin]] [[bin]]

View file

@ -12,8 +12,8 @@ include.workspace = true
[features] [features]
default = [] default = []
parser = ["winnow"] parser = ["dep:winnow"]
flags = ["enumflags2"] flags = ["dep:enumflags2"]
[dependencies] [dependencies]
winnow = { version = "0.4.9", optional = true } winnow = { version = "0.4.9", optional = true }