mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-02 12:11:40 +00:00
![]() References to external schemas (or types) already include the description in the external schema and therefore are illegal. The implementation consists of multiple parts: * Introduce a `Maybe` type which can be `Explicit`, `Derived` or `None`. * Forbid `Explicit` descriptions on references. * Instead of bailing out on such errors which causes all of the generated code to vanish and create heaps of additional nonsensical errors, add a way to *add* errors without bailing out immediately via the `error!()` macro. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> |
||
---|---|---|
.cargo | ||
proxmox | ||
proxmox-api-macro | ||
proxmox-sortable-macro | ||
.gitignore | ||
build.sh | ||
Cargo.toml | ||
Makefile | ||
README.rst | ||
rustfmt.toml |
Local cargo config ================== This repository ships with a ``.cargo/config`` that replaces the crates.io registry with packaged crates located in ``/usr/share/cargo/registry``. A similar config is also applied building with dh_cargo. Cargo.lock needs to be deleted when switching between packaged crates and crates.io, since the checksums are not compatible. To reference new dependencies (or updated versions) that are not yet packaged, the dependency needs to point directly to a path or git source. Steps for Releases ================== - Cargo.toml updates: - Bump all modified crate versions. - Update all the other crates' Cargo.toml to depend on the new versions if required, then bump their version as well if not already done. - Update debian/changelog files in all the crates updated above. - Build packages with `make deb`.