Skip to content

Commit

Permalink
chore(solana-frozen-abi): remove unused deps (#33436)
Browse files Browse the repository at this point in the history
* chore: remove unused deps

* ci: increase regression of build redundancy
  • Loading branch information
yihau authored Oct 4, 2023
1 parent 144e6d6 commit c9d04bc
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 18 deletions.
5 changes: 0 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci/test-stable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ test-stable-sbf)
# latest mainbeta release version.
solana_program_count=$(grep -c 'solana-program v' cargo.log)
rm -f cargo.log
if ((solana_program_count > 18)); then
if ((solana_program_count > 20)); then
echo "Regression of build redundancy ${solana_program_count}."
echo "Review dependency features that trigger redundant rebuilds of solana-program."
exit 1
Expand Down
7 changes: 0 additions & 7 deletions frozen-abi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,18 @@ log = { workspace = true, features = ["std"] }
serde = { workspace = true, features = ["derive", "rc"] }
serde_bytes = { workspace = true }
serde_derive = { workspace = true }
serde_json = { workspace = true }
sha2 = { workspace = true }
solana-frozen-abi-macro = { workspace = true }
thiserror = { workspace = true }

[target.'cfg(not(target_os = "solana"))'.dependencies]
ahash = { workspace = true }
blake3 = { workspace = true, features = ["digest", "traits-preview"] }
block-buffer = { workspace = true }
byteorder = { workspace = true, features = ["i128"] }
either = { workspace = true, features = ["use_std"] }
generic-array = { workspace = true, features = ["serde", "more_lengths"] }
im = { workspace = true, features = ["rayon", "serde"] }
memmap2 = { workspace = true }
subtle = { workspace = true }

[target.'cfg(any(unix, windows))'.dependencies]
cc = { workspace = true, features = ["jobserver", "parallel"] }

[target.'cfg(not(target_os = "solana"))'.dev-dependencies]
solana-logger = { workspace = true }

Expand Down
5 changes: 0 additions & 5 deletions programs/sbf/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c9d04bc

Please sign in to comment.