[package]
edition = "2021"
name = "fogo-stake-pool-program"
version = "2.0.3"
authors = ["Tempest Maintainers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fogo Stake Pool Program"
readme = false
license = "Apache-2.0"
repository = "https://github.com/Tempest-Finance/fogo-stake-pool"
[features]
no-entrypoint = []
test-sbf = []
[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 = "deposit_wsol_with_session"
path = "tests/deposit_wsol_with_session.rs"
[[test]]
name = "deposit_wsol_with_session_edge_cases"
path = "tests/deposit_wsol_with_session_edge_cases.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 = "update_validator_list_balance_hijack"
path = "tests/update_validator_list_balance_hijack.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_stake_with_session"
path = "tests/withdraw_stake_with_session.rs"
[[test]]
name = "withdraw_with_fee"
path = "tests/withdraw_with_fee.rs"
[[test]]
name = "withdraw_wsol_with_session"
path = "tests/withdraw_wsol_with_session.rs"
[[test]]
name = "withdraw_wsol_with_session_edge_cases"
path = "tests/withdraw_wsol_with_session_edge_cases.rs"
[dependencies.arrayref]
version = "0.3.9"
[dependencies.bincode]
version = "1.3.1"
[dependencies.borsh]
version = "1.5.7"
[dependencies.bytemuck]
version = "1.23"
[dependencies.fogo-sessions-sdk]
version = "0.7.0"
[dependencies.num-derive]
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[dependencies.num_enum]
version = "0.7.4"
[dependencies.serde]
version = "1.0.219"
[dependencies.serde_derive]
version = "1.0.103"
[dependencies.solana-program]
version = "2.3.0"
[dependencies.solana-security-txt]
version = "1.1.1"
[dependencies.solana-stake-interface]
version = "1"
[dependencies.solana-system-interface]
version = "1"
[dependencies.spl-associated-token-account]
version = "=7.0.0"
features = ["no-entrypoint"]
[dependencies.spl-pod]
version = "0.5.1"
features = ["borsh"]
[dependencies.spl-token]
version = "=8.0.0"
features = ["no-entrypoint"]
[dependencies.spl-token-2022]
version = "9.0.0"
features = ["no-entrypoint"]
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.assert_matches]
version = "1.5.0"
[dev-dependencies.proptest]
version = "1.7"
[dev-dependencies.solana-program-test]
version = "2.3.4"
[dev-dependencies.solana-sdk]
version = "2.2.1"
[dev-dependencies.solana-vote-program]
version = "2.2.0"
[dev-dependencies.spl-token]
version = "8.0"
features = ["no-entrypoint"]
[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"))',
]