removes unused Cargo dependencies (#22022)

Also moving some to [dev-dependencies] so that they are not propagated
to other packages which depend on the package.
This commit is contained in:
behzad nouri
2021-12-22 17:01:33 +00:00
committed by GitHub
parent 61cc7b10a9
commit f67ecd5c18
23 changed files with 40 additions and 172 deletions

View File

@@ -20,9 +20,11 @@ solana-frozen-abi-macro = { path = "macro", version = "=1.10.0" }
thiserror = "1.0"
[target.'cfg(not(target_arch = "bpf"))'.dependencies]
solana-logger = { path = "../logger", version = "=1.10.0" }
generic-array = { version = "0.14.4", default-features = false, features = ["serde", "more_lengths"]}
memmap2 = "0.5.0"
[target.'cfg(not(target_arch = "bpf"))'.dev-dependencies]
solana-logger = { path = "../logger", version = "=1.10.0" }
[build-dependencies]
rustc_version = "0.4"