[package]
name = "hopper-runtime"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
authors = ["BluefootLabs <contact@bluefootlabs.com>", "MoonManQuark"]
description = "Canonical low-level runtime surface for Hopper. Hopper Native is the primary backend; legacy Pinocchio and solana-program compatibility are explicit opt-ins."
repository = "https://github.com/BluefootLabs/Hopper-Solana-Zero-copy-State-Framework"
homepage = "https://hopperzero.dev"
documentation = "https://docs.rs/hopper-runtime"
readme = "README.md"
keywords = ["solana", "zero-copy", "runtime", "no-std", "framework"]
categories = ["no-std", "embedded"]
[lib]
name = "hopper_runtime"
[features]
default = ["hopper-native-backend"]
hopper-native-backend = ["hopper-native", "hopper-native/cpi", "hopper-native/bytemuck", "dep:bytemuck"]
legacy-pinocchio-compat = ["pinocchio", "pinocchio-system", "pinocchio-token"]
solana-program-backend = ["solana-program"]
cu-trace = ["hopper-native/cu-trace"]
cpi = []
copy = []
legacy-token-instructions = []
[dependencies]
hopper-native = { workspace = true, optional = true, default-features = false }
five8_const = { workspace = true }
bytemuck = { version = "1", default-features = false, optional = true }
pinocchio = { workspace = true, optional = true }
pinocchio-system = { workspace = true, optional = true }
pinocchio-token = { workspace = true, optional = true }
solana-program = { version = "2", optional = true, default-features = false }
[lints]
workspace = true