[dependencies.borsh]
features = ["derive", "unstable__schema"]
optional = true
version = "1.5.1"
[dependencies.borsh0-10]
optional = true
package = "borsh"
version = "0.10.3"
[dependencies.num-traits]
version = "0.2"
[dependencies.serde]
optional = true
version = "1.0.210"
[dependencies.serde_derive]
optional = true
version = "1.0.210"
[dependencies.solana-clock]
version = "^2.1"
[dependencies.solana-cpi]
optional = true
version = "^2.1"
[dependencies.solana-decode-error]
version = "^2.1"
[dependencies.solana-frozen-abi]
features = ["frozen-abi"]
optional = true
version = "^2.1"
[dependencies.solana-frozen-abi-macro]
features = ["frozen-abi"]
optional = true
version = "^2.1"
[dependencies.solana-instruction]
version = "^2.1"
[dependencies.solana-program-error]
version = "^2.1"
[dependencies.solana-pubkey]
default-features = false
version = "^2.1"
[dependencies.solana-system-interface]
version = "^1.0"
[dependencies.solana-sysvar-id]
version = "2.1"
[dev-dependencies.assert_matches]
version = "1.5.0"
[dev-dependencies.bincode]
version = "1.3.3"
[dev-dependencies.solana-borsh]
version = "^2.1"
[dev-dependencies.solana-program]
default-features = false
version = "^2.1"
[dev-dependencies.static_assertions]
version = "1.1.0"
[dev-dependencies.strum]
version = "0.24"
[dev-dependencies.strum_macros]
version = "0.24"
[features]
bincode = ["dep:solana-cpi", "solana-instruction/bincode", "solana-instruction/serde", "solana-system-interface/bincode", "serde"]
borsh = ["dep:borsh", "dep:borsh0-10", "solana-instruction/borsh", "solana-program-error/borsh", "solana-pubkey/borsh"]
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro", "solana-instruction/frozen-abi", "solana-pubkey/frozen-abi"]
serde = ["dep:serde", "dep:serde_derive", "solana-pubkey/serde"]
[lib]
crate-type = ["rlib"]
name = "solana_stake_interface"
path = "src/lib.rs"
[package]
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Instructions and constructors for the Stake program"
edition = "2021"
homepage = "https://anza.xyz/"
license = "Apache-2.0"
name = "solana-stake-interface"
readme = "README.md"
repository = "https://github.com/solana-program/stake"
version = "1.2.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg=docsrs"]
targets = ["x86_64-unknown-linux-gnu"]
[package.metadata.solana]
program-id = "Stake11111111111111111111111111111111111111"