mirror of
git://git.proxmox.com/git/proxmox-backup-qemu.git
synced 2025-03-12 04:58:26 +03:00
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>
This commit is contained in:
parent
73a09e9672
commit
b68750a609
@ -16,13 +16,13 @@ build = "build.rs"
|
||||
crate-type = ['lib', 'cdylib', 'staticlib']
|
||||
|
||||
[build-dependencies]
|
||||
cbindgen = "0.24.0"
|
||||
cbindgen = "0.26.0"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
bytes = "1.0"
|
||||
# only so cargo-fairy picks it up..
|
||||
cbindgen = "0.24.0"
|
||||
cbindgen = "0.26.0"
|
||||
futures = "0.3"
|
||||
hex = "0.4.3"
|
||||
h2 = { version = "0.3", features = [ "stream" ] }
|
||||
|
1
build.rs
1
build.rs
@ -19,6 +19,7 @@ fn main() {
|
||||
.with_crate(&crate_dir)
|
||||
.with_header(header)
|
||||
.with_include_guard("PROXMOX_BACKUP_QEMU_H")
|
||||
.exclude_item("wakeup_callback")
|
||||
.generate()
|
||||
.unwrap()
|
||||
.write_to_file("proxmox-backup-qemu.h");
|
||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -11,7 +11,7 @@ Build-Depends: cargo:native,
|
||||
librust-bincode-1+default-dev,
|
||||
librust-bitflags-1+default-dev (>= 1.2.1-~~),
|
||||
librust-bytes-1+default-dev,
|
||||
librust-cbindgen-0.24+default-dev,
|
||||
librust-cbindgen-0.26+default-dev,
|
||||
librust-crc32fast-1+default-dev,
|
||||
librust-endian-trait-0.6+arrays-dev,
|
||||
librust-endian-trait-0.6+default-dev,
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit a8f60bd1287b7b2c7e50d3f7e1def79a01a1babc
|
||||
Subproject commit 6ee22cdd41c6577051f729ed3efd2a9a88e8d262
|
Loading…
x
Reference in New Issue
Block a user