Go to file
Dietmar Maurer d014c6f2d1 CliCommandMap: add usage_skip_options to suppress options in generate_usage_str()
This is useful for commands where sub-commands all takes the same options.
You can supress them in the generated manual pages (printdoc), and instead
document them somewhere else.
2021-02-05 12:37:11 +01:00
.cargo cargo: switch to use packaged crates by default 2020-01-03 09:39:52 +01:00
proxmox CliCommandMap: add usage_skip_options to suppress options in generate_usage_str() 2021-02-05 12:37:11 +01:00
proxmox-api-macro api-macro: pull in 'extra-traits' feature from syn 2021-02-04 13:11:34 +01:00
proxmox-sortable-macro debcargo: fix maintainer directive 2021-02-01 11:26:33 +01:00
.gitignore ignore member crate target dirs as well 2021-02-03 11:18:34 +01:00
build.sh build: track d/control in git 2020-11-30 15:13:01 +01:00
Cargo.toml merge api, sys and tools into proxmox directly 2020-01-21 12:15:42 +01:00
Makefile build: add autopkgtest target 2021-01-14 14:23:45 +01:00
README.rst README: Remove 'Versioning', add 'Steps for Releases' 2020-01-15 14:26:06 +01:00
rustfmt.toml initial import, starting with vec & io helpers 2019-06-06 14:00:25 +02:00

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`.