solana-program 2.1.2

Solana Program
Documentation
[dependencies.bincode]
version = "1.3.3"

[dependencies.blake3]
features = ["traits-preview"]
version = "1.5.4"

[dependencies.borsh]
features = ["derive", "unstable__schema"]
optional = true
version = "1.5.1"

[dependencies.borsh0-10]
optional = true
package = "borsh"
version = "0.10.3"

[dependencies.bs58]
default-features = false
features = ["alloc"]
version = "0.5.1"

[dependencies.bv]
features = ["serde"]
version = "0.11.1"

[dependencies.bytemuck]
version = "1.19.0"

[dependencies.bytemuck_derive]
version = "1.8.0"

[dependencies.five8_const]
version = "0.1.3"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.log]
version = "0.4.22"

[dependencies.memoffset]
version = "0.9"

[dependencies.num-derive]
version = "0.4"

[dependencies.num-traits]
features = ["i128"]
version = "0.2"

[dependencies.qualifier_attr]
default-features = false
optional = true
version = "0.2.2"

[dependencies.serde]
version = "1.0.213"

[dependencies.serde_bytes]
version = "0.11.15"

[dependencies.serde_derive]
version = "1.0.213"

[dependencies.sha2]
version = "0.10.8"

[dependencies.sha3]
version = "0.10.8"

[dependencies.solana-account-info]
features = ["bincode"]
version = "=2.1.2"

[dependencies.solana-atomic-u64]
version = "=2.1.2"

[dependencies.solana-bincode]
version = "=2.1.2"

[dependencies.solana-borsh]
optional = true
version = "=2.1.2"

[dependencies.solana-clock]
features = ["serde", "sysvar"]
version = "=2.1.2"

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

[dependencies.solana-decode-error]
version = "=2.1.2"

[dependencies.solana-epoch-schedule]
features = ["serde", "sysvar"]
version = "=2.1.2"

[dependencies.solana-fee-calculator]
features = ["serde"]
version = "=2.1.2"

[dependencies.solana-frozen-abi]
features = ["frozen-abi"]
optional = true
version = "=2.1.2"

[dependencies.solana-frozen-abi-macro]
features = ["frozen-abi"]
optional = true
version = "=2.1.2"

[dependencies.solana-hash]
default-features = false
features = ["bytemuck", "serde", "std"]
version = "=2.1.2"

[dependencies.solana-instruction]
default-features = false
features = ["bincode", "serde", "std"]
version = "=2.1.2"

[dependencies.solana-last-restart-slot]
features = ["serde", "sysvar"]
version = "=2.1.2"

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

[dependencies.solana-native-token]
version = "=2.1.2"

[dependencies.solana-program-entrypoint]
version = "=2.1.2"

[dependencies.solana-program-error]
features = ["serde"]
version = "=2.1.2"

[dependencies.solana-program-memory]
version = "=2.1.2"

[dependencies.solana-program-option]
version = "=2.1.2"

[dependencies.solana-program-pack]
version = "=2.1.2"

[dependencies.solana-pubkey]
default-features = false
features = ["bytemuck", "curve25519", "serde", "std"]
version = "=2.1.2"

[dependencies.solana-rent]
default-features = false
features = ["serde", "sysvar"]
version = "=2.1.2"

[dependencies.solana-sanitize]
version = "=2.1.2"

[dependencies.solana-sdk-macro]
version = "=2.1.2"

[dependencies.solana-secp256k1-recover]
default-features = false
version = "=2.1.2"

[dependencies.solana-serde-varint]
version = "=2.1.2"

[dependencies.solana-serialize-utils]
version = "=2.1.2"

[dependencies.solana-sha256-hasher]
features = ["sha2"]
version = "=2.1.2"

[dependencies.solana-short-vec]
version = "=2.1.2"

[dependencies.solana-slot-hashes]
features = ["serde", "sysvar"]
version = "=2.1.2"

[dependencies.solana-slot-history]
features = ["serde", "sysvar"]
version = "=2.1.2"

[dependencies.solana-stable-layout]
version = "=2.1.2"

[dependencies.solana-sysvar-id]
version = "=2.1.2"

[dependencies.thiserror]
version = "1.0.65"

[dev-dependencies.anyhow]
version = "1.0.91"

[dev-dependencies.array-bytes]
version = "=1.4.1"

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.itertools]
version = "0.12.1"

[dev-dependencies.serde_json]
version = "1.0.132"

[dev-dependencies.serial_test]
version = "2.0.0"

[dev-dependencies.solana-pubkey]
default-features = false
features = ["dev-context-only-utils"]
version = "=2.1.2"

[dev-dependencies.static_assertions]
version = "1.1.0"

[dev-dependencies.test-case]
version = "3.3.1"

[features]
borsh = ["dep:borsh", "dep:borsh0-10", "dep:solana-borsh", "solana-hash/borsh", "solana-instruction/borsh", "solana-program-error/borsh", "solana-pubkey/borsh"]
default = ["borsh"]
dev-context-only-utils = ["dep:qualifier_attr"]
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro", "solana-epoch-schedule/frozen-abi", "solana-fee-calculator/frozen-abi", "solana-hash/frozen-abi", "solana-instruction/frozen-abi", "solana-pubkey/frozen-abi", "solana-rent/frozen-abi", "solana-short-vec/frozen-abi"]

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

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

[package]
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Solana Program"
documentation = "https://docs.rs/solana-program"
edition = "2021"
homepage = "https://anza.xyz/"
license = "Apache-2.0"
name = "solana-program"
readme = "README.md"
repository = "https://github.com/anza-xyz/agave"
rust-version = "1.79.0"
version = "2.1.2"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[target.'cfg(not(target_os = "solana"))'.dependencies.base64]
features = ["alloc", "std"]
version = "0.22.1"

[target.'cfg(not(target_os = "solana"))'.dependencies.bitflags]
version = "2.6.0"

[target.'cfg(not(target_os = "solana"))'.dependencies.curve25519-dalek]
features = ["digest", "rand_core"]
version = "4.1.3"

[target.'cfg(not(target_os = "solana"))'.dependencies.num-bigint]
version = "0.4.6"

[target.'cfg(not(target_os = "solana"))'.dependencies.rand]
version = "0.8.5"

[target.'cfg(not(target_os = "solana"))'.dependencies.solana-transaction-error]
version = "=2.1.2"

[target.'cfg(not(target_os = "solana"))'.dev-dependencies.arbitrary]
features = ["derive"]
version = "1.3.2"

[target.'cfg(not(target_os = "solana"))'.dev-dependencies.libsecp256k1]
default-features = false
features = ["std", "static-context", "hmac"]
version = "0.6.0"

[target.'cfg(not(target_os = "solana"))'.dev-dependencies.solana-logger]
version = "=2.1.2"

[target.'cfg(not(target_pointer_width = "64"))'.dependencies.parking_lot]
version = "0.12"

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1.7"

[target.'cfg(target_arch = "wasm32")'.dependencies.console_log]
version = "0.2.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
features = ["js", "wasm-bindgen"]
version = "0.2.10"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.72"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_os = "solana")'.dependencies.getrandom]
features = ["custom"]
version = "0.2.10"

[target.'cfg(target_os = "solana")'.dependencies.solana-define-syscall]
version = "=2.1.2"

[[test]]
name = "test_pubkey_export"
path = "tests/test_pubkey_export.rs"