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>
547 lines
11 KiB
TOML
547 lines
11 KiB
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
version = 4
|
|
|
|
[[package]]
|
|
name = "anyhow"
|
|
version = "1.0.98"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
|
|
|
|
[[package]]
|
|
name = "arbitrary-int"
|
|
version = "1.2.7"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "c84fc003e338a6f69fbd4f7fe9f92b535ff13e9af8997f3b14b6ddff8b1df46d"
|
|
|
|
[[package]]
|
|
name = "attrs"
|
|
version = "0.2.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "2a207d40f43de65285f3de0509bb6cb16bc46098864fce957122bbacce327e5f"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "bilge"
|
|
version = "0.2.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "dc707ed8ebf81de5cd6c7f48f54b4c8621760926cdf35a57000747c512e67b57"
|
|
dependencies = [
|
|
"arbitrary-int",
|
|
"bilge-impl",
|
|
]
|
|
|
|
[[package]]
|
|
name = "bilge-impl"
|
|
version = "0.2.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "feb11e002038ad243af39c2068c8a72bcf147acf05025dcdb916fcc000adb2d8"
|
|
dependencies = [
|
|
"itertools",
|
|
"proc-macro-error",
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "bits"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"qemu_macros",
|
|
]
|
|
|
|
[[package]]
|
|
name = "bql"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"glib-sys",
|
|
"util-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "cfg-expr"
|
|
version = "0.20.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "1a2c5f3bf25ec225351aa1c8e230d04d880d3bd89dea133537dafad4ae291e5c"
|
|
dependencies = [
|
|
"smallvec",
|
|
"target-lexicon",
|
|
]
|
|
|
|
[[package]]
|
|
name = "chardev"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"bql",
|
|
"chardev-sys",
|
|
"common",
|
|
"glib-sys",
|
|
"migration",
|
|
"qom",
|
|
"util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "chardev-sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"common",
|
|
"glib-sys",
|
|
"qom-sys",
|
|
"util-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "common"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc",
|
|
"qemu_macros",
|
|
]
|
|
|
|
[[package]]
|
|
name = "either"
|
|
version = "1.12.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b"
|
|
|
|
[[package]]
|
|
name = "equivalent"
|
|
version = "1.0.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
|
|
[[package]]
|
|
name = "foreign"
|
|
version = "0.3.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "17ca1b5be8c9d320daf386f1809c7acc0cb09accbae795c2001953fa50585846"
|
|
dependencies = [
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "glib-sys"
|
|
version = "0.21.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d09d3d0fddf7239521674e57b0465dfbd844632fec54f059f7f56112e3f927e1"
|
|
dependencies = [
|
|
"libc",
|
|
"system-deps",
|
|
]
|
|
|
|
[[package]]
|
|
name = "hashbrown"
|
|
version = "0.16.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d"
|
|
|
|
[[package]]
|
|
name = "heck"
|
|
version = "0.5.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
|
|
[[package]]
|
|
name = "hpet"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"bql",
|
|
"common",
|
|
"hwcore",
|
|
"migration",
|
|
"qom",
|
|
"system",
|
|
"trace",
|
|
"util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "hwcore"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"bql",
|
|
"chardev",
|
|
"common",
|
|
"glib-sys",
|
|
"hwcore-sys",
|
|
"migration",
|
|
"qemu_macros",
|
|
"qom",
|
|
"system",
|
|
"util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "hwcore-sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"chardev-sys",
|
|
"common",
|
|
"glib-sys",
|
|
"migration-sys",
|
|
"qom-sys",
|
|
"system-sys",
|
|
"util-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "indexmap"
|
|
version = "2.11.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5"
|
|
dependencies = [
|
|
"equivalent",
|
|
"hashbrown",
|
|
]
|
|
|
|
[[package]]
|
|
name = "itertools"
|
|
version = "0.11.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
|
|
dependencies = [
|
|
"either",
|
|
]
|
|
|
|
[[package]]
|
|
name = "libc"
|
|
version = "0.2.162"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
|
|
|
|
[[package]]
|
|
name = "memchr"
|
|
version = "2.7.6"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
|
|
|
|
[[package]]
|
|
name = "migration"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"bql",
|
|
"common",
|
|
"glib-sys",
|
|
"migration-sys",
|
|
"qemu_macros",
|
|
"util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "migration-sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"common",
|
|
"glib-sys",
|
|
"util-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "pkg-config"
|
|
version = "0.3.32"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
|
|
|
|
[[package]]
|
|
name = "pl011"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"bilge",
|
|
"bilge-impl",
|
|
"bits",
|
|
"bql",
|
|
"chardev",
|
|
"common",
|
|
"glib-sys",
|
|
"hwcore",
|
|
"migration",
|
|
"qom",
|
|
"system",
|
|
"trace",
|
|
"util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "probe"
|
|
version = "0.5.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "136558b6e1ebaecc92755d0ffaf9421f519531bed30cc2ad23b22cb00965cc5e"
|
|
|
|
[[package]]
|
|
name = "proc-macro-error"
|
|
version = "1.0.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
|
|
dependencies = [
|
|
"proc-macro-error-attr",
|
|
"proc-macro2",
|
|
"quote",
|
|
"version_check",
|
|
]
|
|
|
|
[[package]]
|
|
name = "proc-macro-error-attr"
|
|
version = "1.0.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"version_check",
|
|
]
|
|
|
|
[[package]]
|
|
name = "proc-macro2"
|
|
version = "1.0.95"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
|
|
dependencies = [
|
|
"unicode-ident",
|
|
]
|
|
|
|
[[package]]
|
|
name = "qemu_macros"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"attrs",
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "qom"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"bql",
|
|
"common",
|
|
"glib-sys",
|
|
"migration",
|
|
"qemu_macros",
|
|
"qom-sys",
|
|
"util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "qom-sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"glib-sys",
|
|
"util-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "quote"
|
|
version = "1.0.36"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde"
|
|
version = "1.0.226"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0dca6411025b24b60bfa7ec1fe1f8e710ac09782dca409ee8237ba74b51295fd"
|
|
dependencies = [
|
|
"serde_core",
|
|
"serde_derive",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_core"
|
|
version = "1.0.226"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "ba2ba63999edb9dac981fb34b3e5c0d111a69b0924e253ed29d83f7c99e966a4"
|
|
dependencies = [
|
|
"serde_derive",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_derive"
|
|
version = "1.0.226"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "8db53ae22f34573731bafa1db20f04027b2d25e02d8205921b569171699cdb33"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_spanned"
|
|
version = "0.6.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3"
|
|
dependencies = [
|
|
"serde",
|
|
]
|
|
|
|
[[package]]
|
|
name = "smallvec"
|
|
version = "1.15.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
|
|
|
|
[[package]]
|
|
name = "syn"
|
|
version = "2.0.104"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"unicode-ident",
|
|
]
|
|
|
|
[[package]]
|
|
name = "system"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"bql",
|
|
"common",
|
|
"glib-sys",
|
|
"migration",
|
|
"qom",
|
|
"system-sys",
|
|
"util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "system-deps"
|
|
version = "7.0.5"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "e4be53aa0cba896d2dc615bd42bbc130acdcffa239e0a2d965ea5b3b2a86ffdb"
|
|
dependencies = [
|
|
"cfg-expr",
|
|
"heck",
|
|
"pkg-config",
|
|
"toml",
|
|
"version-compare",
|
|
]
|
|
|
|
[[package]]
|
|
name = "system-sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"common",
|
|
"glib-sys",
|
|
"migration-sys",
|
|
"qom-sys",
|
|
"util-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "target-lexicon"
|
|
version = "0.13.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
|
|
|
|
[[package]]
|
|
name = "tests"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"bql",
|
|
"chardev",
|
|
"common",
|
|
"hwcore",
|
|
"migration",
|
|
"qom",
|
|
"system",
|
|
"util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "toml"
|
|
version = "0.8.23"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362"
|
|
dependencies = [
|
|
"serde",
|
|
"serde_spanned",
|
|
"toml_datetime",
|
|
"toml_edit",
|
|
]
|
|
|
|
[[package]]
|
|
name = "toml_datetime"
|
|
version = "0.6.11"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c"
|
|
dependencies = [
|
|
"serde",
|
|
]
|
|
|
|
[[package]]
|
|
name = "toml_edit"
|
|
version = "0.22.27"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a"
|
|
dependencies = [
|
|
"indexmap",
|
|
"serde",
|
|
"serde_spanned",
|
|
"toml_datetime",
|
|
"winnow",
|
|
]
|
|
|
|
[[package]]
|
|
name = "trace"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc",
|
|
"probe",
|
|
]
|
|
|
|
[[package]]
|
|
name = "unicode-ident"
|
|
version = "1.0.12"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
|
|
|
[[package]]
|
|
name = "util"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"anyhow",
|
|
"common",
|
|
"foreign",
|
|
"glib-sys",
|
|
"libc",
|
|
"util-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "util-sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"glib-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "version-compare"
|
|
version = "0.2.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "852e951cb7832cb45cb1169900d19760cfa39b82bc0ea9c0e5a14ae88411c98b"
|
|
|
|
[[package]]
|
|
name = "version_check"
|
|
version = "0.9.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
|
|
|
[[package]]
|
|
name = "winnow"
|
|
version = "0.7.13"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf"
|
|
dependencies = [
|
|
"memchr",
|
|
]
|