proxmox/Cargo.toml
Fabian Grünbichler 4ec9a8183d add new proxmox-subscription crate
taking over slighlty generified helpers and types:
- subscription info and status
- checking subscription status with shop
- reading/writing local subscription-related files

the perl-based code uses base64 with newlines for the data, and base64
without padding for the checksum. accordingly, calculate the checksum
with and without newlines, and compare the decoded checksum instead of
the encoded one.

furthermore, the perl-based code encodes the subscription status using
Capitalized values instead of lowercase, so alias those for the time
being.

PVE also stores the serverid as 'validdirectory', so add that as alias
as well.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-07-19 15:20:36 +02:00

26 lines
489 B
TOML

[workspace]
members = [
"proxmox-api-macro",
"proxmox-async",
"proxmox-borrow",
"proxmox-compression",
"proxmox-http",
"proxmox-io",
"proxmox-lang",
"proxmox-metrics",
"proxmox-router",
"proxmox-schema",
"proxmox-serde",
"proxmox-shared-memory",
"proxmox-section-config",
"proxmox-sortable-macro",
"proxmox-subscription",
"proxmox-sys",
"proxmox-tfa",
"proxmox-time",
"proxmox-uuid",
]
exclude = [
"build",
]