Go to file
Wolfgang Bumiller ccc6924e6a formatting fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-21 11:28:12 +01:00
.cargo cargo: switch to use packaged crates by default 2020-01-03 09:39:52 +01:00
proxmox bump sys crate 2020-01-16 11:36:41 +01:00
proxmox-api formatting fixup 2020-01-21 11:28:12 +01:00
proxmox-api-macro macro: silence some warnings in tests 2020-01-15 14:10:58 +01:00
proxmox-sortable-macro build: switch to debcargo 2020-01-15 12:02:47 +01:00
proxmox-sys sys: double-parse fixup 2020-01-17 13:32:21 +01:00
proxmox-tools bump package versions 2020-01-15 15:39:47 +01:00
.gitignore add Cargo.lock to .gitignore 2020-01-15 17:10:13 +01:00
build.sh build.sh: point to system compiler via rust-toolchain 2020-01-15 16:25:14 +01:00
Cargo.toml build: switch to debcargo 2020-01-15 12:02:47 +01:00
Makefile explicitly run 'cargo +nightly fmt' 2020-01-16 10:43:00 +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`.