voter-stake-registry/programs/voter-stake-registry/Cargo.toml

49 lines
1.6 KiB
TOML
Raw Normal View History

2021-10-05 13:40:01 -07:00
[package]
2021-12-01 04:28:38 -08:00
name = "voter-stake-registry"
2022-01-26 00:44:27 -08:00
version = "0.1.6"
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"
doctest = false
2021-10-05 13:40:01 -07:00
[features]
no-entrypoint = []
no-idl = []
cpi = ["no-entrypoint"]
default = []
localnet = []
test-bpf = []
2021-10-05 13:40:01 -07:00
[dependencies]
# a) for deployment use these
anchor-lang = "0.20.1"
anchor-spl = { version = "0.20.1" }
# b) while testing, use below dependencies for debugging instead of above ones
# anchor-lang = { git = "https://github.com/microwavedcola1/anchor.git", branch = "master-debug" }
# anchor-spl = { git = "https://github.com/microwavedcola1/anchor.git", branch = "master-debug", features = ["governance"]}
# The rev used for spl-governance must match what the fixture binary
# programs/voter-stake-registry/tests/fixtures/spl_governance.so is built from.
2022-02-01 15:10:51 -08:00
spl-governance = { git = "https://github.com/solana-labs/solana-program-library", rev = "4c0bc4c968d5d6feaee18b1c633c636f20d66b15", features = ["no-entrypoint"] }
spl-governance-addin-api = { git = "https://github.com/solana-labs/solana-program-library", rev = "4c0bc4c968d5d6feaee18b1c633c636f20d66b15" }
# refer solana to the same version anchor-lang 0.20.1 refers to
solana-program = "1.8.5"
static_assertions = "1.1"
[dev-dependencies]
solana-sdk = "1.8.5"
solana-program-test = "1.8.5"
solana-logger = "1.8.5"
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"
log = "0.4.14"
env_logger = "0.9.0"
2022-01-19 00:06:03 -08:00
base64 = "0.13.0"