[package] name = "hmac-sha" version = "0.6.1" edition = "2021" authors = ["Philip Woolford ", "Leonardo Razovic "] keywords = ["crypto", "sha", "hmac", "digest"] description = "Minimal wrapper of HMAC-SHA-{1,2,3} in Rust." license = "MIT OR Apache-2.0" repository = "https://github.com/lrazovic/rust-hmac-sha" include = ["**/*.rs", "LICENSE"] categories = ["cryptography"] [lib] name = "hmacsha" path = "src/lib.rs" [dependencies] heapless = "0.7" hmac = { version = "0.11", default-features = false } digest= { version = "0.9", default-features = false } [dev-dependencies] hex = "0.4" criterion = "0.3" sha-1 = { version = "0.9", default-features = false } sha2 = { version = "0.9", default-features = false } sha3 = { version = "0.9", default-features = false } [[bench]] name = "sha1_bench" harness = false [profile.release] codegen-units = 1 # better optimizations lto = true # better optimizations