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

An extra benefit of workspaces is that they allow to place lint level settings in a single Cargo.toml; the settings are then inherited by packages in the workspace. Correspondingly, teach rustc_args.py to get the unexpected_cfgs configuration from the workspace Cargo.toml. Note that it is still possible to allow or deny warnings per crate or module, via the #![] attribute syntax. The rust/qemu-api/src/bindings.rs file is an example. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
26 lines
610 B
TOML
26 lines
610 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" }
|
|
|
|
[lints]
|
|
workspace = true
|