2021-10-05 13:40:01 -07:00
|
|
|
[package]
|
2021-12-01 04:28:38 -08:00
|
|
|
name = "voter-stake-registry"
|
2022-01-10 01:13:08 -08:00
|
|
|
version = "0.1.3"
|
2021-10-05 13:40:01 -07:00
|
|
|
description = "Created with Anchor"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "lib"]
|
2021-12-01 04:28:38 -08:00
|
|
|
name = "voter_stake_registry"
|
2021-11-27 23:34:10 -08:00
|
|
|
doctest = false
|
2021-10-05 13:40:01 -07:00
|
|
|
|
|
|
|
[features]
|
|
|
|
no-entrypoint = []
|
|
|
|
no-idl = []
|
|
|
|
cpi = ["no-entrypoint"]
|
|
|
|
default = []
|
2021-11-25 22:49:22 -08:00
|
|
|
localnet = []
|
2021-11-27 23:34:10 -08:00
|
|
|
test-bpf = []
|
2021-10-05 13:40:01 -07:00
|
|
|
|
|
|
|
[dependencies]
|
2021-11-27 23:34:10 -08:00
|
|
|
# todo switch to an official release before launch
|
|
|
|
anchor-lang = { git = "https://github.com/microwavedcola1/anchor.git", branch = "master-debug" }
|
|
|
|
# todo switch to an official release before launch
|
|
|
|
anchor-spl = { git = "https://github.com/microwavedcola1/anchor.git", branch = "master-debug", features = ["governance"]}
|
|
|
|
|
2021-12-04 01:51:47 -08:00
|
|
|
# The rev used for spl-governance must match what the fixture binary
|
|
|
|
# programs/voter-stake-registry/tests/fixtures/spl_governance.so is built from.
|
2021-12-14 04:46:38 -08:00
|
|
|
spl-governance = { git = "https://github.com/solana-labs/solana-program-library", rev = "1a0155e34bf96489db2cd498be79ca417c87c09f", features = ["no-entrypoint"] }
|
2021-11-27 23:34:10 -08:00
|
|
|
solana-program = "^1.8.1"
|
2021-12-08 23:22:22 -08:00
|
|
|
static_assertions = "1.1"
|
2021-11-27 23:34:10 -08:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
solana-sdk = "^1.8.1"
|
|
|
|
solana-program-test = "^1.8.1"
|
|
|
|
solana-logger = "^1.8.1"
|
|
|
|
spl-token = { version = "^3.0.0", features = ["no-entrypoint"] }
|
|
|
|
spl-associated-token-account = { version = "^1.0.3", features = ["no-entrypoint"] }
|
|
|
|
bytemuck = "^1.7.2"
|
|
|
|
serde = "^1.0"
|
|
|
|
bincode = "^1.3.1"
|