Browse Source

📝 Removing anchor-spl v0.30.1 from example (#145)

Danilo Guanabara 7 months ago
parent
commit
4f89629899

+ 63 - 491
Cargo.lock

@@ -330,22 +330,6 @@ dependencies = [
  "serde",
  "serde",
 ]
 ]
 
 
-[[package]]
-name = "anchor-spl"
-version = "0.30.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04bd077c34449319a1e4e0bc21cea572960c9ae0d0fefda0dd7c52fcc3c647a3"
-dependencies = [
- "anchor-lang",
- "mpl-token-metadata",
- "spl-associated-token-account 3.0.4",
- "spl-pod 0.2.5",
- "spl-token",
- "spl-token-2022 3.0.4",
- "spl-token-group-interface 0.2.5",
- "spl-token-metadata-interface 0.3.5",
-]
-
 [[package]]
 [[package]]
 name = "anchor-syn"
 name = "anchor-syn"
 version = "0.30.1"
 version = "0.30.1"
@@ -821,17 +805,6 @@ version = "0.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae"
 checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae"
 
 
-[[package]]
-name = "bolt-attribute-bolt-arguments"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56eb1b0e0bc4b283cdf186df1176c5fb17f7b328ea658d269b2f8601ccbac256"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-arguments"
 name = "bolt-attribute-bolt-arguments"
 version = "0.2.1"
 version = "0.2.1"
@@ -841,57 +814,22 @@ dependencies = [
  "syn 1.0.109",
  "syn 1.0.109",
 ]
 ]
 
 
-[[package]]
-name = "bolt-attribute-bolt-component"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22960a4b8eb4cb2bea17120f40b09a8b6e49369ffad81396fabec254bb92b064"
-dependencies = [
- "bolt-utils 0.1.9",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-component"
 name = "bolt-attribute-bolt-component"
 version = "0.2.1"
 version = "0.2.1"
 dependencies = [
 dependencies = [
- "bolt-utils 0.2.1",
+ "bolt-utils",
  "ligen-ir",
  "ligen-ir",
  "proc-macro2",
  "proc-macro2",
  "quote",
  "quote",
  "syn 1.0.109",
  "syn 1.0.109",
 ]
 ]
 
 
-[[package]]
-name = "bolt-attribute-bolt-component-deserialize"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "143a3658fca2ec9ecd6a8f496f9aae79f585cd22d0570d89bd0b5d5de4eca2c5"
-dependencies = [
- "bolt-utils 0.1.9",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-component-deserialize"
 name = "bolt-attribute-bolt-component-deserialize"
 version = "0.2.1"
 version = "0.2.1"
 dependencies = [
 dependencies = [
- "bolt-utils 0.2.1",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
-[[package]]
-name = "bolt-attribute-bolt-component-id"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de13405de0231b2b9ee5861954a22876d4ab54d78d5971ab46187eaa662b3221"
-dependencies = [
+ "bolt-utils",
  "proc-macro2",
  "proc-macro2",
  "quote",
  "quote",
  "syn 1.0.109",
  "syn 1.0.109",
@@ -906,17 +844,6 @@ dependencies = [
  "syn 1.0.109",
  "syn 1.0.109",
 ]
 ]
 
 
-[[package]]
-name = "bolt-attribute-bolt-delegate"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "693c1694a0430dadf38d3df7283ca29ab10e0e8fdbc8acb8475b309231bea5c9"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-delegate"
 name = "bolt-attribute-bolt-delegate"
 version = "0.2.1"
 version = "0.2.1"
@@ -926,17 +853,6 @@ dependencies = [
  "syn 1.0.109",
  "syn 1.0.109",
 ]
 ]
 
 
-[[package]]
-name = "bolt-attribute-bolt-extra-accounts"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27e12c9e5530e9f7f1824addd50dfc1cdf450b472c5c74a83c1c94b7a3abfbca"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-extra-accounts"
 name = "bolt-attribute-bolt-extra-accounts"
 version = "0.2.1"
 version = "0.2.1"
@@ -946,17 +862,6 @@ dependencies = [
  "syn 1.0.109",
  "syn 1.0.109",
 ]
 ]
 
 
-[[package]]
-name = "bolt-attribute-bolt-program"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "56b02c215ea27f3d594e53d52c6c4894552df4f22bd455550d93aa4e7b591483"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-program"
 name = "bolt-attribute-bolt-program"
 version = "0.2.1"
 version = "0.2.1"
@@ -966,17 +871,6 @@ dependencies = [
  "syn 1.0.109",
  "syn 1.0.109",
 ]
 ]
 
 
-[[package]]
-name = "bolt-attribute-bolt-system"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f425ef3826af95bb46d71b0a0d3799d20d4aeedce76e966fdd38222546d36ec"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-system"
 name = "bolt-attribute-bolt-system"
 version = "0.2.1"
 version = "0.2.1"
@@ -986,17 +880,6 @@ dependencies = [
  "syn 1.0.109",
  "syn 1.0.109",
 ]
 ]
 
 
-[[package]]
-name = "bolt-attribute-bolt-system-input"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fce7a21f569467e1e3b696890c09ece8a6e52c8c3fd74cab4363f86fba804093"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
 [[package]]
 [[package]]
 name = "bolt-attribute-bolt-system-input"
 name = "bolt-attribute-bolt-system-input"
 version = "0.2.1"
 version = "0.2.1"
@@ -1019,17 +902,7 @@ dependencies = [
  "heck 0.5.0",
  "heck 0.5.0",
  "serde_json",
  "serde_json",
  "syn 1.0.109",
  "syn 1.0.109",
- "world 0.2.1",
-]
-
-[[package]]
-name = "bolt-component"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fee22713fc88a903e257384151dfd8d126dcc9c20f1d8546c81d7814a125745f"
-dependencies = [
- "anchor-lang",
- "bolt-system 0.1.9",
+ "world",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -1037,53 +910,7 @@ name = "bolt-component"
 version = "0.2.1"
 version = "0.2.1"
 dependencies = [
 dependencies = [
  "anchor-lang",
  "anchor-lang",
- "bolt-system 0.2.1",
-]
-
-[[package]]
-name = "bolt-helpers-system-template"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ef4950be02f43fe8550fa55308f9cc3331a6484c4a90ffbdd19b6a8683546d3"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
-[[package]]
-name = "bolt-helpers-world-apply"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e768e45f56ba9c9f24439d3ac8c5d0ab4b55997d46ccb7cd7418e12048d75ee8"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
-[[package]]
-name = "bolt-lang"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d0b1570bb526e847051f5054406c8df7dfbf402a458f6237438b0e609e8bf98"
-dependencies = [
- "ahash 0.8.11",
- "anchor-lang",
- "bolt-attribute-bolt-arguments 0.1.9",
- "bolt-attribute-bolt-component 0.1.9",
- "bolt-attribute-bolt-component-deserialize 0.1.9",
- "bolt-attribute-bolt-component-id 0.1.9",
- "bolt-attribute-bolt-delegate 0.1.9",
- "bolt-attribute-bolt-extra-accounts 0.1.9",
- "bolt-attribute-bolt-program 0.1.9",
- "bolt-attribute-bolt-system 0.1.9",
- "bolt-attribute-bolt-system-input 0.1.9",
- "bolt-system 0.1.9",
- "ephemeral-rollups-sdk 0.0.6",
- "serde",
- "serde_json",
- "world 0.1.9",
+ "bolt-system",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -1093,32 +920,22 @@ dependencies = [
  "ahash 0.8.11",
  "ahash 0.8.11",
  "anchor-lang",
  "anchor-lang",
  "bincode",
  "bincode",
- "bolt-attribute-bolt-arguments 0.2.1",
- "bolt-attribute-bolt-component 0.2.1",
- "bolt-attribute-bolt-component-deserialize 0.2.1",
- "bolt-attribute-bolt-component-id 0.2.1",
- "bolt-attribute-bolt-delegate 0.2.1",
- "bolt-attribute-bolt-extra-accounts 0.2.1",
- "bolt-attribute-bolt-program 0.2.1",
- "bolt-attribute-bolt-system 0.2.1",
- "bolt-attribute-bolt-system-input 0.2.1",
- "bolt-system 0.2.1",
- "ephemeral-rollups-sdk 0.2.1",
+ "bolt-attribute-bolt-arguments",
+ "bolt-attribute-bolt-component",
+ "bolt-attribute-bolt-component-deserialize",
+ "bolt-attribute-bolt-component-id",
+ "bolt-attribute-bolt-delegate",
+ "bolt-attribute-bolt-extra-accounts",
+ "bolt-attribute-bolt-program",
+ "bolt-attribute-bolt-system",
+ "bolt-attribute-bolt-system-input",
+ "bolt-system",
+ "ephemeral-rollups-sdk",
  "serde",
  "serde",
  "serde_json",
  "serde_json",
  "session-keys",
  "session-keys",
  "solana-program",
  "solana-program",
- "world 0.2.1",
-]
-
-[[package]]
-name = "bolt-system"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "465c09a5325776f50a1711aa7c1cc91a0cba91d0922658509e0f465119db49ba"
-dependencies = [
- "anchor-lang",
- "bolt-helpers-system-template",
+ "world",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -1130,21 +947,9 @@ dependencies = [
 
 
 [[package]]
 [[package]]
 name = "bolt-types"
 name = "bolt-types"
-version = "0.1.6"
-dependencies = [
- "anchor-lang",
- "bolt-lang 0.1.9",
-]
-
-[[package]]
-name = "bolt-utils"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d36217a4ffdf196c8e8e0f7cb9aacd4d2b0b40b0e45a31ea75e3972935b518b3"
+version = "0.2.1"
 dependencies = [
 dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
+ "bolt-lang",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -2036,20 +1841,6 @@ dependencies = [
  "termcolor",
  "termcolor",
 ]
 ]
 
 
-[[package]]
-name = "ephemeral-rollups-sdk"
-version = "0.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78d083d793a467350cb76312a1281e9bc6a0083823102dee8f99e1117b668fb6"
-dependencies = [
- "anchor-lang",
- "borsh 0.10.4",
- "ephemeral-rollups-sdk-attribute-commit 0.0.6",
- "ephemeral-rollups-sdk-attribute-delegate 0.0.6",
- "paste",
- "solana-program",
-]
-
 [[package]]
 [[package]]
 name = "ephemeral-rollups-sdk"
 name = "ephemeral-rollups-sdk"
 version = "0.2.1"
 version = "0.2.1"
@@ -2058,24 +1849,13 @@ checksum = "567ff99d5766f34bb5dfbb0b9ec3ce30e6bb5dbe93fa831883c7fda6d7df96ce"
 dependencies = [
 dependencies = [
  "anchor-lang",
  "anchor-lang",
  "borsh 0.10.4",
  "borsh 0.10.4",
- "ephemeral-rollups-sdk-attribute-commit 0.2.1",
- "ephemeral-rollups-sdk-attribute-delegate 0.2.1",
+ "ephemeral-rollups-sdk-attribute-commit",
+ "ephemeral-rollups-sdk-attribute-delegate",
  "ephemeral-rollups-sdk-attribute-ephemeral",
  "ephemeral-rollups-sdk-attribute-ephemeral",
  "paste",
  "paste",
  "solana-program",
  "solana-program",
 ]
 ]
 
 
-[[package]]
-name = "ephemeral-rollups-sdk-attribute-commit"
-version = "0.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82c0c885becc3dba2ffacd1d121b1f54bdb061a62549f4fe1f2982d4535b0a66"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
 [[package]]
 [[package]]
 name = "ephemeral-rollups-sdk-attribute-commit"
 name = "ephemeral-rollups-sdk-attribute-commit"
 version = "0.2.1"
 version = "0.2.1"
@@ -2087,17 +1867,6 @@ dependencies = [
  "syn 1.0.109",
  "syn 1.0.109",
 ]
 ]
 
 
-[[package]]
-name = "ephemeral-rollups-sdk-attribute-delegate"
-version = "0.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52e08894bd8218c86414fa637dad53c8cccddfab0f5ee81f3d70b79745e084cb"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
 [[package]]
 [[package]]
 name = "ephemeral-rollups-sdk-attribute-delegate"
 name = "ephemeral-rollups-sdk-attribute-delegate"
 version = "0.2.1"
 version = "0.2.1"
@@ -3608,7 +3377,7 @@ dependencies = [
 name = "position"
 name = "position"
 version = "0.2.1"
 version = "0.2.1"
 dependencies = [
 dependencies = [
- "bolt-lang 0.2.1",
+ "bolt-lang",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -4502,9 +4271,9 @@ dependencies = [
  "solana-config-program",
  "solana-config-program",
  "solana-sdk",
  "solana-sdk",
  "spl-token",
  "spl-token",
- "spl-token-2022 1.0.0",
- "spl-token-group-interface 0.1.0",
- "spl-token-metadata-interface 0.2.0",
+ "spl-token-2022",
+ "spl-token-group-interface",
+ "spl-token-metadata-interface",
  "thiserror",
  "thiserror",
  "zstd",
  "zstd",
 ]
 ]
@@ -4967,7 +4736,7 @@ dependencies = [
  "solana-sdk",
  "solana-sdk",
  "solana-transaction-status",
  "solana-transaction-status",
  "solana-version",
  "solana-version",
- "spl-token-2022 1.0.0",
+ "spl-token-2022",
  "thiserror",
  "thiserror",
 ]
 ]
 
 
@@ -5148,10 +4917,10 @@ dependencies = [
  "serde_json",
  "serde_json",
  "solana-account-decoder",
  "solana-account-decoder",
  "solana-sdk",
  "solana-sdk",
- "spl-associated-token-account 2.3.0",
+ "spl-associated-token-account",
  "spl-memo",
  "spl-memo",
  "spl-token",
  "spl-token",
- "spl-token-2022 1.0.0",
+ "spl-token-2022",
  "thiserror",
  "thiserror",
 ]
 ]
 
 
@@ -5304,23 +5073,7 @@ dependencies = [
  "num-traits",
  "num-traits",
  "solana-program",
  "solana-program",
  "spl-token",
  "spl-token",
- "spl-token-2022 1.0.0",
- "thiserror",
-]
-
-[[package]]
-name = "spl-associated-token-account"
-version = "3.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "143109d789171379e6143ef23191786dfaac54289ad6e7917cfb26b36c432b10"
-dependencies = [
- "assert_matches",
- "borsh 1.5.1",
- "num-derive 0.4.2",
- "num-traits",
- "solana-program",
- "spl-token",
- "spl-token-2022 3.0.4",
+ "spl-token-2022",
  "thiserror",
  "thiserror",
 ]
 ]
 
 
@@ -5332,18 +5085,7 @@ checksum = "cce5d563b58ef1bb2cdbbfe0dfb9ffdc24903b10ae6a4df2d8f425ece375033f"
 dependencies = [
 dependencies = [
  "bytemuck",
  "bytemuck",
  "solana-program",
  "solana-program",
- "spl-discriminator-derive 0.1.2",
-]
-
-[[package]]
-name = "spl-discriminator"
-version = "0.2.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "210101376962bb22bb13be6daea34656ea1cbc248fce2164b146e39203b55e03"
-dependencies = [
- "bytemuck",
- "solana-program",
- "spl-discriminator-derive 0.2.0",
+ "spl-discriminator-derive",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -5353,18 +5095,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "07fd7858fc4ff8fb0e34090e41d7eb06a823e1057945c26d480bfc21d2338a93"
 checksum = "07fd7858fc4ff8fb0e34090e41d7eb06a823e1057945c26d480bfc21d2338a93"
 dependencies = [
 dependencies = [
  "quote",
  "quote",
- "spl-discriminator-syn 0.1.2",
- "syn 2.0.79",
-]
-
-[[package]]
-name = "spl-discriminator-derive"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9e8418ea6269dcfb01c712f0444d2c75542c04448b480e87de59d2865edc750"
-dependencies = [
- "quote",
- "spl-discriminator-syn 0.2.0",
+ "spl-discriminator-syn",
  "syn 2.0.79",
  "syn 2.0.79",
 ]
 ]
 
 
@@ -5381,19 +5112,6 @@ dependencies = [
  "thiserror",
  "thiserror",
 ]
 ]
 
 
-[[package]]
-name = "spl-discriminator-syn"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c1f05593b7ca9eac7caca309720f2eafb96355e037e6d373b909a80fe7b69b9"
-dependencies = [
- "proc-macro2",
- "quote",
- "sha2 0.10.8",
- "syn 2.0.79",
- "thiserror",
-]
-
 [[package]]
 [[package]]
 name = "spl-memo"
 name = "spl-memo"
 version = "4.0.0"
 version = "4.0.0"
@@ -5413,20 +5131,7 @@ dependencies = [
  "bytemuck",
  "bytemuck",
  "solana-program",
  "solana-program",
  "solana-zk-token-sdk",
  "solana-zk-token-sdk",
- "spl-program-error 0.3.0",
-]
-
-[[package]]
-name = "spl-pod"
-version = "0.2.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c52d84c55efeef8edcc226743dc089d7e3888b8e3474569aa3eff152b37b9996"
-dependencies = [
- "borsh 1.5.1",
- "bytemuck",
- "solana-program",
- "solana-zk-token-sdk",
- "spl-program-error 0.4.4",
+ "spl-program-error",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -5438,20 +5143,7 @@ dependencies = [
  "num-derive 0.4.2",
  "num-derive 0.4.2",
  "num-traits",
  "num-traits",
  "solana-program",
  "solana-program",
- "spl-program-error-derive 0.3.2",
- "thiserror",
-]
-
-[[package]]
-name = "spl-program-error"
-version = "0.4.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e45a49acb925db68aa501b926096b2164adbdcade7a0c24152af9f0742d0a602"
-dependencies = [
- "num-derive 0.4.2",
- "num-traits",
- "solana-program",
- "spl-program-error-derive 0.4.1",
+ "spl-program-error-derive",
  "thiserror",
  "thiserror",
 ]
 ]
 
 
@@ -5467,18 +5159,6 @@ dependencies = [
  "syn 2.0.79",
  "syn 2.0.79",
 ]
 ]
 
 
-[[package]]
-name = "spl-program-error-derive"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6d375dd76c517836353e093c2dbb490938ff72821ab568b545fd30ab3256b3e"
-dependencies = [
- "proc-macro2",
- "quote",
- "sha2 0.10.8",
- "syn 2.0.79",
-]
-
 [[package]]
 [[package]]
 name = "spl-tlv-account-resolution"
 name = "spl-tlv-account-resolution"
 version = "0.5.1"
 version = "0.5.1"
@@ -5487,24 +5167,10 @@ checksum = "615d381f48ddd2bb3c57c7f7fb207591a2a05054639b18a62e785117dd7a8683"
 dependencies = [
 dependencies = [
  "bytemuck",
  "bytemuck",
  "solana-program",
  "solana-program",
- "spl-discriminator 0.1.0",
- "spl-pod 0.1.0",
- "spl-program-error 0.3.0",
- "spl-type-length-value 0.3.0",
-]
-
-[[package]]
-name = "spl-tlv-account-resolution"
-version = "0.6.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fab8edfd37be5fa17c9e42c1bff86abbbaf0494b031b37957f2728ad2ff842ba"
-dependencies = [
- "bytemuck",
- "solana-program",
- "spl-discriminator 0.2.5",
- "spl-pod 0.2.5",
- "spl-program-error 0.4.4",
- "spl-type-length-value 0.4.6",
+ "spl-discriminator",
+ "spl-pod",
+ "spl-program-error",
+ "spl-type-length-value",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -5537,36 +5203,12 @@ dependencies = [
  "solana-security-txt",
  "solana-security-txt",
  "solana-zk-token-sdk",
  "solana-zk-token-sdk",
  "spl-memo",
  "spl-memo",
- "spl-pod 0.1.0",
- "spl-token",
- "spl-token-group-interface 0.1.0",
- "spl-token-metadata-interface 0.2.0",
- "spl-transfer-hook-interface 0.4.1",
- "spl-type-length-value 0.3.0",
- "thiserror",
-]
-
-[[package]]
-name = "spl-token-2022"
-version = "3.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b01d1b2851964e257187c0bca43a0de38d0af59192479ca01ac3e2b58b1bd95a"
-dependencies = [
- "arrayref",
- "bytemuck",
- "num-derive 0.4.2",
- "num-traits",
- "num_enum 0.7.3",
- "solana-program",
- "solana-security-txt",
- "solana-zk-token-sdk",
- "spl-memo",
- "spl-pod 0.2.5",
+ "spl-pod",
  "spl-token",
  "spl-token",
- "spl-token-group-interface 0.2.5",
- "spl-token-metadata-interface 0.3.5",
- "spl-transfer-hook-interface 0.6.5",
- "spl-type-length-value 0.4.6",
+ "spl-token-group-interface",
+ "spl-token-metadata-interface",
+ "spl-transfer-hook-interface",
+ "spl-type-length-value",
  "thiserror",
  "thiserror",
 ]
 ]
 
 
@@ -5578,22 +5220,9 @@ checksum = "b889509d49fa74a4a033ca5dae6c2307e9e918122d97e58562f5c4ffa795c75d"
 dependencies = [
 dependencies = [
  "bytemuck",
  "bytemuck",
  "solana-program",
  "solana-program",
- "spl-discriminator 0.1.0",
- "spl-pod 0.1.0",
- "spl-program-error 0.3.0",
-]
-
-[[package]]
-name = "spl-token-group-interface"
-version = "0.2.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "014817d6324b1e20c4bbc883e8ee30a5faa13e59d91d1b2b95df98b920150c17"
-dependencies = [
- "bytemuck",
- "solana-program",
- "spl-discriminator 0.2.5",
- "spl-pod 0.2.5",
- "spl-program-error 0.4.4",
+ "spl-discriminator",
+ "spl-pod",
+ "spl-program-error",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -5604,24 +5233,10 @@ checksum = "4c16ce3ba6979645fb7627aa1e435576172dd63088dc7848cb09aa331fa1fe4f"
 dependencies = [
 dependencies = [
  "borsh 0.10.4",
  "borsh 0.10.4",
  "solana-program",
  "solana-program",
- "spl-discriminator 0.1.0",
- "spl-pod 0.1.0",
- "spl-program-error 0.3.0",
- "spl-type-length-value 0.3.0",
-]
-
-[[package]]
-name = "spl-token-metadata-interface"
-version = "0.3.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3da00495b602ebcf5d8ba8b3ecff1ee454ce4c125c9077747be49c2d62335ba"
-dependencies = [
- "borsh 1.5.1",
- "solana-program",
- "spl-discriminator 0.2.5",
- "spl-pod 0.2.5",
- "spl-program-error 0.4.4",
- "spl-type-length-value 0.4.6",
+ "spl-discriminator",
+ "spl-pod",
+ "spl-program-error",
+ "spl-type-length-value",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -5633,27 +5248,11 @@ dependencies = [
  "arrayref",
  "arrayref",
  "bytemuck",
  "bytemuck",
  "solana-program",
  "solana-program",
- "spl-discriminator 0.1.0",
- "spl-pod 0.1.0",
- "spl-program-error 0.3.0",
- "spl-tlv-account-resolution 0.5.1",
- "spl-type-length-value 0.3.0",
-]
-
-[[package]]
-name = "spl-transfer-hook-interface"
-version = "0.6.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9b5c08a89838e5a2931f79b17f611857f281a14a2100968a3ccef352cb7414b"
-dependencies = [
- "arrayref",
- "bytemuck",
- "solana-program",
- "spl-discriminator 0.2.5",
- "spl-pod 0.2.5",
- "spl-program-error 0.4.4",
- "spl-tlv-account-resolution 0.6.5",
- "spl-type-length-value 0.4.6",
+ "spl-discriminator",
+ "spl-pod",
+ "spl-program-error",
+ "spl-tlv-account-resolution",
+ "spl-type-length-value",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -5664,22 +5263,9 @@ checksum = "a468e6f6371f9c69aae760186ea9f1a01c2908351b06a5e0026d21cfc4d7ecac"
 dependencies = [
 dependencies = [
  "bytemuck",
  "bytemuck",
  "solana-program",
  "solana-program",
- "spl-discriminator 0.1.0",
- "spl-pod 0.1.0",
- "spl-program-error 0.3.0",
-]
-
-[[package]]
-name = "spl-type-length-value"
-version = "0.4.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c872f93d0600e743116501eba2d53460e73a12c9a496875a42a7d70e034fe06d"
-dependencies = [
- "bytemuck",
- "solana-program",
- "spl-discriminator 0.2.5",
- "spl-pod 0.2.5",
- "spl-program-error 0.4.4",
+ "spl-discriminator",
+ "spl-pod",
+ "spl-program-error",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -5814,8 +5400,8 @@ dependencies = [
 name = "system-apply-velocity"
 name = "system-apply-velocity"
 version = "0.2.1"
 version = "0.2.1"
 dependencies = [
 dependencies = [
- "anchor-spl",
- "bolt-lang 0.2.1",
+ "bolt-lang",
+ "mpl-token-metadata",
  "position",
  "position",
  "velocity",
  "velocity",
 ]
 ]
@@ -5845,7 +5431,7 @@ dependencies = [
 name = "system-fly"
 name = "system-fly"
 version = "0.2.1"
 version = "0.2.1"
 dependencies = [
 dependencies = [
- "bolt-lang 0.2.1",
+ "bolt-lang",
  "position",
  "position",
 ]
 ]
 
 
@@ -5853,7 +5439,7 @@ dependencies = [
 name = "system-simple-movement"
 name = "system-simple-movement"
 version = "0.2.1"
 version = "0.2.1"
 dependencies = [
 dependencies = [
- "bolt-lang 0.2.1",
+ "bolt-lang",
  "bolt-types",
  "bolt-types",
  "serde",
  "serde",
 ]
 ]
@@ -6381,7 +5967,7 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
 name = "velocity"
 name = "velocity"
 version = "0.2.1"
 version = "0.2.1"
 dependencies = [
 dependencies = [
- "bolt-lang 0.2.1",
+ "bolt-lang",
 ]
 ]
 
 
 [[package]]
 [[package]]
@@ -6745,27 +6331,13 @@ dependencies = [
  "windows-sys 0.48.0",
  "windows-sys 0.48.0",
 ]
 ]
 
 
-[[package]]
-name = "world"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d7064174d4ffb7bc2ebbd89516fbc09992820386d59176fe612c5ce4d605874"
-dependencies = [
- "anchor-lang",
- "bolt-component 0.1.9",
- "bolt-helpers-world-apply",
- "bolt-system 0.1.9",
- "solana-security-txt",
- "tuple-conv",
-]
-
 [[package]]
 [[package]]
 name = "world"
 name = "world"
 version = "0.2.1"
 version = "0.2.1"
 dependencies = [
 dependencies = [
  "anchor-lang",
  "anchor-lang",
- "bolt-component 0.2.1",
- "bolt-system 0.2.1",
+ "bolt-component",
+ "bolt-system",
  "solana-security-txt",
  "solana-security-txt",
  "tuple-conv",
  "tuple-conv",
 ]
 ]

+ 10 - 8
Cargo.toml

@@ -19,6 +19,8 @@ license = "MIT"
 edition = "2021"
 edition = "2021"
 
 
 [workspace.dependencies]
 [workspace.dependencies]
+bolt-types = { path = "crates/types", version = "=0.2.1" }
+bolt-lang = { path = "crates/bolt-lang", version = "=0.2.1" }
 bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.2.1" }
 bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.2.1" }
 bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.2.1" }
 bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.2.1" }
 bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.2.1" }
 bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.2.1" }
@@ -34,15 +36,15 @@ bolt-system = { path = "crates/programs/bolt-system", features = ["cpi"], versio
 bolt-component = { path = "crates/programs/bolt-component", features = ["cpi"], version = "=0.2.1"}
 bolt-component = { path = "crates/programs/bolt-component", features = ["cpi"], version = "=0.2.1"}
 
 
 ## External crates
 ## External crates
-session-keys = { version = "=2.0.6", features = ["no-entrypoint"] }
-anchor-lang = { version = "=0.30.1", features = ["init-if-needed"] }
-anchor-cli = { version = "=0.30.1" }
-anchor-client = { version = "=0.30.1" }
-anchor-syn = { version = "=0.30.1" }
-anchor-spl = { version = "=0.30.1" }
+session-keys       = { version = "=2.0.6", features = ["no-entrypoint"] }
+anchor-lang        = { version = "=0.30.1", features = ["init-if-needed"] }
+anchor-cli         = { version = "=0.30.1" }
+anchor-client      = { version = "=0.30.1" }
+anchor-syn         = { version = "=0.30.1" }
 anchor-lang-idl = { version = "=0.1.1" }
 anchor-lang-idl = { version = "=0.1.1" }
-solana-program = { version = "=1.18" }
-solana-client = { version = "=1.16" }
+solana-program  = { version = "=1.18.26" }
+solana-client   = { version = "=1.18.26" }
+mpl-token-metadata = { version = "=4.1.2" }
 solana-security-txt = "1.1.1"
 solana-security-txt = "1.1.1"
 tuple-conv = "1.0.1"
 tuple-conv = "1.0.1"
 syn = { version = "1.0.60", features = ["full"] }
 syn = { version = "1.0.60", features = ["full"] }

+ 2 - 3
crates/types/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 [package]
 name = "bolt-types"
 name = "bolt-types"
-version = "0.1.6"
+version.workspace = true
 description = "Autogenerate types for the bolt language"
 description = "Autogenerate types for the bolt language"
 edition = "2021"
 edition = "2021"
 
 
@@ -9,5 +9,4 @@ crate-type = ["cdylib", "lib"]
 name = "bolt_types"
 name = "bolt_types"
 
 
 [dependencies]
 [dependencies]
-bolt-lang = "0.1.6"
-anchor-lang = "0.30.1"
+bolt-lang.workspace = true

+ 1 - 1
examples/component-position/Cargo.toml

@@ -24,4 +24,4 @@ custom-heap = []
 custom-panic = []
 custom-panic = []
 
 
 [dependencies]
 [dependencies]
-bolt-lang = { path = "../../crates/bolt-lang" }
+bolt-lang.workspace = true

+ 1 - 2
examples/component-velocity/Cargo.toml

@@ -24,5 +24,4 @@ custom-heap = []
 custom-panic = []
 custom-panic = []
 
 
 [dependencies]
 [dependencies]
-bolt-lang = { path = "../../crates/bolt-lang" }
-
+bolt-lang.workspace = true

+ 2 - 2
examples/system-apply-velocity/Cargo.toml

@@ -24,7 +24,7 @@ custom-heap = []
 custom-panic = []
 custom-panic = []
 
 
 [dependencies]
 [dependencies]
-anchor-spl = { workspace = true, features = ["metadata"]}
-bolt-lang = { path = "../../crates/bolt-lang" }
+bolt-lang.workspace = true
+mpl-token-metadata.workspace = true
 velocity = { path = "../component-velocity", features = ["cpi"]}
 velocity = { path = "../component-velocity", features = ["cpi"]}
 position = { path = "../component-position", features = ["cpi"]}
 position = { path = "../component-position", features = ["cpi"]}

+ 2 - 3
examples/system-apply-velocity/src/lib.rs

@@ -1,4 +1,3 @@
-use anchor_spl::metadata::Metadata;
 use bolt_lang::*;
 use bolt_lang::*;
 use position::Position;
 use position::Position;
 use velocity::Velocity;
 use velocity::Velocity;
@@ -37,7 +36,7 @@ pub mod system_apply_velocity {
         pub sysvar_clock: AccountInfo,
         pub sysvar_clock: AccountInfo,
         #[account(address = pubkey!("tEsT3eV6RFCWs1BZ7AXTzasHqTtMnMLCB2tjQ42TDXD"))]
         #[account(address = pubkey!("tEsT3eV6RFCWs1BZ7AXTzasHqTtMnMLCB2tjQ42TDXD"))]
         pub some_extra_account: AccountInfo,
         pub some_extra_account: AccountInfo,
-        #[account(address = Metadata::id())]
-        pub program_metadata: Program<Metadata>,
+        #[account(address = mpl_token_metadata::ID)]
+        pub program_metadata: Program<mpl_token_metadata::Metadata>,
     }
     }
 }
 }

+ 1 - 1
examples/system-fly/Cargo.toml

@@ -24,7 +24,7 @@ custom-heap = []
 custom-panic = []
 custom-panic = []
 
 
 [dependencies]
 [dependencies]
-bolt-lang = { path = "../../crates/bolt-lang" }
+bolt-lang.workspace = true
 position = { path = "../component-position", features = ["cpi"]}
 position = { path = "../component-position", features = ["cpi"]}
 
 
 
 

+ 3 - 3
examples/system-simple-movement/Cargo.toml

@@ -24,6 +24,6 @@ custom-heap = []
 custom-panic = []
 custom-panic = []
 
 
 [dependencies]
 [dependencies]
-serde = { workspace = true }
-bolt-lang = { path = "../../crates/bolt-lang" }
-bolt-types = { version = "0.1.6", path = "../../crates/types" }
+serde.workspace = true
+bolt-lang.workspace = true
+bolt-types.workspace = true