[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-decode-error]
version = "=2.1.2"
[dependencies.solana-instruction]
default-features = false
features = ["std"]
version = "=2.1.2"
[dependencies.solana-msg]
version = "=2.1.2"
[dependencies.solana-pubkey]
default-features = false
version = "=2.1.2"
[features]
borsh = ["dep:borsh"]
serde = ["dep:serde", "dep:serde_derive"]
[lib]
name = "solana_program_error"
path = "src/lib.rs"
[package]
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Solana ProgramError type and related definitions."
documentation = "https://docs.rs/solana-program-error"
edition = "2021"
homepage = "https://anza.xyz/"
license = "Apache-2.0"
name = "solana-program-error"
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"]