[package]
edition = "2021"
name = "hopper-native"
version = "0.4.2"
authors = ["QuarksBlueFoot <quark@bluefoot.tech>"]
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level Solana backend for Hopper with zero-copy account access, syscalls, checked CPI infrastructure, PDA helpers, and entrypoint glue. no_std and no_alloc."
homepage = "https://hopperzero.dev"
documentation = "https://docs.rs/crate/hopper-native/0.4.2"
readme = "README.md"
keywords = [
"solana",
"zero-copy",
"runtime",
"no-std",
"syscall",
]
categories = [
"no-std",
"embedded",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/BluefootLabs/Hopper-Solana-Zero-copy-State-Framework"
[features]
copy = []
cpi = []
cu-trace = []
default = [
"cpi",
"legacy-projectable",
]
legacy-projectable = []
remaining-compute-units-syscall = []
simd-0321 = []
simd-0449 = ["simd-0321"]
static-syscalls = []
[lib]
name = "hopper_native"
path = "src/lib.rs"
[[test]]
name = "cpi_borrow_preflight"
path = "tests/cpi_borrow_preflight.rs"
[[test]]
name = "lifecycle_preflight"
path = "tests/lifecycle_preflight.rs"
[[test]]
name = "loader_input_conformance"
path = "tests/loader_input_conformance.rs"
[[test]]
name = "mapped_borrows"
path = "tests/mapped_borrows.rs"
[dependencies]
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(target_arch, values("bpf"))',
]