proxmox/proxmox-tfa/Cargo.toml
Fabian Grünbichler ee8419cf2d workspace: switch remaining dependencies
while these are (currently) only used by a single member each, having *all*
dependency versions specified in the top level Cargo.toml only makes the whole
process of managing them less error-prone.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-12-12 11:05:30 +01:00

35 lines
1001 B
TOML

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