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 = [
"codegenrs",
"dictgen",
"itertools 0.13.0",
"snapbox",
"typos",
"unicase",
]
[[package]]
@ -411,7 +409,6 @@ name = "dictgen"
version = "0.2.9"
dependencies = [
"phf",
"phf_codegen",
"phf_shared",
"unicase",
]
@ -784,10 +781,8 @@ version = "0.4.0"
dependencies = [
"codegenrs",
"dictgen",
"itertools 0.13.0",
"regex",
"snapbox",
"unicase",
]
[[package]]
@ -842,16 +837,6 @@ dependencies = [
"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]]
name = "phf_generator"
version = "0.11.2"
@ -1221,26 +1206,6 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
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]]
name = "thread_local"
version = "1.1.8"
@ -1313,15 +1278,11 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
name = "typos"
version = "0.10.29"
dependencies = [
"anyhow",
"bstr",
"itertools 0.13.0",
"once_cell",
"serde",
"simdutf8",
"snapbox",
"thiserror",
"unicode-segmentation",
"unicode-xid",
"winnow",
]
@ -1397,7 +1358,6 @@ dependencies = [
"itertools 0.13.0",
"snapbox",
"typos",
"unicase",
"varcon",
"varcon-core",
]
@ -1543,9 +1503,7 @@ version = "0.4.0"
dependencies = [
"codegenrs",
"dictgen",
"itertools 0.13.0",
"snapbox",
"unicase",
]
[[package]]

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -16,7 +16,6 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[dependencies]
unicase = "2.7"
dictgen = { version = "^0.2", path = "../dictgen" }
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-core = { version = "^5.0", path = "../varcon-core", features = ["flags"] }
typos = { version = "^0.10", path = "../typos" }
unicase = "2.7"
codegenrs = "3.0"
itertools = "0.13"
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"]
[dependencies]
anyhow = "1.0"
thiserror = "2.0"
winnow = "0.6.7"
unicode-xid = "0.2.4"
once_cell = "1.19.0"
serde = { version = "1.0", features = ["derive"] }
simdutf8 = "0.1.4"
itertools = "0.13"
unicode-segmentation = "1.11.0"
bstr = "1.9"
[lints]

View file

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