Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump thiserror from 1.0.68 to 2.0.0 #7462

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
220 changes: 120 additions & 100 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion associated-token-account/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spl-token = { version = "7.0", path = "../../token/program", features = [
spl-token-2022 = { version = "6.0.0", path = "../../token/program-2022", features = [
"no-entrypoint",
] }
thiserror = "1.0"
thiserror = "2.0"

[lib]
crate-type = ["cdylib", "lib"]
Expand Down
2 changes: 1 addition & 1 deletion binary-option/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test-sbf = []

[dependencies]
solana-program = "2.1.0"
thiserror = "1.0"
thiserror = "2.0"
spl-token = { version = "7.0", path = "../../token/program", features = [
"no-entrypoint",
] }
Expand Down
2 changes: 1 addition & 1 deletion binary-oracle-pair/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ solana-program = "2.1.0"
spl-token = { version = "7.0", path = "../../token/program", features = [
"no-entrypoint",
] }
thiserror = "1.0"
thiserror = "2.0"
uint = "0.10"
borsh = "1.5.1"

Expand Down
2 changes: 1 addition & 1 deletion governance/addin-mock/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spl-token = { version = "7.0", path = "../../../token/program", features = [
] }
spl-governance-addin-api = { version = "0.1.4", path = "../../addin-api" }
spl-governance-tools = { version = "0.1.4", path = "../../tools" }
thiserror = "1.0"
thiserror = "2.0"


[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion governance/chat/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spl-governance = { version = "4.0.0", path = "../../program", features = [
] }
spl-governance-tools = { version = "0.1.4", path = "../../tools" }
spl-governance-addin-api = { version = "0.1.4", path = "../../addin-api" }
thiserror = "1.0"
thiserror = "2.0"


[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion governance/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spl-token = { version = "7.0", path = "../../token/program", features = [
] }
spl-governance-tools = { version = "0.1.4", path = "../tools" }
spl-governance-addin-api = { version = "0.1.4", path = "../addin-api" }
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
assert_matches = "1.5.0"
Expand Down
2 changes: 1 addition & 1 deletion governance/test-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ solana-sdk = "2.1.0"
spl-token = { version = "7.0", path = "../../token/program", features = [
"no-entrypoint",
] }
thiserror = "1.0"
thiserror = "2.0"
2 changes: 1 addition & 1 deletion governance/tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ solana-program = "2.1.0"
spl-token = { version = "7.0", path = "../../token/program", features = [
"no-entrypoint",
] }
thiserror = "1.0"
thiserror = "2.0"
2 changes: 1 addition & 1 deletion libraries/concurrent-merkle-tree/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sol-log = ["log"]
[dependencies]
solana-program = ">=1.18.11,<=2"
bytemuck = "1.19"
thiserror = "1.0.68"
thiserror = "2.0.0"

[dev-dependencies]
rand_distr = "0.4.3"
Expand Down
2 changes: 1 addition & 1 deletion libraries/math-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ num-derive = "0.4"
num-traits = "0.2"
solana-program = "2.1.0"
spl-math = { path = "../math", version = "0.3.0" }
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
solana-program-test = "2.1.0"
Expand Down
2 changes: 1 addition & 1 deletion libraries/merkle-tree-reference/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"

[dependencies]
solana-program = ">=1.18.11,<=2"
thiserror = "1.0.68"
thiserror = "2.0.0"

[lib]
crate-type = ["cdylib", "lib"]
Expand Down
2 changes: 1 addition & 1 deletion libraries/pod/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ solana-program-error = "2.1.0"
solana-program-option = "2.1.0"
solana-pubkey = "2.1.0"
solana-zk-sdk = "2.1.0"
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
serde_json = "1.0.132"
Expand Down
2 changes: 1 addition & 1 deletion libraries/program-error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ num-derive = "0.4"
num-traits = "0.2"
solana-program = "2.1.0"
spl-program-error-derive = { version = "0.4.1", path = "./derive" }
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
lazy_static = "1.5"
Expand Down
2 changes: 1 addition & 1 deletion libraries/tlv-account-resolution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ 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.7.0", path = "../type-length-value" }
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
futures = "0.3.31"
Expand Down
2 changes: 1 addition & 1 deletion libraries/type-length-value/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ solana-program-error = "2.1.0"
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"
thiserror = "2.0"

[lib]
crate-type = ["cdylib", "lib"]
Expand Down
2 changes: 1 addition & 1 deletion managed-token/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spl-associated-token-account-client = { version = "2.0.0", path = "../../associa
spl-token = { version = "7.0", path = "../../token/program", features = [
"no-entrypoint",
] }
thiserror = "^1.0.68"
thiserror = "^2.0.0"

[dev-dependencies]
solana-program-test = "2.1.0"
Expand Down
2 changes: 1 addition & 1 deletion name-service/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ solana-program = "2.1.0"
num-traits = "0.2"
borsh = "1.5.1"
num-derive = "0.4.2"
thiserror = "1.0.68"
thiserror = "2.0.0"

[dev-dependencies]
solana-program-test = "2.1.0"
Expand Down
2 changes: 1 addition & 1 deletion record/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ solana-program-error = "2.1.0"
solana-program-pack = "2.1.0"
solana-pubkey = { version = "2.1.0", features = ["bytemuck"] }
solana-rent = "2.1.0"
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
solana-program-test = "2.1.0"
Expand Down
2 changes: 1 addition & 1 deletion single-pool/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ solana-security-txt = "1.1.1"
spl-token = { version = "7.0", path = "../../token/program", features = [
"no-entrypoint",
] }
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
solana-program-test = "2.1.0"
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 @@ -28,7 +28,7 @@ spl-pod = { version = "0.5.0", path = "../../libraries/pod", features = [
spl-token-2022 = { version = "6.0.0", path = "../../token/program-2022", features = [
"no-entrypoint",
] }
thiserror = "1.0"
thiserror = "2.0"
bincode = "1.3.1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion stateless-asks/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spl-token = { version = "7.0", path = "../../token/program", features = [
"no-entrypoint",
] }
spl-associated-token-account-client = { version = "2.0.0", path = "../../associated-token-account/client" }
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
solana-program-test = "2.1.0"
Expand Down
2 changes: 1 addition & 1 deletion token-group/interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ solana-program-error = "2.1.0"
solana-pubkey = "2.1.0"
spl-discriminator = { version = "0.4.0", path = "../../libraries/discriminator" }
spl-pod = { version = "0.5.0", path = "../../libraries/pod", features = ["borsh"] }
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
solana-sha256-hasher = "2.1.0"
Expand Down
2 changes: 1 addition & 1 deletion token-lending/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 = "2.1.0"
spl-token = { version = "7.0", path = "../../token/program", features = [ "no-entrypoint" ] }
thiserror = "1.0"
thiserror = "2.0"
uint = "0.10"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion token-metadata/interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spl-type-length-value = { version = "0.7.0", path = "../../libraries/type-length
spl-pod = { version = "0.5.0", path = "../../libraries/pod", features = [
"borsh",
] }
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
serde_json = "1.0.132"
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 @@ -21,7 +21,7 @@ solana-program = "2.1.0"
spl-math = { version = "0.3", path = "../../libraries/math" }
spl-token = { version = "7.0", path = "../../token/program", features = [ "no-entrypoint" ] }
spl-token-2022 = { version = "6.0.0", path = "../../token/program-2022", features = [ "no-entrypoint" ] }
thiserror = "1.0"
thiserror = "2.0"
arbitrary = { version = "1.4", features = ["derive"], optional = true }
roots = { version = "0.0.8", optional = true }

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 @@ -17,7 +17,7 @@ num-traits = "0.2"
num_enum = "0.7.3"
solana-program = "2.1.0"
spl-token-2022 = { version = "6.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
solana-program-test = "2.1.0"
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 @@ -18,7 +18,7 @@ solana-program = "2.1.0"
spl-associated-token-account = { version = "6.0.0", path = "../../associated-token-account/program", features = ["no-entrypoint"] }
spl-token = { version = "7.0", path = "../../token/program", features = ["no-entrypoint"] }
spl-token-2022 = { version = "6.0.0", path = "../../token/program-2022", features = ["no-entrypoint"] }
thiserror = "1.0"
thiserror = "2.0"

[lib]
crate-type = ["cdylib", "lib"]
Expand Down
2 changes: 1 addition & 1 deletion token/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spl-token-2022 = { version = "6.0.0", path = "../program-2022" }
spl-token-group-interface = { version = "0.5.0", path = "../../token-group/interface" }
spl-token-metadata-interface = { version = "0.6.0", path = "../../token-metadata/interface" }
spl-transfer-hook-interface = { version = "0.9.0", path = "../transfer-hook/interface" }
thiserror = "1.0"
thiserror = "2.0"

[features]
default = ["display"]
Expand Down
2 changes: 1 addition & 1 deletion token/confidential-transfer/proof-extraction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ solana-curve25519 = "2.1.0"
solana-program = "2.1.0"
solana-zk-sdk = "2.1.0"
spl-pod = { version = "0.5.0", path = "../../../libraries/pod" }
thiserror = "1.0.68"
thiserror = "2.0.0"

[lib]
crate-type = ["cdylib", "lib"]
2 changes: 1 addition & 1 deletion token/confidential-transfer/proof-generation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2021"
[dependencies]
curve25519-dalek = "4.1.3"
solana-zk-sdk = "2.1.0"
thiserror = "1.0.68"
thiserror = "2.0.0"

[dev-dependencies]

Expand Down
2 changes: 1 addition & 1 deletion token/confidential-transfer/proof-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ edition = "2021"
[dev-dependencies]
curve25519-dalek = "4.1.3"
solana-zk-sdk = "2.1.0"
thiserror = "1.0.68"
thiserror = "2.0.0"
spl-token-confidential-transfer-proof-extraction = { version = "0.2.0", path = "../proof-extraction" }
spl-token-confidential-transfer-proof-generation = { version = "0.2.0", path = "../proof-generation" }
2 changes: 1 addition & 1 deletion token/program-2022/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spl-token-metadata-interface = { version = "0.6.0", path = "../../token-metadata
spl-transfer-hook-interface = { version = "0.9.0", path = "../transfer-hook/interface" }
spl-type-length-value = { version = "0.7.0", path = "../../libraries/type-length-value" }
spl-pod = { version = "0.5.0", path = "../../libraries/pod" }
thiserror = "1.0"
thiserror = "2.0"
serde = { version = "1.0.214", optional = true }
serde_with = { version = "3.11.0", optional = true }
base64 = { version = "0.22.1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion token/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ num-derive = "0.4"
num-traits = "0.2"
num_enum = "0.7.3"
solana-program = "2.1.0"
thiserror = "1.0"
thiserror = "2.0"

[dev-dependencies]
lazy_static = "1.5.0"
Expand Down
2 changes: 1 addition & 1 deletion token/transfer-hook/interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spl-program-error = { version = "0.6.0", path = "../../../libraries/program-erro
spl-tlv-account-resolution = { version = "0.9.0", path = "../../../libraries/tlv-account-resolution" }
spl-type-length-value = { version = "0.7.0", path = "../../../libraries/type-length-value" }
spl-pod = { version = "0.5.0", path = "../../../libraries/pod" }
thiserror = "1.0"
thiserror = "2.0"

[lib]
crate-type = ["cdylib", "lib"]
Expand Down
Loading