2020-04-11 15:24:50 -04:00
|
|
|
[package]
|
2020-04-13 10:59:30 -04:00
|
|
|
name = "totp-rs"
|
2022-05-15 07:41:19 -04:00
|
|
|
version = "2.0.0"
|
2020-04-11 15:24:50 -04:00
|
|
|
authors = ["Cleo Rebert <cleo.rebert@gmail.com>"]
|
2022-01-13 09:55:04 -05:00
|
|
|
edition = "2021"
|
2020-04-13 10:59:30 -04:00
|
|
|
readme = "README.md"
|
|
|
|
license = "MIT"
|
2020-07-03 08:18:16 -04:00
|
|
|
description = "RFC-compliant TOTP implementation with ease of use as a goal and additionnal QoL features."
|
2020-04-13 10:59:30 -04:00
|
|
|
repository = "https://github.com/constantoine/totp-rs"
|
|
|
|
homepage = "https://github.com/constantoine/totp-rs"
|
2020-06-23 04:30:54 -04:00
|
|
|
keywords = ["authentication", "2fa", "totp", "hmac", "otp"]
|
2020-04-13 10:59:30 -04:00
|
|
|
categories = ["authentication", "web-programming"]
|
2020-04-11 15:24:50 -04:00
|
|
|
|
2020-06-21 13:08:52 -04:00
|
|
|
[package.metadata.docs.rs]
|
2022-05-15 07:41:19 -04:00
|
|
|
features = [ "qr", "serde_support" ]
|
2020-06-21 09:57:16 -04:00
|
|
|
|
|
|
|
[features]
|
2022-05-15 07:41:19 -04:00
|
|
|
default = []
|
2022-05-05 05:50:41 -04:00
|
|
|
qr = ["qrcodegen", "image", "base64"]
|
2020-07-03 08:34:58 -04:00
|
|
|
serde_support = ["serde"]
|
2020-06-21 09:57:16 -04:00
|
|
|
|
2020-04-11 15:24:50 -04:00
|
|
|
[dependencies]
|
2020-07-03 08:34:58 -04:00
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
2022-04-15 09:08:41 -04:00
|
|
|
sha2 = "~0.10.2"
|
2022-01-13 09:55:04 -05:00
|
|
|
sha-1 = "~0.10.0"
|
2022-04-15 09:08:41 -04:00
|
|
|
hmac = "~0.12.1"
|
2022-01-13 09:55:04 -05:00
|
|
|
base32 = "~0.4"
|
2022-05-15 07:41:19 -04:00
|
|
|
url = "2.2.2"
|
2022-04-24 10:41:56 -04:00
|
|
|
constant_time_eq = "~0.2.1"
|
2022-05-05 05:50:41 -04:00
|
|
|
qrcodegen = { version = "~1.8", optional = true }
|
2022-05-05 06:48:52 -04:00
|
|
|
image = { version = "~0.24.2", features = ["png"], optional = true, default-features = false}
|
2022-05-15 07:41:19 -04:00
|
|
|
base64 = { version = "~0.13", optional = true }
|