diff --git a/proxmox-tfa/Cargo.toml b/proxmox-tfa/Cargo.toml index bfb7c3be..9e60817c 100644 --- a/proxmox-tfa/Cargo.toml +++ b/proxmox-tfa/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proxmox-tfa" -version = "4.0.5" +version = "4.1.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/proxmox-tfa/debian/changelog b/proxmox-tfa/debian/changelog index ce4784e3..d2028495 100644 --- a/proxmox-tfa/debian/changelog +++ b/proxmox-tfa/debian/changelog @@ -1,3 +1,15 @@ +rust-proxmox-tfa (4.1.0) bookworm; urgency=medium + + * make TfaType Clone + Copy + PartialEq + + * make totp a feature + + * make more optional dependencies actually optional + + * clippy fixes + + -- Proxmox Support Team Thu, 23 Nov 2023 09:20:56 +0100 + rust-proxmox-tfa (4.0.5) bookworm; urgency=medium * update to proxmox-schema 2.0 diff --git a/proxmox-tfa/debian/control b/proxmox-tfa/debian/control index d174ddd3..20dbef29 100644 --- a/proxmox-tfa/debian/control +++ b/proxmox-tfa/debian/control @@ -7,14 +7,11 @@ Build-Depends: debhelper (>= 12), rustc:native , libstd-rust-dev , librust-base32-0.4+default-dev , - librust-base64-0.13+default-dev , librust-hex-0.4+default-dev , - librust-log-0.4+default-dev (>= 0.4.17-~~) , librust-openssl-0.10+default-dev , librust-percent-encoding-2+default-dev (>= 2.1-~~) , librust-serde-1+default-dev , - librust-serde-plain-1+default-dev , - librust-url-2+default-dev (>= 2.2-~~) + librust-serde-plain-1+default-dev Maintainer: Proxmox Support Team Standards-Version: 4.6.1 Vcs-Git: git://git.proxmox.com/git/proxmox.git @@ -27,28 +24,18 @@ Architecture: any Multi-Arch: same Depends: ${misc:Depends}, - librust-base32-0.4+default-dev, - librust-base64-0.13+default-dev, - librust-hex-0.4+default-dev, - librust-log-0.4+default-dev (>= 0.4.17-~~), - librust-openssl-0.10+default-dev, - librust-percent-encoding-2+default-dev (>= 2.1-~~), - librust-serde-1+default-dev, - librust-serde-plain-1+default-dev, - librust-url-2+default-dev (>= 2.2-~~) + librust-serde-1+default-dev +Recommends: + librust-proxmox-tfa+totp-dev (= ${binary:Version}) Suggests: librust-proxmox-tfa+api-dev (= ${binary:Version}), librust-proxmox-tfa+api-types-dev (= ${binary:Version}), librust-proxmox-tfa+types-dev (= ${binary:Version}), librust-proxmox-tfa+u2f-dev (= ${binary:Version}) Provides: - librust-proxmox-tfa+default-dev (= ${binary:Version}), librust-proxmox-tfa-4-dev (= ${binary:Version}), - librust-proxmox-tfa-4+default-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0+default-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0.5-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0.5+default-dev (= ${binary:Version}) + librust-proxmox-tfa-4.1-dev (= ${binary:Version}), + librust-proxmox-tfa-4.1.0-dev (= ${binary:Version}) Description: Tfa implementation for totp and u2f - Rust source code This package contains the source for the Rust proxmox-tfa crate, packaged by debcargo for use with cargo and dh-cargo. @@ -59,16 +46,19 @@ Multi-Arch: same Depends: ${misc:Depends}, librust-proxmox-tfa-dev (= ${binary:Version}), + librust-proxmox-tfa+totp-dev (= ${binary:Version}), librust-proxmox-tfa+types-dev (= ${binary:Version}), librust-proxmox-tfa+u2f-dev (= ${binary:Version}), librust-anyhow-1+default-dev, + librust-log-0.4+default-dev (>= 0.4.17-~~), librust-proxmox-time-1+default-dev (>= 1.1.4-~~), librust-proxmox-uuid-1+default-dev (>= 1.0.1-~~), + librust-url-2+default-dev (>= 2.2-~~), librust-webauthn-rs-0.3+default-dev Provides: librust-proxmox-tfa-4+api-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0+api-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0.5+api-dev (= ${binary:Version}) + librust-proxmox-tfa-4.1+api-dev (= ${binary:Version}), + librust-proxmox-tfa-4.1.0+api-dev (= ${binary:Version}) Description: Tfa implementation for totp and u2f - feature "api" This metapackage enables feature "api" for the Rust proxmox-tfa crate, by pulling in any additional dependencies needed by that feature. @@ -84,23 +74,49 @@ Depends: librust-proxmox-schema-2+default-dev Provides: librust-proxmox-tfa-4+api-types-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0+api-types-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0.5+api-types-dev (= ${binary:Version}) + librust-proxmox-tfa-4.1+api-types-dev (= ${binary:Version}), + librust-proxmox-tfa-4.1.0+api-types-dev (= ${binary:Version}) Description: Tfa implementation for totp and u2f - feature "api-types" This metapackage enables feature "api-types" for the Rust proxmox-tfa crate, by pulling in any additional dependencies needed by that feature. +Package: librust-proxmox-tfa+totp-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-tfa-dev (= ${binary:Version}), + librust-base32-0.4+default-dev, + librust-hex-0.4+default-dev, + librust-openssl-0.10+default-dev, + librust-percent-encoding-2+default-dev (>= 2.1-~~), + librust-serde-plain-1+default-dev +Provides: + librust-proxmox-tfa+default-dev (= ${binary:Version}), + librust-proxmox-tfa-4+totp-dev (= ${binary:Version}), + librust-proxmox-tfa-4+default-dev (= ${binary:Version}), + librust-proxmox-tfa-4.1+totp-dev (= ${binary:Version}), + librust-proxmox-tfa-4.1+default-dev (= ${binary:Version}), + librust-proxmox-tfa-4.1.0+totp-dev (= ${binary:Version}), + librust-proxmox-tfa-4.1.0+default-dev (= ${binary:Version}) +Description: Tfa implementation for totp and u2f - feature "totp" and 1 more + This metapackage enables feature "totp" for the Rust proxmox-tfa crate, by + pulling in any additional dependencies needed by that feature. + . + Additionally, this package also provides the "default" feature. + Package: librust-proxmox-tfa+types-dev Architecture: any Multi-Arch: same Depends: ${misc:Depends}, librust-proxmox-tfa-dev (= ${binary:Version}), - librust-serde-1+derive-dev + librust-serde-1+derive-dev, + librust-serde-plain-1+default-dev Provides: librust-proxmox-tfa-4+types-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0+types-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0.5+types-dev (= ${binary:Version}) + librust-proxmox-tfa-4.1+types-dev (= ${binary:Version}), + librust-proxmox-tfa-4.1.0+types-dev (= ${binary:Version}) Description: Tfa implementation for totp and u2f - feature "types" This metapackage enables feature "types" for the Rust proxmox-tfa crate, by pulling in any additional dependencies needed by that feature. @@ -111,13 +127,15 @@ Multi-Arch: same Depends: ${misc:Depends}, librust-proxmox-tfa-dev (= ${binary:Version}), + librust-base64-0.13+default-dev, librust-libc-0.2+default-dev (>= 0.2.107-~~), + librust-openssl-0.10+default-dev, librust-serde-1+derive-dev, librust-serde-json-1+default-dev Provides: librust-proxmox-tfa-4+u2f-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0+u2f-dev (= ${binary:Version}), - librust-proxmox-tfa-4.0.5+u2f-dev (= ${binary:Version}) + librust-proxmox-tfa-4.1+u2f-dev (= ${binary:Version}), + librust-proxmox-tfa-4.1.0+u2f-dev (= ${binary:Version}) Description: Tfa implementation for totp and u2f - feature "u2f" This metapackage enables feature "u2f" for the Rust proxmox-tfa crate, by pulling in any additional dependencies needed by that feature.