[package]
edition = "2021"
name = "hopper-staking"
version = "0.2.0"
authors = [
"BluefootLabs <contact@bluefootlabs.com>",
"MoonManQuark",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Staking reward accumulators for Hopper: MasterChef-style reward-per-token, emission rates, reward debt tracking. Zero-copy, no_std, no_alloc, BPF-safe."
homepage = "https://hopperzero.dev"
documentation = "https://docs.rs/crate/hopper-staking/0.2.0"
readme = "README.md"
keywords = [
"solana",
"zero-copy",
"staking",
"rewards",
"defi",
]
categories = ["no-std"]
license = "Apache-2.0"
repository = "https://github.com/BluefootLabs/Hopper-Solana-Zero-copy-State-Framework"
[features]
default = ["hopper-native-backend"]
hopper-native-backend = ["hopper-runtime/hopper-native-backend"]
legacy-pinocchio-compat = ["hopper-runtime/legacy-pinocchio-compat"]
solana-program-backend = ["hopper-runtime/solana-program-backend"]
[lib]
name = "hopper_staking"
path = "src/lib.rs"
[[test]]
name = "staking_tests"
path = "tests/staking_tests.rs"
[dependencies.hopper-runtime]
version = "0.2.0"
default-features = false