rust-crypto-utils/Cargo.toml

29 lines
805 B
TOML

[package]
name = "crypto-utils"
description = "Cryptography Utils for Rust"
authors = ["MedzikUser <nivua1fn@duck.com>"]
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.1", optional = true }
[dev-dependencies]
anyhow = "1.0.57"
hex = { version = "0.4.3" }