[package] name = "crypto-utils" 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" version = "0.2.0" edition = "2021" [features] default = ["full"] full = ["sha", "jwt"] sha = ["sha1", "sha2"] jwt = ["chrono", "serde", "jsonwebtoken"] [dependencies] sha1 = { version = "0.10.1", optional = true } sha2 = { version = "0.10.2", optional = true } chrono = { version = "0.4.19", optional = true } serde = { version = "1.0.137", optional = true } jsonwebtoken = { version = "8.1.0", optional = true } [dev-dependencies] hex = { version = "0.4.3" }