Skip to content

Commit fa34b1c

Browse files
authored
Clean up unused dependencies (#3981)
Remove crates that are not used from the dependency list. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
1 parent d5c144b commit fa34b1c

File tree

4 files changed

+4
-92
lines changed

4 files changed

+4
-92
lines changed

Cargo.lock

Lines changed: 4 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies = [
2727
"getrandom 0.2.15",
2828
"once_cell",
2929
"version_check",
30-
"zerocopy 0.7.35",
30+
"zerocopy",
3131
]
3232

3333
[[package]]
@@ -330,15 +330,6 @@ dependencies = [
330330
"windows-sys 0.59.0",
331331
]
332332

333-
[[package]]
334-
name = "colour"
335-
version = "2.1.0"
336-
source = "registry+https://github.com/rust-lang/crates.io-index"
337-
checksum = "b536eebcabe54980476d120a182f7da2268fe02d22575cca99cee5fdda178280"
338-
dependencies = [
339-
"winapi",
340-
]
341-
342333
[[package]]
343334
name = "comfy-table"
344335
version = "7.1.4"
@@ -357,7 +348,6 @@ dependencies = [
357348
"getopts",
358349
"glob",
359350
"libc",
360-
"regex",
361351
"serde",
362352
"serde_json",
363353
"serde_yaml",
@@ -833,16 +823,13 @@ dependencies = [
833823
"charon",
834824
"clap",
835825
"cprover_bindings",
836-
"home",
837826
"itertools",
838827
"kani_metadata",
839828
"lazy_static",
840829
"num",
841830
"quote",
842-
"regex",
843831
"serde",
844832
"serde_json",
845-
"shell-words",
846833
"strum",
847834
"strum_macros",
848835
"syn",
@@ -872,14 +859,11 @@ dependencies = [
872859
"anyhow",
873860
"cargo_metadata",
874861
"clap",
875-
"colour",
876862
"comfy-table",
877863
"console",
878-
"glob",
879864
"kani_metadata",
880865
"once_cell",
881866
"pathdiff",
882-
"rand",
883867
"rayon",
884868
"regex",
885869
"rustc-demangle",
@@ -1267,15 +1251,6 @@ version = "0.2.0"
12671251
source = "registry+https://github.com/rust-lang/crates.io-index"
12681252
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
12691253

1270-
[[package]]
1271-
name = "ppv-lite86"
1272-
version = "0.2.21"
1273-
source = "registry+https://github.com/rust-lang/crates.io-index"
1274-
checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
1275-
dependencies = [
1276-
"zerocopy 0.8.24",
1277-
]
1278-
12791254
[[package]]
12801255
name = "predicates"
12811256
version = "3.1.3"
@@ -1358,36 +1333,6 @@ version = "5.2.0"
13581333
source = "registry+https://github.com/rust-lang/crates.io-index"
13591334
checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
13601335

1361-
[[package]]
1362-
name = "rand"
1363-
version = "0.8.5"
1364-
source = "registry+https://github.com/rust-lang/crates.io-index"
1365-
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
1366-
dependencies = [
1367-
"libc",
1368-
"rand_chacha",
1369-
"rand_core",
1370-
]
1371-
1372-
[[package]]
1373-
name = "rand_chacha"
1374-
version = "0.3.1"
1375-
source = "registry+https://github.com/rust-lang/crates.io-index"
1376-
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
1377-
dependencies = [
1378-
"ppv-lite86",
1379-
"rand_core",
1380-
]
1381-
1382-
[[package]]
1383-
name = "rand_core"
1384-
version = "0.6.4"
1385-
source = "registry+https://github.com/rust-lang/crates.io-index"
1386-
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
1387-
dependencies = [
1388-
"getrandom 0.2.15",
1389-
]
1390-
13911336
[[package]]
13921337
name = "rayon"
13931338
version = "1.10.0"
@@ -1642,12 +1587,6 @@ dependencies = [
16421587
"lazy_static",
16431588
]
16441589

1645-
[[package]]
1646-
name = "shell-words"
1647-
version = "1.1.0"
1648-
source = "registry+https://github.com/rust-lang/crates.io-index"
1649-
checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
1650-
16511590
[[package]]
16521591
name = "shlex"
16531592
version = "1.3.0"
@@ -2027,9 +1966,9 @@ checksum = "c4013970217383f67b18aef68f6fb2e8d409bc5755227092d32efb0422ba24b8"
20271966

20281967
[[package]]
20291968
name = "tree-sitter-rust"
2030-
version = "0.23.2"
1969+
version = "0.23.3"
20311970
source = "registry+https://github.com/rust-lang/crates.io-index"
2032-
checksum = "a4d64d449ca63e683c562c7743946a646671ca23947b9c925c0cfbe65051a4af"
1971+
checksum = "ca8ccb3e3a3495c8a943f6c3fd24c3804c471fd7f4f16087623c7fa4c0068e8a"
20331972
dependencies = [
20341973
"cc",
20351974
"tree-sitter-language",
@@ -2272,16 +2211,7 @@ version = "0.7.35"
22722211
source = "registry+https://github.com/rust-lang/crates.io-index"
22732212
checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
22742213
dependencies = [
2275-
"zerocopy-derive 0.7.35",
2276-
]
2277-
2278-
[[package]]
2279-
name = "zerocopy"
2280-
version = "0.8.24"
2281-
source = "registry+https://github.com/rust-lang/crates.io-index"
2282-
checksum = "2586fea28e186957ef732a5f8b3be2da217d65c5969d4b1e17f973ebbe876879"
2283-
dependencies = [
2284-
"zerocopy-derive 0.8.24",
2214+
"zerocopy-derive",
22852215
]
22862216

22872217
[[package]]
@@ -2294,14 +2224,3 @@ dependencies = [
22942224
"quote",
22952225
"syn",
22962226
]
2297-
2298-
[[package]]
2299-
name = "zerocopy-derive"
2300-
version = "0.8.24"
2301-
source = "registry+https://github.com/rust-lang/crates.io-index"
2302-
checksum = "a996a8f63c5c4448cd959ac1bab0aaa3306ccfd060472f85943ee0750f0169be"
2303-
dependencies = [
2304-
"proc-macro2",
2305-
"quote",
2306-
"syn",
2307-
]

kani-compiler/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,16 @@ publish = false
1212
cbmc = { path = "../cprover_bindings", package = "cprover_bindings", optional = true }
1313
charon = { path = "../charon/charon", optional = true, default-features = false }
1414
clap = { version = "4.4.11", features = ["derive", "cargo"] }
15-
home = "0.5"
1615
itertools = "0.13"
1716
kani_metadata = { path = "../kani_metadata" }
1817
lazy_static = "1.4.0"
1918
num = { version = "0.4.0", optional = true }
2019
quote = "1.0.36"
21-
regex = "1.7.0"
2220
serde = { version = "1", optional = true }
2321
serde_json = "1"
2422
strum = "0.26"
2523
strum_macros = "0.26"
2624
syn = { version = "2.0.72", features = ["parsing", "extra-traits"] }
27-
shell-words = "1.0.0"
2825
tracing = {version = "0.1", features = ["max_level_trace", "release_max_level_debug"]}
2926
tracing-subscriber = {version = "0.3.8", features = ["env-filter", "json", "fmt"]}
3027
tracing-tree = "0.4.0"

kani-driver/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ to_markdown_table = "0.1.0"
2121
serde = { version = "1", features = ["derive"] }
2222
serde_json = { version = "1", features = ["preserve_order"] }
2323
clap = { version = "4.4.11", features = ["derive"] }
24-
colour = "2.1.0"
25-
glob = "0.3"
2624
toml = "0.8"
2725
regex = "1.6"
2826
rustc-demangle = "0.1.21"
@@ -34,7 +32,6 @@ strum_macros = {version = "0.26"}
3432
tempfile = "3"
3533
tracing = {version = "0.1", features = ["max_level_trace", "release_max_level_debug"]}
3634
tracing-subscriber = {version = "0.3.8", features = ["env-filter", "json", "fmt"]}
37-
rand = "0.8"
3835
which = "7"
3936
time = {version = "0.3.36", features = ["formatting"]}
4037
tokio = { version = "1.40.0", features = ["io-util", "process", "rt", "time"] }

tools/compiletest/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ publish = false
2020
getopts = "0.2"
2121
tracing = "0.1"
2222
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] }
23-
regex = "1.0"
2423
serde = { version = "1.0", features = ["derive"] }
2524
serde_json = "1.0"
2625
serde_yaml = "0.9"

0 commit comments

Comments
 (0)