[package]
edition = "2021"
name = "hopper-schema"
version = "0.1.0"
authors = [
"BluefootLabs <contact@bluefootlabs.com>",
"MoonManQuark",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Schema export and ABI fingerprinting for Hopper zero-copy state framework. Layout manifests, schema diff, migration checks."
homepage = "https://hopperzero.dev"
documentation = "https://docs.rs/crate/hopper-schema/0.1.0"
readme = "README.md"
keywords = [
"solana",
"zero-copy",
"schema",
"idl",
"abi",
]
categories = ["no-std"]
license = "Apache-2.0"
repository = "https://github.com/BluefootLabs/Hopper-Solana-Zero-copy-State-Framework"
[features]
default = [
"hopper-native-backend",
"receipt",
"policy",
]
hopper-native-backend = [
"hopper-core/hopper-native-backend",
"hopper-runtime/hopper-native-backend",
]
legacy-pinocchio-compat = [
"hopper-core/legacy-pinocchio-compat",
"hopper-runtime/legacy-pinocchio-compat",
]
policy = ["hopper-core/policy"]
receipt = ["hopper-core/receipt"]
solana-program-backend = [
"hopper-core/solana-program-backend",
"hopper-runtime/solana-program-backend",
]
[lib]
name = "hopper_schema"
path = "src/lib.rs"
[[test]]
name = "compat_regression_tests"
path = "tests/compat_regression_tests.rs"
[[test]]
name = "core_compat_regression"
path = "tests/core_compat_regression.rs"
[[test]]
name = "schema_property_tests"
path = "tests/schema_property_tests.rs"
[dependencies.hopper-core]
version = "0.1.0"
default-features = false
[dependencies.hopper-runtime]
version = "0.1.0"
default-features = false
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(feature, values("receipt", "policy"))',
]