From nobody Sat Nov 15 22:24:39 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=zabka.it ARC-Seal: i=1; a=rsa-sha256; t=1746221362; cv=none; d=zohomail.com; s=zohoarc; b=DHVR1aTVUpcxtIueli8WasfaypwcThxI6HBeuE8KazhUtbQibrZI/J7z7rk5+f+uD+W6UE/zyMAnWTVk3pJBoSTALNxyGOOj7M5XaMtjgYxt2+VMqDT2ykHETfLOb8ksTu9Tvb2p0wtueOaNX3KLYbxPz2/tjhZlz3vH9aS6J6A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1746221362; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=G81BfccK7MS0TBnTZXSLUThuwTkKFovrgmmnJbtd21Y=; b=YBYfoMN1JllCwt9X/qq/agomlS6RX6wyTmmky3LZwOw7XlVGBwHo0vFwr7vT7QneMDLnjQch0fLb7K+yE/l6IOpWXAIG0dp6TLjbYLb6SkbvM37odaoOHjKF181F22frblDCKN6/JpHtEHPCY0UcFSevLmnOQ6J4fm444Oaw0Ms= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1746221362136202.9209417903428; Fri, 2 May 2025 14:29:22 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uAxw1-0001xn-0F; Fri, 02 May 2025 17:28:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uAxvx-0001wo-Tz for qemu-devel@nongnu.org; Fri, 02 May 2025 17:28:38 -0400 Received: from out-172.mta1.migadu.com ([2001:41d0:203:375::ac]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uAxvv-0007pY-NM for qemu-devel@nongnu.org; Fri, 02 May 2025 17:28:37 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zabka.it; s=key1; t=1746221303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=G81BfccK7MS0TBnTZXSLUThuwTkKFovrgmmnJbtd21Y=; b=ZcqySQORLN+gZw5Tlw/4q0rMZNWH04pvErjaRkd5ZriLchxuHZp9GrSb7XnuR4JFEelP4u tBTUvFK2+niv+U0BrhYmGdZJyWr3BJZowFHLSmGaxxBtuD0Jfq+pkHNk87aa3UW6eiOl00 XbeozJv4lXnDK7iD5GOKzxXgg6hMhso= From: Stefan Zabka To: qemu-devel@nongnu.org Cc: Manos Pitsidianakis , qemu-rust@nongnu.org, Stefan Zabka Subject: [PATCH] rust: centralize config in workspace root Date: Fri, 2 May 2025 23:27:48 +0200 Message-ID: <20250502212748.124953-1-git@zabka.it> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2001:41d0:203:375::ac; envelope-from=git@zabka.it; helo=out-172.mta1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @zabka.it) X-ZM-MESSAGEID: 1746221363986019000 Content-Type: text/plain; charset="utf-8" This commit bundles common config option in the workspace root and applies them through .workspace =3D true Signed-off-by: Stefan Zabka --- rust/Cargo.toml | 7 +++++++ rust/hw/char/pl011/Cargo.toml | 11 ++++++----- rust/hw/timer/hpet/Cargo.toml | 9 ++++++--- rust/qemu-api-macros/Cargo.toml | 11 ++++++----- rust/qemu-api/Cargo.toml | 15 +++++++-------- 5 files changed, 32 insertions(+), 21 deletions(-) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index ab1185a8143..5ace47c69be 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -7,6 +7,13 @@ members =3D [ "hw/timer/hpet", ] =20 +[workspace.package] +edition =3D "2021" +homepage =3D "https://www.qemu.org" +license =3D "GPL-2.0-or-later" +repository =3D "https://gitlab.com/qemu-project/qemu/" +rust-version =3D "1.63.0" + [workspace.lints.rust] unexpected_cfgs =3D { level =3D "deny", check-cfg =3D [ 'cfg(MESON)', 'cfg(HAVE_GLIB_WITH_ALIGNED_ALLOC)', diff --git a/rust/hw/char/pl011/Cargo.toml b/rust/hw/char/pl011/Cargo.toml index f2296cad58b..a1f431ab4a3 100644 --- a/rust/hw/char/pl011/Cargo.toml +++ b/rust/hw/char/pl011/Cargo.toml @@ -1,15 +1,16 @@ [package] name =3D "pl011" version =3D "0.1.0" -edition =3D "2021" authors =3D ["Manos Pitsidianakis "] -license =3D "GPL-2.0-or-later" description =3D "pl011 device model for QEMU" resolver =3D "2" publish =3D false -keywords =3D [] -categories =3D [] -rust-version =3D "1.63.0" + +edition.workspace =3D true +homepage.workspace =3D true +license.workspace =3D true +repository.workspace =3D true +rust-version.workspace =3D true =20 [lib] crate-type =3D ["staticlib"] diff --git a/rust/hw/timer/hpet/Cargo.toml b/rust/hw/timer/hpet/Cargo.toml index 147f216e725..6f075027843 100644 --- a/rust/hw/timer/hpet/Cargo.toml +++ b/rust/hw/timer/hpet/Cargo.toml @@ -1,11 +1,14 @@ [package] name =3D "hpet" version =3D "0.1.0" -edition =3D "2021" authors =3D ["Zhao Liu "] -license =3D "GPL-2.0-or-later" description =3D "IA-PC High Precision Event Timer emulation in Rust" -rust-version =3D "1.63.0" + +edition.workspace =3D true +homepage.workspace =3D true +license.workspace =3D true +repository.workspace =3D true +rust-version.workspace =3D true =20 [lib] crate-type =3D ["staticlib"] diff --git a/rust/qemu-api-macros/Cargo.toml b/rust/qemu-api-macros/Cargo.t= oml index 89dee1cfb39..0cd40c8e168 100644 --- a/rust/qemu-api-macros/Cargo.toml +++ b/rust/qemu-api-macros/Cargo.toml @@ -1,15 +1,16 @@ [package] name =3D "qemu_api_macros" version =3D "0.1.0" -edition =3D "2021" authors =3D ["Manos Pitsidianakis "] -license =3D "GPL-2.0-or-later" description =3D "Rust bindings for QEMU - Utility macros" resolver =3D "2" publish =3D false -keywords =3D [] -categories =3D [] -rust-version =3D "1.63.0" + +edition.workspace =3D true +homepage.workspace =3D true +license.workspace =3D true +repository.workspace =3D true +rust-version.workspace =3D true =20 [lib] proc-macro =3D true diff --git a/rust/qemu-api/Cargo.toml b/rust/qemu-api/Cargo.toml index 57747bc9341..ca1b04269fd 100644 --- a/rust/qemu-api/Cargo.toml +++ b/rust/qemu-api/Cargo.toml @@ -1,18 +1,17 @@ [package] name =3D "qemu_api" version =3D "0.1.0" -edition =3D "2021" authors =3D ["Manos Pitsidianakis "] -license =3D "GPL-2.0-or-later" -readme =3D "README.md" -homepage =3D "https://www.qemu.org" description =3D "Rust bindings for QEMU" -repository =3D "https://gitlab.com/qemu-project/qemu/" +readme =3D "README.md" resolver =3D "2" publish =3D false -keywords =3D [] -categories =3D [] -rust-version =3D "1.63.0" + +edition.workspace =3D true +homepage.workspace =3D true +license.workspace =3D true +repository.workspace =3D true +rust-version.workspace =3D true =20 [dependencies] qemu_api_macros =3D { path =3D "../qemu-api-macros" } --=20 2.49.0