rust-crypto-utils/Cargo.toml

31 lines
881 B
TOML
Raw Normal View History

2022-06-11 10:42:32 +00:00
[package]
name = "crypto-utils"
2022-06-29 13:21:55 +00:00
version = "0.4.0"
2022-06-11 10:42:32 +00:00
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"
edition = "2021"
[features]
default = ["full"]
2022-06-11 14:59:20 +00:00
full = ["sha", "jwt"]
2022-06-28 20:50:19 +00:00
sha = ["sha1", "sha2", "hmac"]
2022-06-11 14:59:20 +00:00
jwt = ["chrono", "serde", "jsonwebtoken"]
2022-06-11 10:42:32 +00:00
[dependencies]
sha1 = { version = "0.10.4", optional = true }
sha2 = { version = "0.10.5", optional = true }
2022-06-28 20:50:19 +00:00
hmac = { version = "0.12.1", optional = true }
chrono = { version = "0.4.22", optional = true }
serde = { version = "1.0.144", optional = true }
jsonwebtoken = { version = "8.1.1", optional = true }
thiserror = "1.0.35"
2022-06-11 10:42:32 +00:00
[dev-dependencies]
anyhow = "1.0.65"
2022-06-11 10:42:32 +00:00
hex = { version = "0.4.3" }