mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00

Workspaces allows tracking dependencies for multiple crates at once, by having a single Cargo.lock file at the top of the rust/ tree. Because QEMU's Cargo.lock files have to be synchronized with the versions of crates in subprojects/, using a workspace avoids the need to copy over the Cargo.lock file when adding a new device (and thus a new crate) under rust/hw/. In addition, workspaces let cargo download and build dependencies just once. While right now we have one leaf crate (hw/char/pl011), this will not be the case once more devices are added. Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
23 lines
584 B
TOML
23 lines
584 B
TOML
[package]
|
|
name = "pl011"
|
|
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 = "pl011 device model for QEMU"
|
|
repository = "https://gitlab.com/epilys/rust-for-qemu"
|
|
resolver = "2"
|
|
publish = false
|
|
keywords = []
|
|
categories = []
|
|
|
|
[lib]
|
|
crate-type = ["staticlib"]
|
|
|
|
[dependencies]
|
|
bilge = { version = "0.2.0" }
|
|
bilge-impl = { version = "0.2.0" }
|
|
qemu_api = { path = "../../../qemu-api" }
|
|
qemu_api_macros = { path = "../../../qemu-api-macros" }
|