[package]
name = "ckb-hash"
version = "0.120.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",
]
[target.'cfg(not(target_family = "wasm"))'.dependencies]
blake2b-rs = { version = "0.2", optional = true }
[target.'cfg(target_family = "wasm")'.dependencies]
blake2b-ref = { version = "0.3", optional = true }
[dependencies]
blake2b-ref = { version = "0.3", optional = true }