light-sdk-types 0.24.0

Core types for Light Protocol SDK
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-types"
version = "0.24.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types for Light Protocol SDK"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/lightprotocol/light-protocol"

[features]
alloc = ["light-hasher/alloc"]
anchor = [
    "anchor-lang",
    "solana-program-error",
]
cpi-context = []
default = [
    "std",
    "v2",
]
idl-build = [
    "anchor-lang/idl-build",
    "anchor",
]
keccak = ["light-hasher/keccak"]
light-account = ["cpi-context"]
poseidon = ["light-hasher/poseidon"]
sha256 = ["light-hasher/sha256"]
std = [
    "alloc",
    "solana-msg",
    "light-hasher/std",
]
v2 = []

[lib]
name = "light_sdk_types"
path = "src/lib.rs"

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

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

[dependencies.bytemuck]
version = "1.19.0"
features = ["derive"]

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

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

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

[dependencies.light-program-profiler]
version = "0.1.0"

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

[dependencies.solana-msg]
version = "3.1"
optional = true

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

[dependencies.solana-pubkey]
version = "4.2"
features = ["borsh"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tinyvec]
version = "1.10.0"

[dependencies.zerocopy]
version = "0.8.25"
features = ["derive"]

[dev-dependencies.light-account-checks]
version = "0.9.0"
features = [
    "solana",
    "test-only",
]
default-features = false

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.solana-account-info]
version = "3.1"

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