File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ serial_test = "3.2.0"
4343mockito = " 1.7.0"
4444criterion = " 0.5.1"
4545
46+ [patch .crates-io ]
47+ curve25519-dalek = { version = " =3.2.1" }
48+ solana-feature-set = { version = " 2.2.4" }
49+
4650[features ]
4751default = []
4852remote-wallet = [" solana-remote-wallet" ]
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ #
3+ # Updates specific transitive dependencies to the versions we want
4+ #
5+
6+ set -e
7+
8+ echo " Updating transitive dependencies..."
9+
10+ # Add the dependencies to Cargo.toml
11+ echo " Adding dependencies to Cargo.toml..."
12+ cat >> Cargo.toml << EOF
13+
14+ # Temporary dependencies to force specific versions of transitive dependencies
15+ # These will be removed after cargo update
16+ curve25519-dalek = "3.2.1"
17+ solana-feature-set = "2.2.4"
18+ EOF
19+
20+ # Update the dependencies
21+ echo " Running cargo update..."
22+ cargo update
23+
24+ # Remove the temporary dependencies from Cargo.toml
25+ echo " Removing temporary dependencies from Cargo.toml..."
26+ sed -i ' /# Temporary dependencies/,/solana-feature-set/d' Cargo.toml
27+
28+ echo " Done!"
You can’t perform that action at this time.
0 commit comments