[package]
edition = "2021"
name = "spl-stake-pool"
version = "2.2.0"
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Solana Program Library Stake Pool"
homepage = "https://www.solana-program.com/docs/stake-pool"
readme = false
license = "Apache-2.0"
repository = "https://github.com/solana-program/stake-pool"
[features]
no-entrypoint = []
[lib]
name = "spl_stake_pool"
crate-type = [
"cdylib",
"lib",
]
path = "src/lib.rs"
[[test]]
name = "create_pool_token_metadata"
path = "tests/create_pool_token_metadata.rs"
[[test]]
name = "decrease"
path = "tests/decrease.rs"
[[test]]
name = "deposit"
path = "tests/deposit.rs"
[[test]]
name = "deposit_authority"
path = "tests/deposit_authority.rs"
[[test]]
name = "deposit_edge_cases"
path = "tests/deposit_edge_cases.rs"
[[test]]
name = "deposit_sol"
path = "tests/deposit_sol.rs"
[[test]]
name = "force_destake"
path = "tests/force_destake.rs"
[[test]]
name = "huge_pool"
path = "tests/huge_pool.rs"
[[test]]
name = "increase"
path = "tests/increase.rs"
[[test]]
name = "initialize"
path = "tests/initialize.rs"
[[test]]
name = "preferred_validators"
path = "tests/preferred_validators.rs"
[[test]]
name = "set_deposit_fee"
path = "tests/set_deposit_fee.rs"
[[test]]
name = "set_epoch_fee"
path = "tests/set_epoch_fee.rs"
[[test]]
name = "set_funding_authority"
path = "tests/set_funding_authority.rs"
[[test]]
name = "set_manager"
path = "tests/set_manager.rs"
[[test]]
name = "set_preferred"
path = "tests/set_preferred.rs"
[[test]]
name = "set_referral_fee"
path = "tests/set_referral_fee.rs"
[[test]]
name = "set_staker"
path = "tests/set_staker.rs"
[[test]]
name = "set_withdrawal_fee"
path = "tests/set_withdrawal_fee.rs"
[[test]]
name = "update_pool_token_metadata"
path = "tests/update_pool_token_metadata.rs"
[[test]]
name = "update_stake_pool_balance"
path = "tests/update_stake_pool_balance.rs"
[[test]]
name = "update_validator_list_balance"
path = "tests/update_validator_list_balance.rs"
[[test]]
name = "vsa_add"
path = "tests/vsa_add.rs"
[[test]]
name = "vsa_remove"
path = "tests/vsa_remove.rs"
[[test]]
name = "withdraw"
path = "tests/withdraw.rs"
[[test]]
name = "withdraw_edge_cases"
path = "tests/withdraw_edge_cases.rs"
[[test]]
name = "withdraw_sol"
path = "tests/withdraw_sol.rs"
[[test]]
name = "withdraw_with_fee"
path = "tests/withdraw_with_fee.rs"
[dependencies.arrayref]
version = "0.3.9"
[dependencies.bincode]
version = "1.3.1"
[dependencies.borsh]
version = "1.6.1"
[dependencies.bytemuck]
version = "1.25"
[dependencies.num-derive]
version = "0.5"
[dependencies.num-traits]
version = "0.2"
[dependencies.num_enum]
version = "0.7.6"
[dependencies.serde]
version = "1.0.219"
[dependencies.serde_derive]
version = "1.0.103"
[dependencies.solana-account-info]
version = "3.1.1"
[dependencies.solana-borsh]
version = "3.0.2"
[dependencies.solana-clock]
version = "3.1.0"
[dependencies.solana-cpi]
version = "3.0.0"
[dependencies.solana-epoch-rewards]
version = "3.0.2"
[dependencies.solana-instruction]
version = "3.4.0"
features = ["std"]
[dependencies.solana-msg]
version = "3.1.0"
[dependencies.solana-program-entrypoint]
version = "3.0.0"
[dependencies.solana-program-error]
version = "3.0.1"
[dependencies.solana-program-memory]
version = "3.0.0"
[dependencies.solana-program-pack]
version = "3.1.0"
[dependencies.solana-pubkey]
version = "4.2.0"
features = ["curve25519"]
[dependencies.solana-rent]
version = "4.2.0"
[dependencies.solana-sdk-ids]
version = "3.1.0"
[dependencies.solana-security-txt]
version = "1.1.3"
[dependencies.solana-stake-interface]
version = "4.2.0"
features = [
"bincode",
"borsh",
"sysvar",
]
[dependencies.solana-system-interface]
version = "3.2.0"
features = ["bincode"]
[dependencies.solana-sysvar]
version = "4.0.0"
features = ["bincode"]
[dependencies.solana-sysvar-id]
version = "3.0.0"
[dependencies.spl-pod]
version = "0.7.3"
features = ["borsh"]
[dependencies.spl-token-2022-interface]
version = "3.1.1"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.agave-feature-set]
version = "4.2.2"
[dev-dependencies.assert_matches]
version = "1.5.0"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.solana-account]
version = "4.3.1"
features = ["bincode"]
[dev-dependencies.solana-compute-budget-interface]
version = "3.0.0"
[dev-dependencies.solana-native-token]
version = "3.0.0"
[dev-dependencies.solana-program]
version = "4.0.0"
[dev-dependencies.solana-program-test]
version = "4.2.2"
features = ["agave-unstable-api"]
[dev-dependencies.solana-sdk]
version = "4.0.0"
[dev-dependencies.solana-vote-interface]
version = "6.0.0"
features = ["bincode"]
[dev-dependencies.spl-token-interface]
version = "3.0.0"
[dev-dependencies.test-case]
version = "3.3"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(feature, values("frozen-abi", "no-entrypoint"))',
]