# 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 = "crypto-utils" version = "0.4.1" authors = ["MedzikUser "] description = "Cryptography Utils for Rust" homepage = "https://github.com/MedzikUser/rust-crypto-utils" readme = "README.md" keywords = [ "crypto", "sha", ] categories = ["cryptography"] license = "MIT" repository = "https://github.com/MedzikUser/rust-crypto-utils.git" resolver = "2" [dependencies.chrono] version = "0.4.22" optional = true [dependencies.hmac] version = "0.12.1" optional = true [dependencies.jsonwebtoken] version = "8.1.1" optional = true [dependencies.serde] version = "1.0.144" optional = true [dependencies.sha1] version = "0.10.5" optional = true [dependencies.sha2] version = "0.10.6" optional = true [dependencies.thiserror] version = "1.0.35" [dev-dependencies.anyhow] version = "1.0.65" [dev-dependencies.hex] version = "0.4.3" [features] default = ["full"] full = [ "sha", "jwt", ] jwt = [ "chrono", "serde", "jsonwebtoken", ] sha = [ "sha1", "sha2", "hmac", ]