hopper-runtime 0.5.0

Canonical low-level runtime surface for Hopper programs: direct account memory, validation, borrow guards, CPI, and zero-copy state access.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "hopper-runtime"
version = "0.5.0"
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.5.0"
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 = []
panic-location = ["hopper-native/panic-location"]
panic-message = ["hopper-native/panic-message"]
remaining-compute-units-syscall = ["hopper-native/remaining-compute-units-syscall"]
sha512-syscall = ["hopper-native/sha512-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"

[[test]]
name = "unsafe_region"
path = "tests/unsafe_region.rs"

[dependencies.hopper-native]
version = "0.5.0"
features = ["cpi"]
default-features = false

[dev-dependencies.bytemuck]
version = "=1.25.0"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.solana-instruction]
version = "=3.4.0"

[dev-dependencies.solana-nullable]
version = "=1.3.0"

[dev-dependencies.solana-pubkey]
version = "=4.2.1"
features = [
    "curve25519",
    "sha2",
]

[dev-dependencies.spl-token-2022-interface]
version = "=3.1.1"

[dev-dependencies.spl-token-confidential-transfer-proof-extraction]
version = "=0.6.0"

[dev-dependencies.spl-token-group-interface]
version = "=0.7.2"

[dev-dependencies.spl-token-metadata-interface]
version = "=1.0.1"

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
    'cfg(target_os, values("solana"))',
    'cfg(target_arch, values("bpf"))',
]