rust-crypto-utils/Cargo.toml

31 lines
865 B
TOML
Raw Permalink Normal View History

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]
sha1 = { version = "0.10.5", optional = true }
sha2 = { version = "0.10.6", optional = true }
2022-06-28 20:50:19 +00:00
hmac = { version = "0.12.1", optional = true }
chrono = { version = "0.4.23", optional = true }
serde = { version = "1.0.152", optional = true }
jsonwebtoken = { version = "8.2.0", optional = true }
thiserror = "1.0.38"
2022-06-11 10:42:32 +00:00
[dev-dependencies]
anyhow = "1.0.68"
2022-09-16 08:54:22 +00:00
hex = "0.4.3"