Commit Graph

10 Commits

Author SHA1 Message Date
Wolfgang Bumiller
3adc6a1787 warnings and clippy fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-01-05 10:44:00 +01:00
Fabian Grünbichler
b68750a609 update to current PBS and cbindgen
cbindgen still requires syn 1.x unfortunately, the new version picks up
wakeup_callback which we don't actually need in our interface, so exclude it at
least until the next bump happens for other reasons.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-10-03 12:00:41 +02:00
Wolfgang Bumiller
8fc821f8fd rustfmt
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-04-26 13:48:44 +02:00
Stefan Reiter
f93eb14256 return version via rust fn instead of header define
Otherwise the string gets included in the QEMU binary, not the library.

Suggested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2020-11-25 08:27:29 +01:00
Stefan Reiter
2eb96573b8 include crate version and git rev in header file
...so we can get the library version a binary is currently running with.

Version information is retrieved from the build environment (set by
cargo/make) and appended using 'with_after_include' to appear within the
include guard.

The version string in current-api.h is inconsequential, so ignore it in
diff. This way we only have to re-commit that file whenever the *actual*
API changes, not the version.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>

modified to avoid spawning subcommands

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-11-11 15:22:35 +01:00
Dietmar Maurer
3e5db190ca avoid extra worker thread and command channel 2020-07-01 10:29:15 +02:00
Dietmar Maurer
d648f6dcee build.rs: .with_include_guard("PROXMOX_BACKUP_QEMU_H") 2020-03-10 11:21:16 +01:00
Dietmar Maurer
536e728645 improve docs 2019-10-15 15:16:07 +02:00
Dietmar Maurer
253746c5ec connectly install .so file, set soname 2019-09-13 11:59:41 +02:00
Dietmar Maurer
7c860d1c77 initial commit 2019-09-11 10:35:41 +02:00