]> git.proxmox.com Git - proxmox.git/commit
proxmox-schema: use const_format to define static strings.
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 15 Mar 2024 11:27:29 +0000 (12:27 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 18 Mar 2024 09:19:46 +0000 (10:19 +0100)
commit0c5e2640d00024d8a37d6bb618b28437e0edc443
tree61a7d7660aaabd4cb6da8a07a28f4fb1224c6458
parentc67a13f1d7233c5621e717eb9a4222bff870e15a
proxmox-schema: use const_format to define static strings.

Macro rules are not hygienic, and current rust macro visibility rules
are a nightmare. Using const_format::concatcp!() is a much cleaner
solution.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
Cargo.toml
proxmox-schema/Cargo.toml
proxmox-schema/src/api_types.rs