Crates.io | proc-hash |
lib.rs | proc-hash |
version | 0.1.2 |
source | src |
created_at | 2023-07-17 16:47:27.000264 |
updated_at | 2023-07-19 19:07:26.880778 |
description | Embed hashed strings at compile time |
homepage | |
repository | https://github.com/lucascherzer/proc-hash |
max_upload_size | |
id | 918665 |
size | 8,498 |
proc-hash
provides functionality for embedding hashed values at compile time.
use proc_hash::include_blake512;
assert_eq!(
include_blake512!("https://www.youtube.com/watch?v=dQw4w9WgXcQ"),
"7eda814eb5fe31a58a639842aebf554b505bb5e65bdcd1052ee035a1227d353c590580b49c453606e268b4a4f0c7862dff5fa748cd4b0e60c1bcd77c92dd7fd8"
);