light-sdk 0.19.0

Rust SDK for ZK Compression on Solana
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "light-sdk"
version = "0.19.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for ZK Compression on Solana"
readme = false
license = "Apache-2.0"
repository = "https://github.com/Lightprotocol/light-protocol"

[features]
anchor = [
    "anchor-lang",
    "light-compressed-account/anchor",
    "light-sdk-types/anchor",
    "light-compressible/anchor",
]
anchor-discriminator = ["light-sdk-macros/anchor-discriminator"]
cpi-context = ["light-sdk-types/cpi-context"]
custom-heap = ["light-heap"]
default = ["v2"]
devnet = []
idl-build = [
    "anchor-lang/idl-build",
    "anchor",
    "dep:solana-program",
]
keccak = [
    "light-hasher/keccak",
    "light-compressed-account/keccak",
]
merkle-tree = ["light-concurrent-merkle-tree/solana"]
poseidon = [
    "light-hasher/poseidon",
    "light-compressed-account/poseidon",
]
sha256 = [
    "light-hasher/sha256",
    "light-compressed-account/sha256",
]
v2 = ["light-sdk-types/v2"]

[lib]
name = "light_sdk"
crate-type = [
    "cdylib",
    "lib",
]
path = "src/lib.rs"

[dependencies.anchor-lang]
version = "0.31.1"
optional = true

[dependencies.bincode]
version = "1"

[dependencies.borsh]
version = "0.10.4"
default-features = false

[dependencies.light-account-checks]
version = "0.7.0"
features = ["solana"]
default-features = false

[dependencies.light-compressed-account]
version = "0.9.0"
features = ["std"]
default-features = false

[dependencies.light-compressible]
version = "0.4.0"
default-features = false

[dependencies.light-concurrent-merkle-tree]
version = "5.0.0"
optional = true

[dependencies.light-hasher]
version = "5.0.0"
features = ["std"]
default-features = false

[dependencies.light-heap]
version = "2.0.0"
optional = true

[dependencies.light-macros]
version = "2.2.0"

[dependencies.light-sdk-macros]
version = "0.19.0"

[dependencies.light-sdk-types]
version = "0.19.0"
features = ["std"]
default-features = false

[dependencies.light-zero-copy]
version = "0.6.0"
default-features = false

[dependencies.num-bigint]
version = "0.4.6"

[dependencies.solana-account-info]
version = "2.2"

[dependencies.solana-clock]
version = "2.2"

[dependencies.solana-cpi]
version = "2.2"

[dependencies.solana-instruction]
version = "2.3"

[dependencies.solana-loader-v3-interface]
version = "5.0"
features = ["serde"]

[dependencies.solana-msg]
version = "2.2"

[dependencies.solana-program]
version = "2.3"
optional = true

[dependencies.solana-program-error]
version = "2.2"

[dependencies.solana-pubkey]
version = "2.4.0"
features = [
    "borsh",
    "sha2",
    "curve25519",
]

[dependencies.solana-system-interface]
version = "1"

[dependencies.solana-sysvar]
version = "2.2"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.anchor-lang]
version = "0.31.1"

[dev-dependencies.light-compressed-account]
version = "0.9.0"
features = ["new-unique"]
default-features = false

[dev-dependencies.light-hasher]
version = "5.0.0"
features = ["keccak"]
default-features = false

[dev-dependencies.num-bigint]
version = "0.4.6"

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
    'cfg(target_os, values("solana"))',
    'cfg(feature, values("frozen-abi", "no-entrypoint"))',
]