mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-31 22:33:53 -06:00
rust: centralize config in workspace root
This commit bundles common config option in the workspace root and applies them through <config>.workspace = true Signed-off-by: Stefan Zabka <git@zabka.it> Link: https://lore.kernel.org/r/20250502212748.124953-1-git@zabka.it Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
8dc4f98100
commit
ffd5a60e9b
5 changed files with 32 additions and 21 deletions
|
@ -7,6 +7,13 @@ members = [
|
|||
"hw/timer/hpet",
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
edition = "2021"
|
||||
homepage = "https://www.qemu.org"
|
||||
license = "GPL-2.0-or-later"
|
||||
repository = "https://gitlab.com/qemu-project/qemu/"
|
||||
rust-version = "1.63.0"
|
||||
|
||||
[workspace.lints.rust]
|
||||
unexpected_cfgs = { level = "deny", check-cfg = [
|
||||
'cfg(MESON)', 'cfg(HAVE_GLIB_WITH_ALIGNED_ALLOC)',
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
[package]
|
||||
name = "pl011"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Manos Pitsidianakis <manos.pitsidianakis@linaro.org>"]
|
||||
license = "GPL-2.0-or-later"
|
||||
description = "pl011 device model for QEMU"
|
||||
resolver = "2"
|
||||
publish = false
|
||||
keywords = []
|
||||
categories = []
|
||||
rust-version = "1.63.0"
|
||||
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
crate-type = ["staticlib"]
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
[package]
|
||||
name = "hpet"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Zhao Liu <zhao1.liu@intel.com>"]
|
||||
license = "GPL-2.0-or-later"
|
||||
description = "IA-PC High Precision Event Timer emulation in Rust"
|
||||
rust-version = "1.63.0"
|
||||
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
crate-type = ["staticlib"]
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
[package]
|
||||
name = "qemu_api_macros"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Manos Pitsidianakis <manos.pitsidianakis@linaro.org>"]
|
||||
license = "GPL-2.0-or-later"
|
||||
description = "Rust bindings for QEMU - Utility macros"
|
||||
resolver = "2"
|
||||
publish = false
|
||||
keywords = []
|
||||
categories = []
|
||||
rust-version = "1.63.0"
|
||||
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
[package]
|
||||
name = "qemu_api"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Manos Pitsidianakis <manos.pitsidianakis@linaro.org>"]
|
||||
license = "GPL-2.0-or-later"
|
||||
readme = "README.md"
|
||||
homepage = "https://www.qemu.org"
|
||||
description = "Rust bindings for QEMU"
|
||||
repository = "https://gitlab.com/qemu-project/qemu/"
|
||||
readme = "README.md"
|
||||
resolver = "2"
|
||||
publish = false
|
||||
keywords = []
|
||||
categories = []
|
||||
rust-version = "1.63.0"
|
||||
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
qemu_api_macros = { path = "../qemu-api-macros" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue