mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
fix: Hide optional dependencies
This commit is contained in:
parent
0bde06af9a
commit
9426924f8f
3 changed files with 6 additions and 6 deletions
|
@ -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"
|
||||
|
|
|
@ -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]]
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue