]> git.proxmox.com Git - proxmox.git/blobdiff - proxmox-tfa/Cargo.toml
bump proxmox-tfa to 4.0.2
[proxmox.git] / proxmox-tfa / Cargo.toml
index 496d0161662287191fd751f7d9b9ff0496e1ca56..98ac30dd3f22503288aeec2e5f92541483028b5d 100644 (file)
@@ -1,6 +1,6 @@
 [package]
 name = "proxmox-tfa"
-version = "2.1.0"
+version = "4.0.2"
 authors.workspace = true
 edition.workspace = true
 license.workspace = true
@@ -10,18 +10,19 @@ description = "tfa implementation for totp and u2f"
 exclude.workspace = true
 
 [dependencies]
-anyhow.workspace = true
-base32 = "0.4"
+anyhow = { workspace = true, optional = true }
+base32.workspace = true
 base64.workspace = true
 hex.workspace = true
+log.workspace = true
 openssl.workspace = true
 percent-encoding.workspace = true
 serde.workspace = true
-serde_plain = "1.0"
+serde_plain.workspace = true
 serde_json = { workspace = true, optional = true }
 libc = { workspace = true, optional = true }
 url.workspace = true
-webauthn-rs = { version = "0.3", optional = true }
+webauthn-rs = { workspace = true, optional = true }
 
 proxmox-schema = { workspace = true, features = [ "api-macro" ], optional = true }
 proxmox-time = { workspace = true, optional = true }
@@ -29,6 +30,7 @@ proxmox-uuid = { workspace = true, optional = true }
 
 [features]
 default = []
+types = [ "serde/derive"]
 u2f = [ "dep:libc", "dep:serde_json", "serde/derive" ]
-api = [ "u2f", "dep:webauthn-rs", "dep:proxmox-uuid", "dep:proxmox-time" ]
-api-types = [ "dep:proxmox-schema" ]
+api = [ "types", "u2f", "dep:anyhow", "dep:webauthn-rs", "dep:proxmox-uuid", "dep:proxmox-time" ]
+api-types = [ "types", "dep:proxmox-schema" ]