Skip to content

Commit 2427cdd

Browse files
committed
refactor: Use workspace deps in spl
1 parent 3132a9d commit 2427cdd

File tree

2 files changed

+21
-13
lines changed

2 files changed

+21
-13
lines changed

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ dirs = "4.0.0"
3838
flate2 = "1.0.19"
3939
futures = "0.3"
4040
heck = "0.4.0"
41+
mpl-token-metadata = { version = "5" }
4142
pathdiff = "0.2.0"
4243
portpicker = "0.1.1"
4344
proc-macro2 = "1.0"
@@ -76,6 +77,13 @@ solana-sdk-ids = "2"
7677
solana-system-interface = "1"
7778
solana-sysvar = { version = "2", features = ["bincode"] }
7879
solana-sysvar-id = "2"
80+
spl-associated-token-account = { version = "7" }
81+
spl-memo = { version = "6" }
82+
spl-pod = { version = "0.5" }
83+
spl-token = { version = "8" }
84+
spl-token-2022 = { version = "8" }
85+
spl-token-group-interface = { version = "0.6" }
86+
spl-token-metadata-interface = { version = "0.7" }
7987
syn = { version = "1.0.60", features = ["full", "extra-traits"] }
8088
tar = "0.4.35"
8189
tempfile = "3.3.0"

spl/Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "anchor-spl"
3-
version = "0.31.1"
4-
authors = ["Anchor Maintainers <accounts@200ms.io>"]
5-
edition = "2021"
6-
license = "Apache-2.0"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
77
description = "CPI clients for SPL programs"
88

99
[package.metadata.docs.rs]
@@ -32,12 +32,12 @@ token_2022_extensions = [
3232

3333
[dependencies]
3434
anchor-lang = { path = "../lang", version = "0.31.1", features = ["derive"] }
35-
borsh = { version = "0.10.3", optional = true }
36-
mpl-token-metadata = { version = "5", optional = true }
37-
spl-associated-token-account = { version = "7", features = ["no-entrypoint"], optional = true }
38-
spl-memo = { version = "6", features = ["no-entrypoint"], optional = true }
39-
spl-pod = { version = "0.5", optional = true }
40-
spl-token = { version = "8", features = ["no-entrypoint"], optional = true }
41-
spl-token-2022 = { version = "8", features = ["no-entrypoint"], optional = true }
42-
spl-token-group-interface = { version = "0.6", optional = true }
43-
spl-token-metadata-interface = { version = "0.7", optional = true }
35+
borsh = { workspace = true, optional = true }
36+
mpl-token-metadata = { workspace = true, optional = true }
37+
spl-associated-token-account = {workspace = true, features = ["no-entrypoint"], optional = true }
38+
spl-memo = { workspace = true, features = ["no-entrypoint"], optional = true }
39+
spl-pod = { workspace = true, optional = true }
40+
spl-token = { workspace = true, features = ["no-entrypoint"], optional = true }
41+
spl-token-2022 = { workspace = true, features = ["no-entrypoint"], optional = true }
42+
spl-token-group-interface = { workspace = true, optional = true }
43+
spl-token-metadata-interface = { workspace = true, optional = true }

0 commit comments

Comments
 (0)