update cli/ anchor dependency

This commit is contained in:
Christian Kamm 2022-04-25 21:06:50 +02:00
parent 8eee11a86a
commit 3e64c8195d
2 changed files with 22 additions and 183 deletions

203
Cargo.lock generated
View File

@ -44,27 +44,13 @@ version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd"
[[package]]
name = "anchor-attribute-access-control"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "105c443a613f29212755fb6c5f946fa82dcf94a80528f643e0faa9d9faeb626b"
dependencies = [
"anchor-syn 0.20.1",
"anyhow",
"proc-macro2",
"quote",
"regex",
"syn",
]
[[package]]
name = "anchor-attribute-access-control"
version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a9b75d05b6b4ac9d95bb6e3b786b27d3a708c4c5a87c92ffaa25bbe9ae4c5d91"
dependencies = [
"anchor-syn 0.24.2",
"anchor-syn",
"anyhow",
"proc-macro2",
"quote",
@ -72,28 +58,13 @@ dependencies = [
"syn",
]
[[package]]
name = "anchor-attribute-account"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fdae15851aa41972e9c18c987613c50a916c48c88c97ea3316156a5c772e5faa"
dependencies = [
"anchor-syn 0.20.1",
"anyhow",
"bs58 0.4.0",
"proc-macro2",
"quote",
"rustversion",
"syn",
]
[[package]]
name = "anchor-attribute-account"
version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "485351a6d8157750d10d88c8e256f1bf8339262b2220ae9125aed3471309b5de"
dependencies = [
"anchor-syn 0.24.2",
"anchor-syn",
"anyhow",
"bs58 0.4.0",
"proc-macro2",
@ -102,60 +73,24 @@ dependencies = [
"syn",
]
[[package]]
name = "anchor-attribute-constant"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6356865217881d0bbea8aa70625937bec6d9952610f1ba2a2452a8e427000687"
dependencies = [
"anchor-syn 0.20.1",
"proc-macro2",
"syn",
]
[[package]]
name = "anchor-attribute-constant"
version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc632c540913dd051a78b00587cc47f57013d303163ddfaf4fa18717f7ccc1e0"
dependencies = [
"anchor-syn 0.24.2",
"anchor-syn",
"proc-macro2",
"syn",
]
[[package]]
name = "anchor-attribute-error"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ebe998ce4e6e0cb0e291d1a1626bd30791cdfdd9d05523111bdf4fd053f08636"
dependencies = [
"anchor-syn 0.20.1",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "anchor-attribute-error"
version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b5bd1dcfa7f3bc22dacef233d70a9e0bee269c4ac484510662f257cba2353a1"
dependencies = [
"anchor-syn 0.24.2",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "anchor-attribute-event"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c5810498a20554c20354f5648b6041172f2035e58d09ad40dc051dc0d1501f80"
dependencies = [
"anchor-syn 0.20.1",
"anyhow",
"anchor-syn",
"proc-macro2",
"quote",
"syn",
@ -167,34 +102,20 @@ version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c6f9e6ce551ac9a177a45c99a65699a860c9e95fac68675138af1246e2591b0"
dependencies = [
"anchor-syn 0.24.2",
"anchor-syn",
"anyhow",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "anchor-attribute-interface"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac83f085b2be8b3a3412989cf96cf7f683561db7d357c5aa4aa11d48bbb22213"
dependencies = [
"anchor-syn 0.20.1",
"anyhow",
"heck 0.3.3",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "anchor-attribute-interface"
version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d104aa17418cb329ed7418b227e083d5f326a27f26ce98f5d92e33da62a5f459"
dependencies = [
"anchor-syn 0.24.2",
"anchor-syn",
"anyhow",
"heck 0.3.3",
"proc-macro2",
@ -202,39 +123,13 @@ dependencies = [
"syn",
]
[[package]]
name = "anchor-attribute-program"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73c56be575d89abcb192afa29deb87b2cdb3c39033abc02f2d16e6af999b23b7"
dependencies = [
"anchor-syn 0.20.1",
"anyhow",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "anchor-attribute-program"
version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6831b920b173c004ddf7ae1167d1d25e9f002ffcb1773bbc5c7ce532a4441e1"
dependencies = [
"anchor-syn 0.24.2",
"anyhow",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "anchor-attribute-state"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62ab002353b01fcb4f72cca256d5d62db39f9ff39b1d072280deee9798f1f524"
dependencies = [
"anchor-syn 0.20.1",
"anchor-syn",
"anyhow",
"proc-macro2",
"quote",
@ -247,20 +142,7 @@ version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cde147b10c71d95dc679785db0b5f3abac0091f789167aa62ac0135e2f54e8b9"
dependencies = [
"anchor-syn 0.24.2",
"anyhow",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "anchor-derive-accounts"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e9e653cdb322078d95221384c4a527a403560e509ac7cb2b53d3bd664b23c4d6"
dependencies = [
"anchor-syn 0.20.1",
"anchor-syn",
"anyhow",
"proc-macro2",
"quote",
@ -273,52 +155,28 @@ version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9cde98a0e1a56046b040ff591dfda391f88917af2b6487d02b45093c05be3514"
dependencies = [
"anchor-syn 0.24.2",
"anchor-syn",
"anyhow",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "anchor-lang"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4815ad6334fd2f561f7ddcc3cfbeed87ed3003724171bd80ebe6383d5173ee8f"
dependencies = [
"anchor-attribute-access-control 0.20.1",
"anchor-attribute-account 0.20.1",
"anchor-attribute-constant 0.20.1",
"anchor-attribute-error 0.20.1",
"anchor-attribute-event 0.20.1",
"anchor-attribute-interface 0.20.1",
"anchor-attribute-program 0.20.1",
"anchor-attribute-state 0.20.1",
"anchor-derive-accounts 0.20.1",
"arrayref",
"base64 0.13.0",
"bincode",
"borsh",
"bytemuck",
"solana-program",
"thiserror",
]
[[package]]
name = "anchor-lang"
version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a85dd2c5e29e20c7f4701a43724d6cd5406d0ee5694705522e43da0f26542a84"
dependencies = [
"anchor-attribute-access-control 0.24.2",
"anchor-attribute-account 0.24.2",
"anchor-attribute-constant 0.24.2",
"anchor-attribute-error 0.24.2",
"anchor-attribute-event 0.24.2",
"anchor-attribute-interface 0.24.2",
"anchor-attribute-program 0.24.2",
"anchor-attribute-state 0.24.2",
"anchor-derive-accounts 0.24.2",
"anchor-attribute-access-control",
"anchor-attribute-account",
"anchor-attribute-constant",
"anchor-attribute-error",
"anchor-attribute-event",
"anchor-attribute-interface",
"anchor-attribute-program",
"anchor-attribute-state",
"anchor-derive-accounts",
"arrayref",
"base64 0.13.0",
"bincode",
@ -334,31 +192,12 @@ version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0188c33b4a3c124c4e593f2b440415aaea70a7650fac6ba0772395385d71c003"
dependencies = [
"anchor-lang 0.24.2",
"anchor-lang",
"solana-program",
"spl-associated-token-account",
"spl-token",
]
[[package]]
name = "anchor-syn"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3be7bfb6991d79cce3495fb6ce0892f58a5c75a74c8d1c2fc6f62926066eb9f4"
dependencies = [
"anyhow",
"bs58 0.3.1",
"heck 0.3.3",
"proc-macro2",
"proc-macro2-diagnostics",
"quote",
"serde",
"serde_json",
"sha2",
"syn",
"thiserror",
]
[[package]]
name = "anchor-syn"
version = "0.24.2"
@ -3441,7 +3280,7 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
name = "voter-stake-registry"
version = "0.2.3"
dependencies = [
"anchor-lang 0.24.2",
"anchor-lang",
"anchor-spl",
"base64 0.13.0",
"bincode",
@ -3464,7 +3303,7 @@ dependencies = [
name = "voter-stake-registry-cli"
version = "0.2.3"
dependencies = [
"anchor-lang 0.20.1",
"anchor-lang",
"anyhow",
"base64 0.13.0",
"clap",

View File

@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
voter-stake-registry = { path = "../programs/voter-stake-registry", features = ["no-entrypoint"] }
anchor-lang = "0.20.1"
anchor-lang = "0.24.2"
serde = "^1.0"
serde_json = "^1.0"