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]
default = ["std"]
std = []
codegen = ["std", "phf_codegen"]
map = ["phf", "phf_shared"]
codegen = ["std", "dep:phf_codegen"]
map = ["dep:phf", "dep:phf_shared"]
[dependencies]
unicase = "2.6"

View file

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

View file

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