diff --git a/Cargo.lock b/Cargo.lock index 105a42843fd..0ccacb0c973 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7828,23 +7828,23 @@ dependencies = [ [[package]] name = "spl-discriminator" version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a38ea8b6dedb7065887f12d62ed62c1743aa70749e8558f963609793f6fb12bc" dependencies = [ - "borsh 1.5.1", "bytemuck", - "solana-program-error", - "solana-sha256-hasher", - "spl-discriminator-derive 0.2.0", + "solana-program", + "spl-discriminator-derive 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "spl-discriminator" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a38ea8b6dedb7065887f12d62ed62c1743aa70749e8558f963609793f6fb12bc" +version = "0.4.0" dependencies = [ + "borsh 1.5.1", "bytemuck", - "solana-program", - "spl-discriminator-derive 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "solana-program-error", + "solana-sha256-hasher", + "spl-discriminator-derive 0.2.0", ] [[package]] @@ -8424,7 +8424,7 @@ checksum = "37a75a5f0fcc58126693ed78a17042e9dc53f07e357d6be91789f7d62aff61a4" dependencies = [ "bytemuck", "solana-program", - "spl-discriminator 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "spl-discriminator 0.3.0", "spl-pod 0.3.0", "spl-program-error 0.5.0", "spl-type-length-value 0.5.0", @@ -8449,7 +8449,7 @@ dependencies = [ "solana-program-test", "solana-pubkey", "solana-sdk", - "spl-discriminator 0.3.0", + "spl-discriminator 0.4.0", "spl-pod 0.5.0", "spl-program-error 0.6.0", "spl-type-length-value 0.6.0", @@ -8654,7 +8654,7 @@ dependencies = [ "solana-program", "solana-program-test", "solana-sdk", - "spl-discriminator 0.3.0", + "spl-discriminator 0.4.0", "spl-pod 0.5.0", "spl-program-error 0.6.0", "spl-token-2022 5.0.2", @@ -8716,7 +8716,7 @@ dependencies = [ "solana-program", "solana-program-test", "solana-sdk", - "spl-discriminator 0.3.0", + "spl-discriminator 0.4.0", "spl-pod 0.5.0", "spl-token-2022 5.0.2", "spl-token-client", @@ -8733,7 +8733,7 @@ checksum = "df8752b85a5ecc1d9f3a43bce3dd9a6a053673aacf5deb513d1cbb88d3534ffd" dependencies = [ "bytemuck", "solana-program", - "spl-discriminator 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "spl-discriminator 0.3.0", "spl-pod 0.3.0", "spl-program-error 0.5.0", ] @@ -8751,7 +8751,7 @@ dependencies = [ "solana-program-error", "solana-pubkey", "solana-sha256-hasher", - "spl-discriminator 0.3.0", + "spl-discriminator 0.4.0", "spl-pod 0.5.0", "spl-type-length-value 0.6.0", "thiserror", @@ -8813,7 +8813,7 @@ checksum = "c6c2318ddff97e006ed9b1291ebec0750a78547f870f62a69c56fe3b46a5d8fc" dependencies = [ "borsh 1.5.1", "solana-program", - "spl-discriminator 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "spl-discriminator 0.3.0", "spl-pod 0.3.0", "spl-program-error 0.5.0", "spl-type-length-value 0.5.0", @@ -8835,7 +8835,7 @@ dependencies = [ "solana-program-error", "solana-pubkey", "solana-sha256-hasher", - "spl-discriminator 0.3.0", + "spl-discriminator 0.4.0", "spl-pod 0.5.0", "spl-type-length-value 0.6.0", "thiserror", @@ -8974,7 +8974,7 @@ dependencies = [ "arrayref", "bytemuck", "solana-program", - "spl-discriminator 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "spl-discriminator 0.3.0", "spl-pod 0.3.0", "spl-program-error 0.5.0", "spl-tlv-account-resolution 0.7.0", @@ -8988,7 +8988,7 @@ dependencies = [ "arrayref", "bytemuck", "solana-program", - "spl-discriminator 0.3.0", + "spl-discriminator 0.4.0", "spl-pod 0.5.0", "spl-program-error 0.6.0", "spl-tlv-account-resolution 0.8.1", @@ -9004,7 +9004,7 @@ checksum = "bdcd73ec187bc409464c60759232e309f83b52a18a9c5610bf281c9c6432918c" dependencies = [ "bytemuck", "solana-program", - "spl-discriminator 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "spl-discriminator 0.3.0", "spl-pod 0.3.0", "spl-program-error 0.5.0", ] @@ -9020,7 +9020,7 @@ dependencies = [ "solana-decode-error", "solana-msg", "solana-program-error", - "spl-discriminator 0.3.0", + "spl-discriminator 0.4.0", "spl-pod 0.5.0", "spl-type-length-value-derive", "thiserror", @@ -9041,7 +9041,7 @@ version = "0.1.0" dependencies = [ "borsh 1.5.1", "solana-borsh", - "spl-discriminator 0.3.0", + "spl-discriminator 0.4.0", "spl-type-length-value 0.6.0", ] diff --git a/libraries/discriminator/Cargo.toml b/libraries/discriminator/Cargo.toml index de8d84c6aa3..b6a765e32dd 100644 --- a/libraries/discriminator/Cargo.toml +++ b/libraries/discriminator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spl-discriminator" -version = "0.3.0" +version = "0.4.0" description = "Solana Program Library 8-Byte Discriminator Management" authors = ["Solana Labs Maintainers "] repository = "https://github.com/solana-labs/solana-program-library" diff --git a/libraries/tlv-account-resolution/Cargo.toml b/libraries/tlv-account-resolution/Cargo.toml index 189140d5a12..60d147356e5 100644 --- a/libraries/tlv-account-resolution/Cargo.toml +++ b/libraries/tlv-account-resolution/Cargo.toml @@ -22,7 +22,7 @@ solana-instruction = { version = "2.1.0", features = ["std"] } solana-program-error = "2.1.0" solana-msg = "2.1.0" solana-pubkey = "2.1.0" -spl-discriminator = { version = "0.3.0", path = "../discriminator" } +spl-discriminator = { version = "0.4.0", path = "../discriminator" } spl-program-error = { version = "0.6.0", path = "../program-error" } spl-pod = { version = "0.5.0", path = "../pod" } spl-type-length-value = { version = "0.6.0", path = "../type-length-value" } diff --git a/libraries/type-length-value-derive-test/Cargo.toml b/libraries/type-length-value-derive-test/Cargo.toml index cffba436b26..f5cc14a60b5 100644 --- a/libraries/type-length-value-derive-test/Cargo.toml +++ b/libraries/type-length-value-derive-test/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" [dev-dependencies] borsh = "1.5.1" solana-borsh = "2.1.0" -spl-discriminator = { version = "0.3.0", path = "../discriminator" } +spl-discriminator = { version = "0.4.0", path = "../discriminator" } spl-type-length-value = { version = "0.6.0", path = "../type-length-value", features = [ "derive", ] } diff --git a/libraries/type-length-value/Cargo.toml b/libraries/type-length-value/Cargo.toml index 84f48a07d7c..758c568f671 100644 --- a/libraries/type-length-value/Cargo.toml +++ b/libraries/type-length-value/Cargo.toml @@ -19,7 +19,7 @@ solana-account-info = "2.1.0" solana-decode-error = "2.1.0" solana-msg = "2.1.0" solana-program-error = "2.1.0" -spl-discriminator = { version = "0.3.0", path = "../discriminator" } +spl-discriminator = { version = "0.4.0", path = "../discriminator" } spl-type-length-value-derive = { version = "0.1", path = "./derive", optional = true } spl-pod = { version = "0.5.0", path = "../pod" } thiserror = "1.0" diff --git a/token-collection/program/Cargo.toml b/token-collection/program/Cargo.toml index c9a9c45f805..e3988f4e430 100644 --- a/token-collection/program/Cargo.toml +++ b/token-collection/program/Cargo.toml @@ -24,7 +24,7 @@ spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length [dev-dependencies] solana-program-test = "2.1.0" solana-sdk = "2.1.0" -spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } +spl-discriminator = { version = "0.4.0", path = "../../libraries/discriminator" } spl-token-client = { version = "0.12.1", path = "../../token/client" } [lib] diff --git a/token-group/example/Cargo.toml b/token-group/example/Cargo.toml index 2818c2d2cc5..dc29f077ab9 100644 --- a/token-group/example/Cargo.toml +++ b/token-group/example/Cargo.toml @@ -21,7 +21,7 @@ spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length [dev-dependencies] solana-program-test = "2.1.0" solana-sdk = "2.1.0" -spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } +spl-discriminator = { version = "0.4.0", path = "../../libraries/discriminator" } spl-token-client = { version = "0.12.1", path = "../../token/client" } spl-token-metadata-interface = { version = "0.5.1", path = "../../token-metadata/interface" } diff --git a/token-group/interface/Cargo.toml b/token-group/interface/Cargo.toml index 972686888f7..b83fc12311f 100644 --- a/token-group/interface/Cargo.toml +++ b/token-group/interface/Cargo.toml @@ -16,7 +16,7 @@ solana-instruction = "2.1.0" solana-msg = "2.1.0" solana-program-error = "2.1.0" solana-pubkey = "2.1.0" -spl-discriminator = { version = "0.3.0" , path = "../../libraries/discriminator" } +spl-discriminator = { version = "0.4.0", path = "../../libraries/discriminator" } spl-pod = { version = "0.5.0", path = "../../libraries/pod", features = ["borsh"] } thiserror = "1.0" diff --git a/token-metadata/interface/Cargo.toml b/token-metadata/interface/Cargo.toml index 19ba97d3e0b..b9117f121ee 100644 --- a/token-metadata/interface/Cargo.toml +++ b/token-metadata/interface/Cargo.toml @@ -20,7 +20,7 @@ solana-decode-error = "2.1.0" solana-instruction = "2.1.0" solana-msg = "2.1.0" solana-program-error = "2.1.0" -spl-discriminator = { version = "0.3.0", path = "../../libraries/discriminator" } +spl-discriminator = { version = "0.4.0", path = "../../libraries/discriminator" } solana-pubkey = "2.1.0" spl-type-length-value = { version = "0.6.0", path = "../../libraries/type-length-value" } spl-pod = { version = "0.5.0", path = "../../libraries/pod", features = [ diff --git a/token/transfer-hook/interface/Cargo.toml b/token/transfer-hook/interface/Cargo.toml index d1508e163f7..cfef1bc4138 100644 --- a/token/transfer-hook/interface/Cargo.toml +++ b/token/transfer-hook/interface/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" arrayref = "0.3.9" bytemuck = { version = "1.19.0", features = ["derive"] } solana-program = "2.1.0" -spl-discriminator = { version = "0.3.0" , path = "../../../libraries/discriminator" } +spl-discriminator = { version = "0.4.0", path = "../../../libraries/discriminator" } spl-program-error = { version = "0.6.0", path = "../../../libraries/program-error" } spl-tlv-account-resolution = { version = "0.8.1", path = "../../../libraries/tlv-account-resolution" } spl-type-length-value = { version = "0.6.0", path = "../../../libraries/type-length-value" }