[package]
edition = "2021"
name = "jiminy-core"
version = "0.16.0"
authors = ["MoonManQuark"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core systems layer for Jiminy: account layout, zero-copy IO, validation, PDA, sysvar access, math, time checks. Declarative macros for error codes, instruction dispatch, and account uniqueness. no_std, no_alloc, no proc macros, BPF-safe."
homepage = "https://github.com/QuarksBlueFoot/jiminy"
documentation = "https://docs.rs/jiminy-core"
readme = "README.md"
keywords = [
"solana",
"pinocchio",
"bpf",
"zero-copy",
"no-std",
]
categories = [
"no-std",
"embedded",
]
license = "Apache-2.0"
repository = "https://github.com/QuarksBlueFoot/jiminy"
[features]
default = ["programs"]
log = []
programs = []
solana-zero-copy = ["dep:solana-zero-copy"]
strict = []
[lib]
name = "jiminy_core"
path = "src/lib.rs"
[[test]]
name = "account_abi"
path = "tests/account_abi.rs"
[[test]]
name = "proptest_abi"
path = "tests/proptest_abi.rs"
[[test]]
name = "segments"
path = "tests/segments.rs"
[dependencies.pinocchio]
version = "0.10"
features = [
"cpi",
"copy",
]
[dependencies.sha2-const-stable]
version = "0.1"
[dependencies.solana-zero-copy]
version = "1"
optional = true
[dev-dependencies.proptest]
version = "1"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(target_arch, values("bpf"))',
]