From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qLDMArHoeGKD+QAAbAwnHQ (envelope-from ) for ; Mon, 09 May 2022 12:10:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qBKTArHoeGIbOAEAauVa8A (envelope-from ) for ; Mon, 09 May 2022 12:10:57 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A6F92F60C for ; Mon, 9 May 2022 12:10:56 +0200 (CEST) Received: from localhost ([::1]:52560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no0Lv-0005vT-FN for larch@yhetil.org; Mon, 09 May 2022 06:10:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no0JZ-0004eW-US for guix-devel@gnu.org; Mon, 09 May 2022 06:08:30 -0400 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]:60136) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1no0JX-0007O6-LC for guix-devel@gnu.org; Mon, 09 May 2022 06:08:29 -0400 Received: from [IPv6:2a02:2c40:200:b001::1:66ec] ([IPv6:2a02:2c40:200:b001::1:66ec]) by michel.telenet-ops.be with bizsmtp id Ua8Q2700448ECPd06a8RMZ; Mon, 09 May 2022 12:08:25 +0200 Message-ID: <77d7eaa2bce1ec384bf2637ee411bbfd10314294.camel@telenet.be> Subject: Re: Packaging rust crates without compiling dependencies again for every dependent (wasting build time) From: Maxime Devos To: Efraim Flashner Cc: guix-devel@gnu.org Date: Mon, 09 May 2022 12:08:24 +0200 In-Reply-To: References: <5150e37c32f636a50574359fb0d1a3fbfc836367.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-HvNfUfo5UNxSjqWcdLkg" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1652090905; bh=aoJ3CQwynSwAWeR4xf3WhWYVCAPwvnUMRlhMfUnaiiM=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=etuTj+l/Cz4+ed6FjmysZylTGs0Q6sZXkFvNhWmAPR96PXeuj0wzK190HV0XMWXEK 1aIEQV8y+w7lo+ZYZcr+mm4AlAbZdBZ6FhfPrvbTnPrB96l9hI0S4Cjrie0Hw961Cd EDF/vbsIQOGTusj6OqzmrdvnEnooCgMsuSnnEyRPA6jWcPzwgQxEtaWIaELlLtBw3a Q6GtPeueYMClCMyRrOmDJhfd6j5K3W0A8t6maBalsO3wl3hZ4NU3bV6+uegqVZOMP9 zf4jXCrubfSgVDpXXqb4sRwuz+5EMBrFomELCwvg8cm5IGYmQYS4c4dYrgctc/svxb RMj92SUIScghQ== Received-SPF: pass client-ip=2a02:1800:110:4::f00:18; envelope-from=maximedevos@telenet.be; helo=michel.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652091056; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=aoJ3CQwynSwAWeR4xf3WhWYVCAPwvnUMRlhMfUnaiiM=; b=KRdnWODaknId37zIVBS0cD2PZAvr3VzkBs1b5EjrTSN6qxmxVnSA4+BIrzNeHlPN2Xsykf bXm58OtsxsFR7oZ2HCatrvI1fWOI23u9GNnL8+kl6jZp6ZX3OmQs3W7VuCVN/9AozuIgCD LrvlyXZsxEwxw41vPs8XdLs3emdRav3CKsPIV77dB3SrT8YfOKLnglAXVWOYyxwAB1Fh4Q w0VnhHT8Xa/stKJZR3j4opKo8re/cQA/qCxubOOLCcQCWZjqNlJTSHDnkdaban6fWEnoHA Qp8kQvVox0XCNfpEr6h7bMpSkacRdx8u8cUwBMLkTt26wNsxbFmYMyA66Wm/fQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652091056; a=rsa-sha256; cv=none; b=ppsMfKpxRQ6te+ol0kAivHjIujiCt6SZAI3dPNXWC2GSJHZ2cz5nezhMihGUAFS7JQ0BP2 +Xn1z8TDorDbQ64RyDUFAmK6u+PHNYYN/2H5mmDn2/LcHiFRG8nD9HbOeDL8KsSAhfsyC5 8aqyW1R2TQl2Y1kFgDFnMcB6b6V6NsfuGXlxq8awhbmDQfNYchjRVWmS948S61lNMiit90 Bc8WYI5f0HnGmQ027viJVOBZRuuk0N8sI3beJ+Saplhzro5yUeUO+noezrq9g+fOh2Vov8 UJXTnBG1WwZUvB2LRJ57uIOdSdOp3HhoQWHG2UVC+iJidzc9ZDZv0y8SjHdjYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b="etuTj+l/"; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -11.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b="etuTj+l/"; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A6F92F60C X-Spam-Score: -11.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: O7GRjmlaeUCU --=-HvNfUfo5UNxSjqWcdLkg Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Efraim Flashner schreef op ma 09-05-2022 om 13:02 [+0300]: > This is really really cool! Thanks for sharing it. >=20 > I noticed that there are a number of crates that you remove > unconditionally, would it help if we patched them out of the crates > that > are in Guix? This is for rust-winapi and the like? Unfortunately IIUC, that's currently not yet possible in general, because Cargo requires optional dependencies to be available, see . Unless the Cargo.toml are patched appropriately as well. (I don't know if this applies to dev-dependencies as well, or only to 'dependencies' ...) Greetings, Maxime. --=-HvNfUfo5UNxSjqWcdLkg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnjoGBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7uyvAQCBFWXERW4JW/WLhIv0PrQSXK8h zXU9ugu2H3vEWCwOnAEA7ZorkzOWUV+Yq41NB9i0UiDAuxnO1PNqjAfx6R+6RwA= =/x24 -----END PGP SIGNATURE----- --=-HvNfUfo5UNxSjqWcdLkg--