[package]
edition = "2021"
name = "hopper-framework"
version = "0.1.0"
authors = [
"BluefootLabs <contact@bluefootlabs.com>",
"MoonManQuark",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-copy state framework for Solana. Typed account architecture, phased execution, validation graphs, zero-copy collections, layout evolution, and cross-program interfaces. Built on Hopper Native. no_std, no_alloc, no proc macros required."
homepage = "https://hopperzero.dev"
documentation = "https://docs.rs/crate/hopper-framework/0.1.0"
readme = "README.md"
keywords = [
"solana",
"zero-copy",
"framework",
"state",
"no-std",
]
categories = [
"no-std",
"embedded",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/BluefootLabs/Hopper-Solana-Zero-copy-State-Framework"
[features]
advanced = ["hopper-core/advanced"]
collections = ["hopper-core/collections"]
cu-trace = ["hopper-runtime/cu-trace"]
default = [
"hopper-native-backend",
"advanced",
"collections",
]
diff = ["hopper-core/diff"]
explain = ["hopper-core/explain"]
frame = ["hopper-core/frame"]
graph = ["hopper-core/graph"]
hopper-native-backend = [
"hopper-runtime/hopper-native-backend",
"hopper-core/hopper-native-backend",
"hopper-system/hopper-native-backend",
"hopper-token/hopper-native-backend",
"hopper-token-2022/hopper-native-backend",
"hopper-associated-token/hopper-native-backend",
"hopper-memo/hopper-native-backend",
"hopper-metaplex?/hopper-native-backend",
"hopper-macros/hopper-native-backend",
"hopper-schema/hopper-native-backend",
"hopper-solana/hopper-native-backend",
]
legacy-pinocchio-compat = [
"hopper-runtime/legacy-pinocchio-compat",
"hopper-core/legacy-pinocchio-compat",
"hopper-system/legacy-pinocchio-compat",
"hopper-token/legacy-pinocchio-compat",
"hopper-token-2022/legacy-pinocchio-compat",
"hopper-associated-token/legacy-pinocchio-compat",
"hopper-memo/legacy-pinocchio-compat",
"hopper-metaplex?/legacy-pinocchio-compat",
"hopper-macros/legacy-pinocchio-compat",
"hopper-schema/legacy-pinocchio-compat",
"hopper-solana/legacy-pinocchio-compat",
]
legacy-token-instructions = [
"hopper-token/legacy-token-instructions",
"hopper-solana/legacy-token-instructions",
]
metaplex = ["dep:hopper-metaplex"]
migrate = ["hopper-core/migrate"]
policy = ["hopper-core/policy"]
proc-macros = ["hopper-macros-proc"]
receipt = ["hopper-core/receipt"]
solana-program-backend = [
"hopper-runtime/solana-program-backend",
"hopper-core/solana-program-backend",
"hopper-system/solana-program-backend",
"hopper-token/solana-program-backend",
"hopper-token-2022/solana-program-backend",
"hopper-associated-token/solana-program-backend",
"hopper-memo/solana-program-backend",
"hopper-metaplex?/solana-program-backend",
"hopper-macros/solana-program-backend",
"hopper-schema/solana-program-backend",
"hopper-solana/solana-program-backend",
]
virtual-state = ["hopper-core/virtual-state"]
[lib]
name = "hopper"
path = "src/lib.rs"
[[test]]
name = "constant_integration"
path = "tests/constant_integration.rs"
[[test]]
name = "hybrid_tail_integration"
path = "tests/hybrid_tail_integration.rs"
[[test]]
name = "metaplex_context_integration"
path = "tests/metaplex_context_integration.rs"
[[test]]
name = "migrate_integration"
path = "tests/migrate_integration.rs"
[[test]]
name = "require_macros"
path = "tests/require_macros.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[[test]]
name = "wrapper_context_integration"
path = "tests/wrapper_context_integration.rs"
[dependencies.hopper-associated-token]
version = "0.1.0"
default-features = false
[dependencies.hopper-core]
version = "0.1.0"
default-features = false
[dependencies.hopper-macros]
version = "0.1.0"
default-features = false
[dependencies.hopper-macros-proc]
version = "0.1.0"
optional = true
[dependencies.hopper-memo]
version = "0.1.0"
default-features = false
[dependencies.hopper-metaplex]
version = "0.1.0"
optional = true
default-features = false
[dependencies.hopper-runtime]
version = "0.1.0"
default-features = false
[dependencies.hopper-schema]
version = "0.1.0"
default-features = false
[dependencies.hopper-solana]
version = "0.1.0"
default-features = false
[dependencies.hopper-system]
version = "0.1.0"
default-features = false
[dependencies.hopper-token]
version = "0.1.0"
default-features = false
[dependencies.hopper-token-2022]
version = "0.1.0"
default-features = false
[dependencies.sha2-const-stable]
version = "0.1"
[dev-dependencies.trybuild]
version = "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"))',
]