[package] name = "crypto-utils" version = "0.4.1" description = "Cryptography Utils for Rust" authors = ["MedzikUser "] license = "MIT" keywords = ["crypto", "sha"] categories = ["cryptography"] homepage = "https://github.com/MedzikUser/rust-crypto-utils" repository = "https://github.com/MedzikUser/rust-crypto-utils.git" edition = "2021" [features] default = ["full"] full = ["sha", "jwt"] sha = ["sha1", "sha2", "hmac"] jwt = ["chrono", "serde", "jsonwebtoken"] [dependencies] sha1 = { version = "0.10.5", optional = true } sha2 = { version = "0.10.6", optional = true } hmac = { version = "0.12.1", optional = true } chrono = { version = "0.4.23", optional = true } serde = { version = "1.0.152", optional = true } jsonwebtoken = { version = "8.2.0", optional = true } thiserror = "1.0.38" [dev-dependencies] anyhow = "1.0.68" hex = "0.4.3"