# 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" name = "ckb-hash" version = "0.120.0" authors = ["Nervos Core Dev "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "CKB default hash function." homepage = "https://github.com/nervosnetwork/ckb" readme = "README.md" license = "MIT" repository = "https://github.com/nervosnetwork/ckb" [lib] name = "ckb_hash" path = "src/lib.rs" [dependencies.blake2b-ref] version = "0.3" optional = true [features] ckb-contract = ["blake2b-ref"] default = [ "blake2b-ref", "blake2b-rs", ] [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