[package]
edition = "2021"
name = "light-nullifier-program"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nullifier program and SDK for Light Protocol ZK compression on Solana"
homepage = "https://github.com/Lightprotocol/nullifier-program"
readme = "README.md"
keywords = [
"solana",
"light-protocol",
"zk-compression",
"nullifier",
]
categories = [
"cryptography",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/Lightprotocol/nullifier-program"
[features]
cpi = ["no-entrypoint"]
default = ["idl-build"]
idl-build = [
"anchor-lang/idl-build",
"light-sdk/idl-build",
]
no-entrypoint = []
no-idl = []
no-log-ix-name = []
test-sbf = []
[lib]
name = "light_nullifier_program"
crate-type = [
"cdylib",
"lib",
]
path = "src/lib.rs"
[[test]]
name = "test"
path = "tests/test.rs"
[dependencies.anchor-lang]
version = "0.31.1"
[dependencies.light-hasher]
version = "5.0.0"
[dependencies.light-sdk]
version = "0.19.0"
features = [
"anchor",
"anchor-discriminator",
"cpi-context",
]
[dev-dependencies.blake3]
version = "=1.8.2"
[dev-dependencies.light-client]
version = "0.19.0"
[dev-dependencies.tokio]
version = "1.36.0"
[target.'cfg(not(target_os = "solana"))'.dependencies.light-program-test]
version = "0.19.0"
[target.'cfg(not(target_os = "solana"))'.dependencies.solana-sdk]
version = "2.2"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(feature, values("frozen-abi", "no-entrypoint"))',
]