diff --git a/clients/rust/Cargo.lock b/clients/rust/Cargo.lock index 6c01e77b..ab01873b 100644 --- a/clients/rust/Cargo.lock +++ b/clients/rust/Cargo.lock @@ -2163,7 +2163,7 @@ dependencies = [ [[package]] name = "mpl-token-metadata" -version = "4.1.2" +version = "5.0.0-beta.0" dependencies = [ "assert_matches", "borsh 0.10.3", @@ -2174,9 +2174,9 @@ dependencies = [ "solana-program", "solana-program-test", "solana-sdk", - "spl-associated-token-account 5.0.1", + "spl-associated-token-account", "spl-token", - "spl-token-2022 5.0.2", + "spl-token-2022", "test-case", "thiserror", ] @@ -3503,9 +3503,9 @@ dependencies = [ "solana-config-program", "solana-sdk", "spl-token", - "spl-token-2022 4.0.0", - "spl-token-group-interface 0.3.0", - "spl-token-metadata-interface 0.4.0", + "spl-token-2022", + "spl-token-group-interface", + "spl-token-metadata-interface", "thiserror", "zstd", ] @@ -4513,12 +4513,12 @@ dependencies = [ "serde_json", "solana-account-decoder", "solana-sdk", - "spl-associated-token-account 4.0.0", + "spl-associated-token-account", "spl-memo", "spl-token", - "spl-token-2022 4.0.0", - "spl-token-group-interface 0.3.0", - "spl-token-metadata-interface 0.4.0", + "spl-token-2022", + "spl-token-group-interface", + "spl-token-metadata-interface", "thiserror", ] @@ -4727,35 +4727,10 @@ dependencies = [ "num-traits", "solana-program", "spl-token", - "spl-token-2022 4.0.0", + "spl-token-2022", "thiserror", ] -[[package]] -name = "spl-associated-token-account" -version = "5.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "714b53f7312c2802c62f14bc8a07916c2c872761e3d6be97e99fd432be7799ca" -dependencies = [ - "borsh 1.5.1", - "num-derive 0.4.2", - "num-traits", - "solana-program", - "spl-associated-token-account-client", - "spl-token", - "spl-token-2022 5.0.2", - "thiserror", -] - -[[package]] -name = "spl-associated-token-account-client" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c5c1e2d53941ea7ebc4be3f86302a3c6c5178baa932bbc038468429e6900d36" -dependencies = [ - "solana-program", -] - [[package]] name = "spl-discriminator" version = "0.3.0" @@ -4814,20 +4789,6 @@ dependencies = [ "spl-program-error", ] -[[package]] -name = "spl-pod" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00e38c99f09d58df06ca9a29fc0211786a4c34f4d099c1df27b1abaa206569a4" -dependencies = [ - "borsh 1.5.1", - "bytemuck", - "bytemuck_derive", - "solana-program", - "solana-zk-sdk", - "spl-program-error", -] - [[package]] name = "spl-program-error" version = "0.5.0" @@ -4862,23 +4823,9 @@ dependencies = [ "bytemuck", "solana-program", "spl-discriminator", - "spl-pod 0.3.1", + "spl-pod", "spl-program-error", - "spl-type-length-value 0.5.0", -] - -[[package]] -name = "spl-tlv-account-resolution" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29ffc5c76926c1cbc8d92ac1d9341328308d15bae04a67da5a226e36d5bc395a" -dependencies = [ - "bytemuck", - "solana-program", - "spl-discriminator", - "spl-pod 0.4.0", - "spl-program-error", - "spl-type-length-value 0.6.0", + "spl-type-length-value", ] [[package]] @@ -4911,74 +4858,12 @@ dependencies = [ "solana-security-txt", "solana-zk-token-sdk", "spl-memo", - "spl-pod 0.3.1", + "spl-pod", "spl-token", - "spl-token-group-interface 0.3.0", - "spl-token-metadata-interface 0.4.0", - "spl-transfer-hook-interface 0.7.0", - "spl-type-length-value 0.5.0", - "thiserror", -] - -[[package]] -name = "spl-token-2022" -version = "5.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0b788a8c34a917b68b4ed2cdec255d03cc09ccba21545dac39c08a97fce640f" -dependencies = [ - "arrayref", - "bytemuck", - "num-derive 0.4.2", - "num-traits", - "num_enum", - "solana-program", - "solana-security-txt", - "solana-zk-sdk", - "spl-memo", - "spl-pod 0.4.0", - "spl-token", - "spl-token-confidential-transfer-ciphertext-arithmetic", - "spl-token-confidential-transfer-proof-extraction", - "spl-token-confidential-transfer-proof-generation", - "spl-token-group-interface 0.4.2", - "spl-token-metadata-interface 0.5.1", - "spl-transfer-hook-interface 0.8.2", - "spl-type-length-value 0.6.0", - "thiserror", -] - -[[package]] -name = "spl-token-confidential-transfer-ciphertext-arithmetic" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48df72fb98b4069979aa4806d4a634ad6f08cb0358e732e6fbac231c5dc075bd" -dependencies = [ - "base64 0.22.1", - "bytemuck", - "solana-curve25519", - "solana-zk-sdk", -] - -[[package]] -name = "spl-token-confidential-transfer-proof-extraction" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae2ce92a0b9673c44207b21d99526b96d557d5a25752f36c38fae37c49129c3b" -dependencies = [ - "bytemuck", - "solana-curve25519", - "solana-zk-sdk", - "thiserror", -] - -[[package]] -name = "spl-token-confidential-transfer-proof-generation" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216517cc8cd26dfe768521542f221f91049be102d1eefd8054cde881d1b5d267" -dependencies = [ - "curve25519-dalek", - "solana-zk-sdk", + "spl-token-group-interface", + "spl-token-metadata-interface", + "spl-transfer-hook-interface", + "spl-type-length-value", "thiserror", ] @@ -4991,20 +4876,7 @@ dependencies = [ "bytemuck", "solana-program", "spl-discriminator", - "spl-pod 0.3.1", - "spl-program-error", -] - -[[package]] -name = "spl-token-group-interface" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c54728921a6f180525c4f3a4cc3b231db8da940681c8009259faa65d84c6196" -dependencies = [ - "bytemuck", - "solana-program", - "spl-discriminator", - "spl-pod 0.4.0", + "spl-pod", "spl-program-error", ] @@ -5017,23 +4889,9 @@ dependencies = [ "borsh 1.5.1", "solana-program", "spl-discriminator", - "spl-pod 0.3.1", + "spl-pod", "spl-program-error", - "spl-type-length-value 0.5.0", -] - -[[package]] -name = "spl-token-metadata-interface" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27c7a6d2a2a4f23c8f051ba2f7edb5689f1b534b4126bd9b4ae4177685e9a341" -dependencies = [ - "borsh 1.5.1", - "solana-program", - "spl-discriminator", - "spl-pod 0.4.0", - "spl-program-error", - "spl-type-length-value 0.6.0", + "spl-type-length-value", ] [[package]] @@ -5046,26 +4904,10 @@ dependencies = [ "bytemuck", "solana-program", "spl-discriminator", - "spl-pod 0.3.1", + "spl-pod", "spl-program-error", - "spl-tlv-account-resolution 0.7.0", - "spl-type-length-value 0.5.0", -] - -[[package]] -name = "spl-transfer-hook-interface" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b82e5ad62ad342d8fbb907b2a7aede7a5a258ce16366c26a686acc1df431fc63" -dependencies = [ - "arrayref", - "bytemuck", - "solana-program", - "spl-discriminator", - "spl-pod 0.4.0", - "spl-program-error", - "spl-tlv-account-resolution 0.8.1", - "spl-type-length-value 0.6.0", + "spl-tlv-account-resolution", + "spl-type-length-value", ] [[package]] @@ -5077,20 +4919,7 @@ dependencies = [ "bytemuck", "solana-program", "spl-discriminator", - "spl-pod 0.3.1", - "spl-program-error", -] - -[[package]] -name = "spl-type-length-value" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69c08deb8332a6c051f6e846b5e9c962695295dd97e0e151dccf3ef85dcf01b4" -dependencies = [ - "bytemuck", - "solana-program", - "spl-discriminator", - "spl-pod 0.4.0", + "spl-pod", "spl-program-error", ] diff --git a/clients/rust/Cargo.toml b/clients/rust/Cargo.toml index 1858475e..029d2826 100644 --- a/clients/rust/Cargo.toml +++ b/clients/rust/Cargo.toml @@ -1,19 +1,19 @@ [package] -name = "mpl-token-metadata" -version = "4.1.2" -description = "Metaplex Token Metadata SDK" authors = ["Metaplex Developers "] -repository = "https://github.com/metaplex-foundation/mpl-token-metadata" -license-file = "../../LICENSE" +description = "Metaplex Token Metadata SDK" edition = "2021" +license-file = "../../LICENSE" +name = "mpl-token-metadata" readme = "README.md" +repository = "https://github.com/metaplex-foundation/mpl-token-metadata" +version = "5.0.0-beta.0" [lib] crate-type = ["cdylib", "lib"] [features] -test-sbf = [] serde = ["dep:serde", "dep:serde_with"] +test-sbf = [] [dependencies] borsh = ">= 0.9, < 1.0" @@ -28,7 +28,9 @@ thiserror = "^1.0" assert_matches = "1.5.0" solana-program-test = ">=1.14" solana-sdk = ">=1.14" +spl-associated-token-account = { version = ">= 1.1.3", features = [ + "no-entrypoint", +] } spl-token = { version = ">= 3.5.0", features = ["no-entrypoint"] } spl-token-2022 = { version = ">=0.8.0", features = ["no-entrypoint"] } -spl-associated-token-account = { version = ">= 1.1.3", features = ["no-entrypoint"] } test-case = "3.1.0"