[dependencies.borsh]
features = ["derive", "unstable__schema"]
optional = true
version = "1.5.1"
[dependencies.bs58]
default-features = false
version = "0.5.1"
[dependencies.bytemuck]
optional = true
version = "1.19.0"
[dependencies.bytemuck_derive]
optional = true
version = "1.8.0"
[dependencies.serde]
optional = true
version = "1.0.213"
[dependencies.serde_derive]
optional = true
version = "1.0.213"
[dependencies.solana-atomic-u64]
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-sanitize]
version = "=2.1.2"
[dev-dependencies]
[features]
borsh = ["dep:borsh", "std"]
bytemuck = ["dep:bytemuck", "dep:bytemuck_derive"]
default = ["std"]
dev-context-only-utils = ["bs58/alloc"]
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro", "std"]
serde = ["dep:serde", "dep:serde_derive"]
std = []
[lib]
name = "solana_hash"
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 wrapper for the 32-byte output of a hashing algorithm."
documentation = "https://docs.rs/solana-hash"
edition = "2021"
homepage = "https://anza.xyz/"
license = "Apache-2.0"
name = "solana-hash"
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.js-sys]
version = "0.3.72"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"