5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-06 13:18:00 +03:00
proxmox-backup/pbs-api-types
Christian Ebner a926803b92 api/api-types: refactor api endpoint version, add api types
Add a dedicated api type for the `version` api endpoint and helper
methods for supported feature comparison.
This will be used to detect api incompatibility of older hosts, not
supporting some features.

Use the new api type to refactor the version endpoint and set it as
return type.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2024-11-21 10:14:53 +01:00
..
src api/api-types: refactor api endpoint version, add api types 2024-11-21 10:14:53 +01:00
tests move api-types tests to api-types and drop vec![] macro 2024-01-10 10:13:45 +01:00
Cargo.toml api-types: remove unused lazy_static dependency 2024-08-14 12:08:01 +02:00