2020-04-11 15:24:50 -04:00
|
|
|
[package]
|
2020-04-13 10:59:30 -04:00
|
|
|
name = "totp-rs"
|
2023-03-28 04:47:52 -04:00
|
|
|
version = "5.0.0"
|
2020-04-11 15:24:50 -04:00
|
|
|
authors = ["Cleo Rebert <cleo.rebert@gmail.com>"]
|
2023-03-28 04:47:52 -04:00
|
|
|
rust-version = "1.61"
|
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]
|
2023-01-14 09:58:20 -05:00
|
|
|
features = [ "qr", "serde_support", "gen_secret" ]
|
2020-06-21 09:57:16 -04:00
|
|
|
|
|
|
|
[features]
|
2023-03-28 05:03:04 -04:00
|
|
|
default = []
|
2022-06-16 05:48:34 -04:00
|
|
|
otpauth = ["url", "urlencoding"]
|
2022-05-20 09:00:12 -04:00
|
|
|
qr = ["qrcodegen", "image", "base64", "otpauth"]
|
2020-07-03 08:34:58 -04:00
|
|
|
serde_support = ["serde"]
|
2022-08-06 17:04:50 -04:00
|
|
|
gen_secret = ["rand"]
|
2023-01-02 15:55:49 -05:00
|
|
|
steam = []
|
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-10-01 10:54:01 -04:00
|
|
|
sha1 = "~0.10.5"
|
2022-04-15 09:08:41 -04:00
|
|
|
hmac = "~0.12.1"
|
2022-01-13 09:55:04 -05:00
|
|
|
base32 = "~0.4"
|
2022-06-16 05:48:34 -04:00
|
|
|
urlencoding = { version = "^2.1.0", optional = true}
|
2023-03-28 04:47:52 -04:00
|
|
|
url = { version = "^2.3.1", optional = true }
|
2022-12-29 08:16:19 -05:00
|
|
|
constant_time_eq = "0.2.4"
|
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}
|
2023-03-28 04:47:52 -04:00
|
|
|
base64 = { version = "~0.21", optional = true }
|
2022-11-01 23:14:18 -04:00
|
|
|
rand = { version = "~0.8.5", features = ["std_rng", "std"], optional = true, default-features = false }
|
2023-03-28 04:47:52 -04:00
|
|
|
zeroize = { version = "1.6.0", features = ["alloc", "derive"], optional = true }
|