[package]
edition = "2021"
name = "hopper-core"
version = "0.1.0"
authors = [
"BluefootLabs <contact@bluefootlabs.com>",
"MoonManQuark",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core engine for the Hopper zero-copy state framework. Account memory architecture, ABI types, validation graphs, phased execution, zero-copy collections, layout evolution, and cross-program interfaces."
homepage = "https://hopperzero.dev"
documentation = "https://docs.rs/crate/hopper-core/0.1.0"
readme = "README.md"
keywords = [
"solana",
"zero-copy",
"state",
"framework",
"no-std",
]
categories = [
"no-std",
"embedded",
]
license = "Apache-2.0"
repository = "https://github.com/BluefootLabs/Hopper-Solana-Zero-copy-State-Framework"
[features]
advanced = [
"frame",
"receipt",
"policy",
"graph",
"migrate",
"virtual-state",
"diff",
"explain",
]
anchor-compat = ["sha2-layout-id"]
collections = []
cpi = ["hopper-runtime/cpi"]
default = [
"programs",
"hopper-native-backend",
"advanced",
"cpi",
"collections",
"sha2-layout-id",
"anchor-compat",
]
diff = []
explain = []
frame = []
graph = []
hopper-native-backend = ["hopper-runtime/hopper-native-backend"]
legacy-pinocchio-compat = ["hopper-runtime/legacy-pinocchio-compat"]
log = []
migrate = []
policy = []
programs = []
receipt = ["diff"]
sha2-layout-id = ["dep:sha2-const-stable"]
solana-program-backend = ["hopper-runtime/solana-program-backend"]
spartan = ["programs"]
virtual-state = []
[lib]
name = "hopper_core"
path = "src/lib.rs"
[[test]]
name = "overlay_equivalence_tests"
path = "tests/overlay_equivalence_tests.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "trust_tests"
path = "tests/trust_tests.rs"
[[test]]
name = "unsafe_boundary_tests"
path = "tests/unsafe_boundary_tests.rs"
[dependencies.hopper-runtime]
version = "0.1.0"
default-features = false
[dependencies.sha2-const-stable]
version = "0.1"
optional = true
[dev-dependencies.hopper-native]
version = "0.1.0"
default-features = false
[dev-dependencies.sha2-const-stable]
version = "0.1"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(feature, values("frame", "receipt", "policy", "graph", "migrate", "virtual-state", "diff", "explain", "advanced", "cpi", "collections", "sha2-layout-id", "anchor-compat", "spartan"))',
]