[dependencies.base64]
version = "0.22.1"
[dependencies.chrono]
version = "0.4.38"
[dependencies.hkdf]
optional = true
version = "0.12.4"
[dependencies.hmac]
optional = true
version = "0.12.1"
[dependencies.ring]
optional = true
version = "0.17.8"
[dependencies.serde]
features = ["derive"]
version = "1.0.203"
[dependencies.serde_json]
version = "1.0.117"
[dependencies.sha1]
optional = true
version = "0.10.6"
[dependencies.sha2]
optional = true
version = "0.10.8"
[dependencies.thiserror]
version = "1.0.61"
[dev-dependencies.chrono]
features = ["serde"]
version = "0.4.38"
[dev-dependencies.rand]
version = "0.8.5"
[features]
default = ["rust_crypto"]
ring = ["dep:ring"]
rust_crypto = ["sha1", "sha2", "hkdf", "hmac"]
[package]
authors = ["KJHJason <contact@kjhjason.com>"]
categories = ["cryptography", "authentication"]
description = "HMAC Serialisers to cryptographically sign data like Python's ItsDangerous library but in rust."
edition = "2021"
keywords = ["hmac", "itsdangerous", "serialiser", "signing", "jwt"]
license = "MIT"
name = "hmac-serialiser"
readme = "README.md"
repository = "https://github.com/KJHJason/hmac-serialiser/tree/master/rust"
version = "0.3.1"
[[test]]
name = "hmac_random"
path = "tests/hmac_random.rs"
[[test]]
name = "hkdf_random"
path = "tests/hkdf_random.rs"