2022-06-11 10:42:32 +00:00
|
|
|
[package]
|
|
|
|
name = "crypto-utils"
|
2022-09-16 08:54:22 +00:00
|
|
|
version = "0.4.1"
|
2022-06-11 10:42:32 +00:00
|
|
|
description = "Cryptography Utils for Rust"
|
2022-09-16 08:54:22 +00:00
|
|
|
authors = ["MedzikUser <medzik@duck.com>"]
|
2022-06-11 10:42:32 +00:00
|
|
|
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]
|
2022-09-16 02:48:07 +00:00
|
|
|
sha1 = { version = "0.10.5", optional = true }
|
2022-09-16 05:56:20 +00:00
|
|
|
sha2 = { version = "0.10.6", optional = true }
|
2022-06-28 20:50:19 +00:00
|
|
|
hmac = { version = "0.12.1", optional = true }
|
2022-08-13 15:32:41 +00:00
|
|
|
chrono = { version = "0.4.22", optional = true }
|
2022-10-21 09:44:41 +00:00
|
|
|
serde = { version = "1.0.146", optional = true }
|
2022-06-18 06:59:36 +00:00
|
|
|
jsonwebtoken = { version = "8.1.1", optional = true }
|
2022-09-27 23:33:20 +00:00
|
|
|
thiserror = "1.0.37"
|
2022-06-11 10:42:32 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-10-20 23:57:00 +00:00
|
|
|
anyhow = "1.0.66"
|
2022-09-16 08:54:22 +00:00
|
|
|
hex = "0.4.3"
|