solana-hash 4.2.0

Solana wrapper for the 32-byte output of a hashing algorithm.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.81.0"
name = "solana-hash"
version = "4.2.0"
authors = ["Anza Maintainers <maintainers@anza.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Solana wrapper for the 32-byte output of a hashing algorithm."
homepage = "https://anza.xyz/"
documentation = "https://docs.rs/solana-hash"
readme = false
license = "Apache-2.0"
repository = "https://github.com/anza-xyz/solana-sdk"

[package.metadata.docs.rs]
targets = [
    "x86_64-unknown-linux-gnu",
    "wasm32-unknown-unknown",
]
all-features = true
rustdoc-args = ["--cfg=docsrs"]

[features]
atomic = ["dep:solana-atomic-u64"]
borsh = ["dep:borsh"]
bytemuck = [
    "copy",
    "dep:bytemuck",
    "dep:bytemuck_derive",
]
copy = []
decode = ["dep:five8"]
default = []
frozen-abi = [
    "dep:solana-frozen-abi",
    "dep:solana-frozen-abi-macro",
    "std",
]
sanitize = ["dep:solana-sanitize"]
serde = [
    "dep:serde",
    "dep:serde_derive",
]
std = [
    "borsh?/std",
    "serde?/std",
    "wincode?/std",
]
wincode = ["dep:wincode"]

[lib]
name = "solana_hash"
path = "src/lib.rs"

[dependencies.borsh]
version = "1.5.5"
features = [
    "derive",
    "unstable__schema",
]
optional = true
default-features = false

[dependencies.bytemuck]
version = "1.21.0"
optional = true

[dependencies.bytemuck_derive]
version = "1.8.1"
optional = true

[dependencies.five8]
version = "1.0.0"
optional = true

[dependencies.serde]
version = "1.0.226"
optional = true
default-features = false

[dependencies.serde_derive]
version = "1.0.226"
optional = true

[dependencies.solana-atomic-u64]
version = "3.0.0"
optional = true

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

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

[dependencies.solana-sanitize]
version = "3.0.0"
optional = true

[dependencies.wincode]
version = "0.4.4"
features = ["derive"]
optional = true
default-features = false

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

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