[dependencies.bincode]
optional = true
version = "1.3.3"
[dependencies.borsh]
features = ["derive", "unstable__schema"]
optional = true
version = "1.5.1"
[dependencies.num-traits]
version = "0.2"
[dependencies.serde]
optional = true
version = "1.0.213"
[dependencies.serde_derive]
optional = true
version = "1.0.213"
[dependencies.solana-frozen-abi]
optional = true
version = "=2.1.2"
[dependencies.solana-frozen-abi-macro]
optional = true
version = "=2.1.2"
[dependencies.solana-pubkey]
default-features = false
version = "=2.1.2"
[dev-dependencies]
[features]
bincode = ["dep:bincode", "dep:serde"]
borsh = ["dep:borsh"]
default = ["std"]
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro", "serde", "std"]
serde = ["dep:serde", "dep:serde_derive", "solana-pubkey/serde"]
std = []
[lib]
name = "solana_instruction"
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 = "Types for directing the execution of Solana programs."
documentation = "https://docs.rs/solana-instruction"
edition = "2021"
homepage = "https://anza.xyz/"
license = "Apache-2.0"
name = "solana-instruction"
readme = false
repository = "https://github.com/anza-xyz/agave"
version = "2.1.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg=docsrs"]
targets = ["x86_64-unknown-linux-gnu"]
[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.solana-define-syscall]
version = "=2.1.2"