[package]
edition = "2021"
name = "hopper-runtime"
version = "0.4.2"
authors = ["QuarksBlueFoot <quark@bluefoot.tech>"]
build = "build.rs"
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canonical low-level runtime surface for Hopper programs: direct account memory, validation, borrow guards, CPI, and zero-copy state access."
homepage = "https://hopperzero.dev"
documentation = "https://docs.rs/crate/hopper-runtime/0.4.2"
readme = "README.md"
keywords = [
"solana",
"zero-copy",
"runtime",
"no-std",
"framework",
]
categories = [
"no-std",
"embedded",
]
license = "Apache-2.0"
repository = "https://github.com/BluefootLabs/Hopper-Solana-Zero-copy-State-Framework"
[features]
copy = []
cpi = []
crypto-big-mod-exp = []
crypto-bn254 = []
crypto-curve = []
crypto-poseidon = []
cu-trace = ["hopper-native/cu-trace"]
default = []
legacy-token-instructions = []
remaining-compute-units-syscall = ["hopper-native/remaining-compute-units-syscall"]
simd-0321 = ["hopper-native/simd-0321"]
simd-0449 = [
"hopper-native/simd-0449",
"simd-0321",
]
static-syscalls = ["hopper-native/static-syscalls"]
thread-local-registry = []
touch-map = []
unguarded-raw-surfaces = []
[lib]
name = "hopper_runtime"
path = "src/lib.rs"
[[test]]
name = "competitor_bug_classes"
path = "tests/competitor_bug_classes.rs"
[dependencies.hopper-native]
version = "0.4.2"
features = ["cpi"]
default-features = false
[dev-dependencies.proptest]
version = "1"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(target_arch, values("bpf"))',
]