mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 05:35:39 +00:00
Move raw FFI bindings generation to separate crates. This makes it possible to reuse bindgen declarations for a header file in its dependencies (this was not the case before this change), while keeping multiple -sys crates to avoid rebuilding all the code whenever something changes. Because the -sys crates are generated in dependency order, this also enforces that the crates are organized in something that resembles the dependencies between C headers. The meson.build for rust-safe crates becomes simpler, and it should be possible in the future to let Meson's cargo support handle most of it. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> [General cleanup and Python script. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
25 lines
517 B
TOML
25 lines
517 B
TOML
[package]
|
|
name = "util"
|
|
version = "0.1.0"
|
|
description = "Rust bindings for QEMU/util"
|
|
resolver = "2"
|
|
publish = false
|
|
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
foreign = { workspace = true }
|
|
glib-sys = { workspace = true }
|
|
libc = { workspace = true }
|
|
common = { path = "../common" }
|
|
util-sys = { path = "../bindings/util-sys" }
|
|
|
|
[lints]
|
|
workspace = true
|