ckb-hash 0.119.0

CKB default hash function.
Documentation
[package]
name = "ckb-hash"
version = "0.119.0"
license = "MIT"
authors = ["Nervos Core Dev <dev@nervos.org>"]
edition = "2021"
description = "CKB default hash function."
homepage = "https://github.com/nervosnetwork/ckb"
repository = "https://github.com/nervosnetwork/ckb"

[features]
default = ["blake2b-ref", "blake2b-rs"]
ckb-contract = ["blake2b-ref"] # This feature is used for CKB contract development

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
blake2b-rs = { version = "0.2", optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
blake2b-ref = { version = "0.3", optional = true }

[dependencies]
blake2b-ref = { version = "0.3", optional = true }