[package]
name = "hpl-toolkit"
version = "0.0.4-beta.5"
edition = "2021"
license = "MIT"
author = ['Sultan Nadeem <sultanndilaram@gmail.com>']
repository = "https://github.com/Honeycomb-Protocol/hpl-toolkit"
description = "HPL toolkit"
[features]
schema = [
"dep:serde_json",
"dep:hpl-toolkit-derive-to-schema",
"dep:hpl-toolkit-attribute-account-schemas-ix-injector",
]
compression = [
"schema",
"dep:spl-account-compression",
"dep:hpl-toolkit-macro-merkle-tree-utils",
"dep:hpl-toolkit-macro-merkle-tree-apply-fn",
"dep:hpl-toolkit-macro-merkle-tree-apply-fn-deep",
"dep:hpl-toolkit-attribute-compressed-account",
"dep:hpl-toolkit-derive-to-node",
]
macros = [
"dep:hpl-toolkit-macro-add-service",
"dep:hpl-toolkit-macro-platform-gate",
]
log = ["dep:log"]
solana = []
utils = ["dep:hpl-toolkit-attribute-honeycomb-context"]
debug = []
default = ["schema", "compression", "utils", "macros"]
full = ["default", "macros"]
idl-build = [
"dep:spl-account-compression",
"anchor-lang/idl-build",
"spl-account-compression/idl-build",
"hpl-toolkit-attribute-compressed-account/idl-build",
]
[dependencies]
anchor-lang = { workspace = true }
hpl-toolkit-macro-add-service = { workspace = true, optional = true }
hpl-toolkit-macro-platform-gate = { workspace = true, optional = true }
hpl-toolkit-macro-merkle-tree-utils = { workspace = true, optional = true }
hpl-toolkit-macro-merkle-tree-apply-fn = { workspace = true, optional = true }
hpl-toolkit-macro-merkle-tree-apply-fn-deep = { workspace = true, optional = true }
hpl-toolkit-derive-to-schema = { workspace = true, optional = true }
hpl-toolkit-derive-to-node = { workspace = true, optional = true }
hpl-toolkit-attribute-compressed-account = { workspace = true, optional = true }
hpl-toolkit-attribute-account-schemas-ix-injector = { workspace = true, optional = true }
hpl-toolkit-attribute-honeycomb-context = { workspace = true, optional = true }
spl-account-compression = { workspace = true, optional = true }
serde_json = { version = ">0.9.0, <=1.0.132", features = [
"preserve_order",
], optional = true }
log = { version = "0.4.17", optional = true }