fix: Remove some unused deps

move some maplit to dev-deps
remove few unused deps from typos
remove some itertools deps
remove phf_codegen from deps
remove some unicase from deps
This commit is contained in:
klensy 2024-12-06 14:01:20 +03:00
parent 97898e1459
commit 0169b9b9e8
9 changed files with 2 additions and 61 deletions

42
Cargo.lock generated
View file

@ -247,10 +247,8 @@ version = "0.4.3"
dependencies = [ dependencies = [
"codegenrs", "codegenrs",
"dictgen", "dictgen",
"itertools 0.13.0",
"snapbox", "snapbox",
"typos", "typos",
"unicase",
] ]
[[package]] [[package]]
@ -411,7 +409,6 @@ name = "dictgen"
version = "0.2.9" version = "0.2.9"
dependencies = [ dependencies = [
"phf", "phf",
"phf_codegen",
"phf_shared", "phf_shared",
"unicase", "unicase",
] ]
@ -784,10 +781,8 @@ version = "0.4.0"
dependencies = [ dependencies = [
"codegenrs", "codegenrs",
"dictgen", "dictgen",
"itertools 0.13.0",
"regex", "regex",
"snapbox", "snapbox",
"unicase",
] ]
[[package]] [[package]]
@ -842,16 +837,6 @@ dependencies = [
"phf_shared", "phf_shared",
] ]
[[package]]
name = "phf_codegen"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a"
dependencies = [
"phf_generator",
"phf_shared",
]
[[package]] [[package]]
name = "phf_generator" name = "phf_generator"
version = "0.11.2" version = "0.11.2"
@ -1221,26 +1206,6 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76"
[[package]]
name = "thiserror"
version = "2.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2f49a1853cf82743e3b7950f77e0f4d622ca36cf4317cba00c767838bac8d490"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "2.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8381894bb3efe0c4acac3ded651301ceee58a15d47c2e34885ed1908ad667061"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]] [[package]]
name = "thread_local" name = "thread_local"
version = "1.1.8" version = "1.1.8"
@ -1313,15 +1278,11 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
name = "typos" name = "typos"
version = "0.10.29" version = "0.10.29"
dependencies = [ dependencies = [
"anyhow",
"bstr", "bstr",
"itertools 0.13.0", "itertools 0.13.0",
"once_cell",
"serde", "serde",
"simdutf8", "simdutf8",
"snapbox", "snapbox",
"thiserror",
"unicode-segmentation",
"unicode-xid", "unicode-xid",
"winnow", "winnow",
] ]
@ -1397,7 +1358,6 @@ dependencies = [
"itertools 0.13.0", "itertools 0.13.0",
"snapbox", "snapbox",
"typos", "typos",
"unicase",
"varcon", "varcon",
"varcon-core", "varcon-core",
] ]
@ -1543,9 +1503,7 @@ version = "0.4.0"
dependencies = [ dependencies = [
"codegenrs", "codegenrs",
"dictgen", "dictgen",
"itertools 0.13.0",
"snapbox", "snapbox",
"unicase",
] ]
[[package]] [[package]]

View file

@ -17,12 +17,9 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[dependencies] [dependencies]
unicase = "2.7"
dictgen = { version = "^0.2", path = "../dictgen" } dictgen = { version = "^0.2", path = "../dictgen" }
[dev-dependencies] [dev-dependencies]
unicase = "2.7"
itertools = "0.13"
codegenrs = "3.0" codegenrs = "3.0"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }
snapbox = "0.6.5" snapbox = "0.6.5"

View file

@ -17,13 +17,12 @@ rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[features] [features]
default = ["std"] default = ["std"]
std = [] std = []
codegen = ["std", "dep:phf_codegen"] codegen = ["std"]
map = ["dep:phf", "dep:phf_shared"] map = ["dep:phf", "dep:phf_shared"]
[dependencies] [dependencies]
unicase = "2.7" unicase = "2.7"
phf = { version = "0.11", features = ["unicase"], optional = true } phf = { version = "0.11", features = ["unicase"], optional = true }
phf_codegen = { version = "0.11", optional = true }
phf_shared = { version = "0.11", optional = true } phf_shared = { version = "0.11", optional = true }
[lints] [lints]

View file

@ -15,12 +15,9 @@ include.workspace = true
release = false release = false
[dependencies] [dependencies]
unicase = "2.7"
dictgen = { version = "^0.2", path = "../dictgen" } dictgen = { version = "^0.2", path = "../dictgen" }
[dev-dependencies] [dev-dependencies]
unicase = "2.7"
itertools = "0.13"
codegenrs = "3.0" codegenrs = "3.0"
regex = "1" regex = "1"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }

View file

@ -66,7 +66,6 @@ itertools = "0.13"
serde_json = "1.0" serde_json = "1.0"
kstring = { version = "2.0.0", features = ["serde"] } kstring = { version = "2.0.0", features = ["serde"] }
typed-arena = "2.0.2" typed-arena = "2.0.2"
maplit = "1.0"
unicode-width = "0.2.0" unicode-width = "0.2.0"
unic-emoji-char = "0.9.0" unic-emoji-char = "0.9.0"
thread_local = "1.1.8" thread_local = "1.1.8"
@ -81,6 +80,7 @@ encoding_rs = "0.8.34"
[dev-dependencies] [dev-dependencies]
assert_fs = "1.1" assert_fs = "1.1"
divan = "0.1.14" divan = "0.1.14"
maplit = "1.0"
snapbox = "0.6.5" snapbox = "0.6.5"
trycmd = "0.15.4" trycmd = "0.15.4"

View file

@ -16,7 +16,6 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[dependencies] [dependencies]
unicase = "2.7"
dictgen = { version = "^0.2", path = "../dictgen" } dictgen = { version = "^0.2", path = "../dictgen" }
[dev-dependencies] [dev-dependencies]

View file

@ -16,7 +16,6 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[dependencies] [dependencies]
unicase = "2.7"
dictgen = { version = "^0.2", path = "../dictgen" } dictgen = { version = "^0.2", path = "../dictgen" }
varcon-core = { version = "^5.0", path = "../varcon-core", features = ["flags"] } varcon-core = { version = "^5.0", path = "../varcon-core", features = ["flags"] }
@ -24,7 +23,6 @@ varcon-core = { version = "^5.0", path = "../varcon-core", features = ["flags"]
varcon = { version = "^1.0", path = "../varcon", features = ["flags"] } varcon = { version = "^1.0", path = "../varcon", features = ["flags"] }
varcon-core = { version = "^5.0", path = "../varcon-core", features = ["flags"] } varcon-core = { version = "^5.0", path = "../varcon-core", features = ["flags"] }
typos = { version = "^0.10", path = "../typos" } typos = { version = "^0.10", path = "../typos" }
unicase = "2.7"
codegenrs = "3.0" codegenrs = "3.0"
itertools = "0.13" itertools = "0.13"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }

View file

@ -16,15 +16,11 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[dependencies] [dependencies]
anyhow = "1.0"
thiserror = "2.0"
winnow = "0.6.7" winnow = "0.6.7"
unicode-xid = "0.2.4" unicode-xid = "0.2.4"
once_cell = "1.19.0"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
simdutf8 = "0.1.4" simdutf8 = "0.1.4"
itertools = "0.13" itertools = "0.13"
unicode-segmentation = "1.11.0"
bstr = "1.9" bstr = "1.9"
[lints] [lints]

View file

@ -16,12 +16,9 @@ include.workspace = true
release = false release = false
[dependencies] [dependencies]
unicase = "2.7"
dictgen = { version = "^0.2", path = "../dictgen" } dictgen = { version = "^0.2", path = "../dictgen" }
[dev-dependencies] [dev-dependencies]
unicase = "2.7"
itertools = "0.13"
codegenrs = "3.0" codegenrs = "3.0"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] } dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }
snapbox = "0.6.5" snapbox = "0.6.5"