Go to file
Wolfgang Bumiller d3ec63f26d api-macro: allow referencing external schemas in properties
Reference a predefined BACKUP_ARCHIVE_NAME StringSchema like
this:
    #[api(
        input: {
            properties: {
                archive: {
                    optional: true,
                    schema: BACKUP_ARCHIVE_NAME,
                },
            }
        }
    )]
    fn get_archive(archive: String) -> Result<(), Error> {
        ...
    }

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-12-03 11:11:46 +01:00
proxmox rename sorted-data to proxmox-sortable_macro 2019-11-21 13:10:37 +01:00
proxmox-api proxmox_api/src/format.rs - get_property_description: fix paragraph indention 2019-12-03 07:55:53 +01:00
proxmox-api-macro api-macro: allow referencing external schemas in properties 2019-12-03 11:11:46 +01:00
proxmox-sortable-macro sortable-macro: fixup handle_error 2019-11-26 14:20:30 +01:00
proxmox-sys add tools::parse submodule, move hex_nibble to it 2019-11-14 09:59:04 +01:00
proxmox-tools import the new api definitions 2019-11-21 13:30:28 +01:00
.gitignore import Cargo.lock 2019-08-09 08:44:48 +02:00
Cargo.toml delete the old api macro stuff 2019-11-21 13:13:18 +01:00
Makefile run 'cargo fmt -- --check' in check target 2019-11-25 15:08:53 +01:00
rust-toolchain update toolchain to stable 2019-11-08 11:51:21 +01:00
rustfmt.toml initial import, starting with vec & io helpers 2019-06-06 14:00:25 +02:00