proxmox/proxmox-tfa/Cargo.toml
Wolfgang Bumiller 2ca71fe601 tfa: bump version to 5.0.0
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-03 15:25:39 +02:00

49 lines
1.5 KiB
TOML

[package]
name = "proxmox-tfa"
version = "5.0.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "tfa implementation for totp and u2f"
exclude.workspace = true
[dependencies]
serde.workspace = true
anyhow = { workspace = true, optional = true }
base32 = { workspace = true, optional = true }
base64 = { workspace = true, optional = true }
hex = { workspace = true, optional = true }
libc = { workspace = true, optional = true }
log = { workspace = true, optional = true }
openssl = { workspace = true, optional = true }
percent-encoding = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
serde_plain = { workspace = true, optional = true }
url = { workspace = true, optional = true }
webauthn-rs = { workspace = true, optional = true }
proxmox-schema = { workspace = true, features = [ "api-macro" ], optional = true }
proxmox-time = { workspace = true, optional = true }
proxmox-uuid = { workspace = true, optional = true }
[features]
default = [ "totp" ]
types = [ "dep:serde_plain", "serde/derive" ]
u2f = [ "dep:base64", "dep:libc", "dep:openssl", "dep:serde_json", "serde/derive" ]
api = [
"totp",
"types",
"u2f",
"dep:anyhow",
"dep:log",
"dep:proxmox-time",
"dep:proxmox-uuid",
"dep:url",
"dep:webauthn-rs",
]
api-types = [ "types", "dep:proxmox-schema" ]
totp = [ "dep:base32", "dep:hex", "dep:openssl", "dep:percent-encoding", "dep:serde_plain" ]