Skip to content

Commit

Permalink
token-2022: Bump to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
joncinque committed Jan 26, 2024
1 parent c225e80 commit f6df3d6
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 32 deletions.
32 changes: 16 additions & 16 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 associated-token-account/program-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ solana-program-test = "1.17.13"
solana-sdk = "1.17.13"
spl-associated-token-account = { version = "2", path = "../program", features = ["no-entrypoint"] }
spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] }
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
2 changes: 1 addition & 1 deletion associated-token-account/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ num-derive = "0.4"
num-traits = "0.2"
solana-program = "1.17.13"
spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] }
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
thiserror = "1.0"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion stake-pool/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ solana-program = "1.17.13"
solana-security-txt = "1.1.1"
spl-math = { version = "0.2", path = "../../libraries/math", features = [ "no-entrypoint" ] }
spl-pod = { version = "0.1", path = "../../libraries/pod", features = ["borsh"] }
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = [ "no-entrypoint" ] }
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = [ "no-entrypoint" ] }
thiserror = "1.0"
bincode = "1.3.1"

Expand Down
2 changes: 1 addition & 1 deletion token-collection/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test-sbf = []
solana-program = "1.17.13"
spl-pod = { version = "0.1.0", path = "../../libraries/pod" }
spl-program-error = { version = "0.3.0" , path = "../../libraries/program-error" }
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-group-example = { version = "0.1.0", path = "../../token-group/example", features = ["no-entrypoint"] }
spl-token-group-interface = { version = "0.1.0", path = "../../token-group/interface" }
spl-token-metadata-interface = { version = "0.2", path = "../../token-metadata/interface" }
Expand Down
2 changes: 1 addition & 1 deletion token-group/example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test-sbf = []
[dependencies]
solana-program = "1.17.13"
spl-pod = { version = "0.1.0", path = "../../libraries/pod" }
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-group-interface = { version = "0.1.0", path = "../interface" }
spl-type-length-value = { version = "0.3.0", path = "../../libraries/type-length-value" }

Expand Down
2 changes: 1 addition & 1 deletion token-metadata/example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test-sbf = []

[dependencies]
solana-program = "1.17.13"
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-metadata-interface = { version = "0.2.0", path = "../interface" }
spl-type-length-value = { version = "0.3.0" , path = "../../libraries/type-length-value" }
spl-pod = { version = "0.1.0", path = "../../libraries/pod" }
Expand Down
2 changes: 1 addition & 1 deletion token-swap/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ num-traits = "0.2"
solana-program = "1.17.13"
spl-math = { version = "0.2", path = "../../libraries/math", features = [ "no-entrypoint" ] }
spl-token = { version = "4.0", path = "../../token/program", features = [ "no-entrypoint" ] }
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = [ "no-entrypoint" ] }
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = [ "no-entrypoint" ] }
thiserror = "1.0"
arbitrary = { version = "1.3", features = ["derive"], optional = true }
roots = { version = "0.0.8", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion token-upgrade/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ solana-remote-wallet = "1.17.13"
solana-sdk = "1.17.13"
spl-associated-token-account = { version = "2.0", path = "../../associated-token-account/program", features = ["no-entrypoint"] }
spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] }
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-client = { version = "0.8", path = "../../token/client" }
spl-token-upgrade = { version = "0.1", path = "../program", features = ["no-entrypoint"] }
tokio = { version = "1", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion token-upgrade/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ num-derive = "0.4"
num-traits = "0.2"
num_enum = "0.7.2"
solana-program = "1.17.13"
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
thiserror = "1.0"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion token-wrap/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ num_enum = "0.7"
solana-program = "1.17.13"
spl-associated-token-account = { version = "2.0", path = "../../associated-token-account/program", features = ["no-entrypoint"] }
spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] }
spl-token-2022 = { version = "1.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "2.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
thiserror = "1.0"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion token/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ solana-transaction-status = "=1.17.13"
spl-token = { version = "4.0", path = "../program", features = [
"no-entrypoint",
] }
spl-token-2022 = { version = "1.0", path = "../program-2022", features = [
spl-token-2022 = { version = "2.0", path = "../program-2022", features = [
"no-entrypoint",
] }
spl-token-client = { version = "0.8", path = "../client" }
Expand Down
2 changes: 1 addition & 1 deletion token/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ solana-sdk = "1.17.13"
spl-associated-token-account = { version = "2.0", path = "../../associated-token-account/program", features = ["no-entrypoint"] }
spl-memo = { version = "4.0.0", path = "../../memo/program", features = ["no-entrypoint"] }
spl-token = { version = "4.0", path="../program", features = [ "no-entrypoint" ] }
spl-token-2022 = { version = "1.0", path="../program-2022" }
spl-token-2022 = { version = "2.0", path="../program-2022" }
spl-token-group-interface = { version = "0.1", path="../../token-group/interface" }
spl-token-metadata-interface = { version = "0.2", path="../../token-metadata/interface" }
spl-transfer-hook-interface = { version = "0.5", path="../transfer-hook/interface" }
Expand Down
2 changes: 1 addition & 1 deletion token/program-2022-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ solana-sdk = "=1.17.13"
spl-associated-token-account = { version = "2.0", path = "../../associated-token-account/program" }
spl-memo = { version = "4.0.0", path = "../../memo/program", features = ["no-entrypoint"] }
spl-pod = { version = "0.1.0", path = "../../libraries/pod" }
spl-token-2022 = { version = "1.0", path="../program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "2.0", path="../program-2022", features = ["no-entrypoint"] }
spl-instruction-padding = { version = "0.1.0", path="../../instruction-padding/program", features = ["no-entrypoint"] }
spl-tlv-account-resolution = { version = "0.5.0", path = "../../libraries/tlv-account-resolution" }
spl-token-client = { version = "0.8", path = "../client" }
Expand Down
2 changes: 1 addition & 1 deletion token/program-2022/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spl-token-2022"
version = "1.0.0"
version = "2.0.0"
description = "Solana Program Library Token 2022"
authors = ["Solana Labs Maintainers <[email protected]>"]
repository = "https://github.com/solana-labs/solana-program-library"
Expand Down
2 changes: 1 addition & 1 deletion token/transfer-hook/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ serde_yaml = "0.9.30"

[dev-dependencies]
solana-test-validator = "=1.17.13"
spl-token-2022 = { version = "1.0", path = "../../program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "2.0", path = "../../program-2022", features = ["no-entrypoint"] }
spl-token-client = { version = "0.8", path = "../../client" }

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion token/transfer-hook/example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test-sbf = []
arrayref = "0.3.7"
solana-program = "1.17.13"
spl-tlv-account-resolution = { version = "0.5" , path = "../../../libraries/tlv-account-resolution" }
spl-token-2022 = { version = "1.0", path = "../../program-2022", features = ["no-entrypoint"] }
spl-token-2022 = { version = "2.0", path = "../../program-2022", features = ["no-entrypoint"] }
spl-transfer-hook-interface = { version = "0.5" , path = "../interface" }
spl-type-length-value = { version = "0.3" , path = "../../../libraries/type-length-value" }

Expand Down

0 comments on commit f6df3d6

Please sign in to comment.