mirror of
https://github.com/MedzikUser/rust-crypto-utils
synced 2024-08-14 23:54:22 +00:00
31 lines
881 B
TOML
31 lines
881 B
TOML
[package]
|
|
name = "crypto-utils"
|
|
version = "0.4.0"
|
|
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"]
|
|
full = ["sha", "jwt"]
|
|
sha = ["sha1", "sha2", "hmac"]
|
|
jwt = ["chrono", "serde", "jsonwebtoken"]
|
|
|
|
[dependencies]
|
|
sha1 = { version = "0.10.1", optional = true }
|
|
sha2 = { version = "0.10.2", optional = true }
|
|
hmac = { version = "0.12.1", optional = true }
|
|
chrono = { version = "0.4.19", optional = true }
|
|
serde = { version = "1.0.137", optional = true }
|
|
jsonwebtoken = { version = "8.1.1", optional = true }
|
|
thiserror = "1.0.31"
|
|
|
|
[dev-dependencies]
|
|
anyhow = "1.0.58"
|
|
hex = { version = "0.4.3" }
|