[dependencies.borsh]
optional = true
version = "1"
[dependencies.bytemuck]
features = ["derive"]
version = "1.19.0"
[dependencies.solana-program-error]
version = "2.1.0"
[dependencies.solana-sha256-hasher]
version = "2.1.0"
[dependencies.spl-discriminator-derive]
version = "0.2.0"
[features]
borsh = ["dep:borsh"]
[lib]
crate-type = ["cdylib", "lib"]
name = "spl_discriminator"
path = "src/lib.rs"
[package]
authors = ["Solana Labs Maintainers <maintainers@solanalabs.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Solana Program Library 8-Byte Discriminator Management"
edition = "2021"
license = "Apache-2.0"
name = "spl-discriminator"
readme = "README.md"
repository = "https://github.com/solana-labs/solana-program-library"
version = "0.4.0"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]