Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 7a021d6

Browse files
authored
discriminator: Bump to 0.2.0 (#6513)
* discriminator: Bump borsh * Bump to 0.2.0 * Update dependencies to use new discriminator library
1 parent 93bf0db commit 7a021d6

File tree

10 files changed

+65
-66
lines changed

10 files changed

+65
-66
lines changed

Cargo.lock

Lines changed: 49 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libraries/discriminator/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spl-discriminator"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
description = "Solana Program Library 8-Byte Discriminator Management"
55
authors = ["Solana Labs Maintainers <[email protected]>"]
66
repository = "https://github.com/solana-labs/solana-program-library"
@@ -11,7 +11,7 @@ edition = "2021"
1111
borsh = ["dep:borsh"]
1212

1313
[dependencies]
14-
borsh = { version = "0.10", optional = true }
14+
borsh = { version = "1", optional = true }
1515
bytemuck = { version = "1.15.0", features = ["derive"] }
1616
solana-program = ">=1.18.2,<=2"
1717
spl-discriminator-derive = { version = "0.1.2", path = "./derive" }

libraries/tlv-account-resolution/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spl-tlv-account-resolution"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
description = "Solana Program Library TLV Account Resolution Interface"
55
authors = ["Solana Labs Maintainers <[email protected]>"]
66
repository = "https://github.com/solana-labs/solana-program-library"
@@ -15,7 +15,7 @@ test-sbf = []
1515
bytemuck = { version = "1.15.0", features = ["derive"] }
1616
serde = { version = "1.0.197", optional = true }
1717
solana-program = ">=1.18.2,<=2"
18-
spl-discriminator = { version = "0.1", path = "../discriminator" }
18+
spl-discriminator = { version = "0.2", path = "../discriminator" }
1919
spl-program-error = { version = "0.3", path = "../program-error" }
2020
spl-type-length-value = { version = "0.4", path = "../type-length-value" }
2121
spl-pod = { version = "0.2", path = "../pod" }
@@ -26,7 +26,6 @@ futures-util = "0.3"
2626
solana-client = ">=1.18.2,<=2"
2727
solana-program-test = ">=1.18.2,<=2"
2828
solana-sdk = ">=1.18.2,<=2"
29-
spl-discriminator = { version = "0.1", path = "../discriminator" }
3029

3130
[lib]
3231
crate-type = ["cdylib", "lib"]

libraries/type-length-value-derive-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ edition = "2021"
1010
[dev-dependencies]
1111
borsh = "1.2.1"
1212
solana-program = "1.16"
13-
spl-discriminator = { version = "0.1.1", path = "../discriminator" }
13+
spl-discriminator = { version = "0.2", path = "../discriminator" }
1414
spl-type-length-value = { version = "0.4", path = "../type-length-value", features = [
1515
"derive",
1616
] }

libraries/type-length-value/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spl-type-length-value"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
description = "Solana Program Library Type-Length-Value Management"
55
authors = ["Solana Labs Maintainers <[email protected]>"]
66
repository = "https://github.com/solana-labs/solana-program-library"
@@ -14,7 +14,7 @@ derive = ["dep:spl-type-length-value-derive"]
1414
[dependencies]
1515
bytemuck = { version = "1.15.0", features = ["derive"] }
1616
solana-program = ">=1.18.2,<=2"
17-
spl-discriminator = { version = "0.1", path = "../discriminator" }
17+
spl-discriminator = { version = "0.2", path = "../discriminator" }
1818
spl-program-error = { version = "0.3", path = "../program-error" }
1919
spl-type-length-value-derive = { version = "0.1", path = "./derive", optional = true }
2020
spl-pod = { version = "0.2", path = "../pod" }

token-collection/program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spl-type-length-value = { version = "0.4", path = "../../libraries/type-length-v
2424
[dev-dependencies]
2525
solana-program-test = ">=1.18.2,<=2"
2626
solana-sdk = ">=1.18.2,<=2"
27-
spl-discriminator = { version = "0.1.1", path = "../../libraries/discriminator" }
27+
spl-discriminator = { version = "0.2", path = "../../libraries/discriminator" }
2828
spl-token-client = { version = "0.9", path = "../../token/client" }
2929

3030
[lib]

token-group/example/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spl-token-group-example"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "Solana Program Library Token Group Example"
55
authors = ["Solana Labs Maintainers <[email protected]>"]
66
repository = "https://github.com/solana-labs/solana-program-library"
@@ -21,7 +21,7 @@ spl-type-length-value = { version = "0.4", path = "../../libraries/type-length-v
2121
[dev-dependencies]
2222
solana-program-test = ">=1.18.2,<=2"
2323
solana-sdk = ">=1.18.2,<=2"
24-
spl-discriminator = { version = "0.1.1", path = "../../libraries/discriminator" }
24+
spl-discriminator = { version = "0.2", path = "../../libraries/discriminator" }
2525
spl-token-client = { version = "0.9", path = "../../token/client" }
2626
spl-token-metadata-interface = { version = "0.3", path = "../../token-metadata/interface" }
2727

token-group/interface/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spl-token-group-interface"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "Solana Program Library Token Group Interface"
55
authors = ["Solana Labs Maintainers <[email protected]>"]
66
repository = "https://github.com/solana-labs/solana-program-library"
@@ -10,7 +10,7 @@ edition = "2021"
1010
[dependencies]
1111
bytemuck = "1.15.0"
1212
solana-program = ">=1.18.2,<=2"
13-
spl-discriminator = { version = "0.1.1" , path = "../../libraries/discriminator" }
13+
spl-discriminator = { version = "0.2" , path = "../../libraries/discriminator" }
1414
spl-pod = { version = "0.2" , path = "../../libraries/pod", features = ["borsh"] }
1515
spl-program-error = { version = "0.3.1" , path = "../../libraries/program-error" }
1616

token-metadata/interface/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spl-token-metadata-interface"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
description = "Solana Program Library Token Metadata Interface"
55
authors = ["Solana Labs Maintainers <[email protected]>"]
66
repository = "https://github.com/solana-labs/solana-program-library"
@@ -14,7 +14,7 @@ serde-traits = ["dep:serde", "spl-pod/serde-traits"]
1414
borsh = "1.2.1"
1515
serde = { version = "1.0.197", optional = true }
1616
solana-program = ">=1.18.2,<=2"
17-
spl-discriminator = { version = "0.1", path = "../../libraries/discriminator" }
17+
spl-discriminator = { version = "0.2", path = "../../libraries/discriminator" }
1818
spl-program-error = { version = "0.3", path = "../../libraries/program-error" }
1919
spl-type-length-value = { version = "0.4", path = "../../libraries/type-length-value" }
2020
spl-pod = { version = "0.2", path = "../../libraries/pod", features = [

0 commit comments

Comments
 (0)