Skip to content

Commit c0b8b88

Browse files
authored
deps: Bump all SPL deps (#318)
#### Problem All of the SPL deps have finally been upgraded to use the component crates rather than solana-program, but token-2022 still has a transitive dependency on solana-program. #### Summary of changes Bump all SPL deps and make the spl-token-2022 crate smaller! This brings down the number of deps built from 188 to 155, and drops the build time from 21s to 18s on my machine.
1 parent 85f23e5 commit c0b8b88

File tree

4 files changed

+77
-28
lines changed

4 files changed

+77
-28
lines changed

Cargo.lock

Lines changed: 70 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ solana-remote-wallet = "2.2.0"
3131
solana-sdk = "2.2.1"
3232
solana-transaction-status = "2.2.0"
3333
spl-associated-token-account-client = { version = "2.0.0" }
34-
spl-token = { version = "7.0", features = ["no-entrypoint"] }
34+
spl-token = { version = "8.0", features = ["no-entrypoint"] }
3535
spl-token-2022 = { version = "7.0.0", path = "../../program", features = ["no-entrypoint"] }
3636
spl-token-client = { version = "0.14.0", path = "../rust-legacy" }
3737
spl-token-confidential-transfer-proof-generation = { version = "0.3.0", path = "../../confidential-transfer/proof-generation" }
38-
spl-token-metadata-interface = { version = "0.6.0" }
38+
spl-token-metadata-interface = { version = "0.7.0" }
3939
spl-token-group-interface = { version = "0.6.0" }
4040
spl-memo = { version = "6.0", features = ["no-entrypoint"] }
4141
strum = "0.27"

clients/rust-legacy/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ spl-associated-token-account-client = { version = "2.0.0" }
3030
spl-elgamal-registry = { version = "0.1.1", path = "../../confidential-transfer/elgamal-registry"}
3131
spl-memo = { version = "6.0", features = ["no-entrypoint"] }
3232
spl-record = { version = "0.3.0", features = ["no-entrypoint"] }
33-
spl-token = { version = "7.0", features = ["no-entrypoint"] }
33+
spl-token = { version = "8.0", features = ["no-entrypoint"] }
3434
spl-token-confidential-transfer-proof-extraction = { version = "0.2.1", path = "../../confidential-transfer/proof-extraction" }
3535
spl-token-confidential-transfer-proof-generation = { version = "0.3.0", path = "../../confidential-transfer/proof-generation" }
3636
spl-token-2022 = { version = "7.0.0", path = "../../program" }
3737
spl-token-group-interface = { version = "0.6.0" }
38-
spl-token-metadata-interface = { version = "0.6.0" }
38+
spl-token-metadata-interface = { version = "0.7.0" }
3939
spl-transfer-hook-interface = { version = "0.10.0" }
4040
thiserror = "2.0"
4141

program/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ solana-system-interface = "1.0.0"
4545
solana-zk-sdk = "2.2.0"
4646
spl-elgamal-registry = { version = "0.1.1", path = "../confidential-transfer/elgamal-registry", features = ["no-entrypoint"] }
4747
spl-memo = { version = "6.0", features = ["no-entrypoint"] }
48-
spl-token = { version = "7.0", features = ["no-entrypoint"] }
48+
spl-token = { version = "8.0", features = ["no-entrypoint"] }
4949
spl-token-confidential-transfer-ciphertext-arithmetic = { version = "0.2.1", path = "../confidential-transfer/ciphertext-arithmetic" }
5050
spl-token-confidential-transfer-proof-extraction = { version = "0.2.1", path = "../confidential-transfer/proof-extraction" }
5151
spl-token-group-interface = { version = "0.6.0" }
52-
spl-token-metadata-interface = { version = "0.6.0" }
52+
spl-token-metadata-interface = { version = "0.7.0" }
5353
spl-transfer-hook-interface = { version = "0.10.0" }
54-
spl-type-length-value = { version = "0.7.0" }
54+
spl-type-length-value = { version = "0.8.0" }
5555
spl-pod = { version = "0.5.1" }
5656
thiserror = "2.0"
5757
serde = { version = "1.0.219", optional = true }

0 commit comments

Comments
 (0)