From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6PbYM00hvWS0dgEASxT56A (envelope-from ) for ; Sun, 23 Jul 2023 14:47:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uH+FM00hvWTNiAAAauVa8A (envelope-from ) for ; Sun, 23 Jul 2023 14:47:09 +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 576BE4CC07 for ; Sun, 23 Jul 2023 14:47:09 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690116429; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=OhsD+q+OiHwhoAb9yWtueV+kYbQWkuJ67nVq/541g/4=; b=H8LsGeOWaXEm3Atms2/Hdbmipo74c6pe8wHNj2Sr1lUvVNDuDjHJJbbGK32EZDCew9Upi7 OUismznW60Ym6saMpZWOpenCsMYhN+W1vzYuzCh/hh/13baNELAcCOdYi3oI50e8T5pojE x/XwIv6cSQcsPjTAhsgnZLRhodriRzBdmGY4vkCBjiloVjBI+y4Y94ix3QL7JU3RrFmwdZ EqPusLcqGkDlQ+Sdm7w9mXjwur1OtQr3rHDLoSiI9o7PVVt64vU+0r4lqyoQJQrq2tXWpl 9J/mdvgFH+T+njtRsdC9OYpq8vV51/wG1ntkyfUqRvsWikQmyJqgZ4XmO4dTSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690116429; a=rsa-sha256; cv=none; b=IABw4Pao4F/PKw3UlVzQimctghNFwxfIRAeLlJu8t7ujcX+C6IBVG9zzlpdOHF0gWgkwU5 3Ietj2tuktmg65uquMILw+awFVetW/jnXJ196AuvQ5NZsQvzCIveSKzPkcRIr/jbvI126v GPjWqw10KxcMAnmTC6pgBMPnLsB7Fy3y/nzatvggx2QRXBcb9KxcHL9J/NdRGOKKztimsi 37Y8n8ZOEx0ITSVT8sk3ksK9IJplqSw9x+JsrRUZfeNi1JGHmxt5SyiypxidAJYByk7UgH 2BYpXH45gYpcoWOnqslyP+vMzl2DwxQaFSuO5hGk1u645XsHjgjXlX2Tukgccw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNYU1-0008N6-MY; Sun, 23 Jul 2023 08:46:45 -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 1qNYTz-0008Mq-00 for help-guix@gnu.org; Sun, 23 Jul 2023 08:46:43 -0400 Received: from mout.kundenserver.de ([212.227.126.135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNYTu-0003VM-VW for help-guix@gnu.org; Sun, 23 Jul 2023 08:46:42 -0400 Received: from hermia.goebel-consult.de ([87.176.129.227]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MmUcL-1pfNxT1d0D-00iQ8B for ; Sun, 23 Jul 2023 14:46:34 +0200 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id E8CB75F5F5 for ; Sun, 23 Jul 2023 14:46:31 +0200 (CEST) Message-ID: <63db4221-1b21-f9fb-f121-c3df6f211fe3@crazy-compilers.com> Date: Sun, 23 Jul 2023 14:46:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: Packaging a rust program with a lot of crates Content-Language: de-DE, en-US To: help-guix@gnu.org References: <20230715160656.0120f6d4.koszko@koszko.org> From: Hartmut Goebel Organization: crazy-compilers.com In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:z1qlziq0T4E5PCSuvpzNKt+G4rB1s7TBOz5l+c7JxS7kXzQ3Qtk Bnoj2CofQzxsVtJhPrZEAq6ThqUJ4vKgaojS/AzyotBHWR3MHnqvIe42G1kj+LHI54nJVYu ufhrDQbCRMLw9URwnh+Y0MuHufILD9XcT7VUrSL+7A/FVrrKi0Fz5mpfCMX0LDJBxC+jz7A VEdmyHbzf90ElDry+M1GQ== UI-OutboundReport: notjunk:1;M01:P0:redN6+tsVvE=;j3GPu06lKxxEn1SkS3ymXKbGRah X6b6uuslhrDoFqiQLg/PQmPE8RhiqRpqQu/rc2SAZygNc+kKW73EV/SBDyuHvGCMZZDLAc/SJ w7pTzUUbSogiV3OxD5Ayz7Do94kbNKJqAAdtDHZ1Y0qjPzFe/nKzJvUvsyE0PSLAShI5oVUoS Jd8ROAInCTErqH1hyVazrO3v4bqG5e9qfCLVvge0QuYGuIULGisQSDXDjQqrAyBByUP4gnmHU 6935C+Ba+sidF0CZz3y5s9rcCjcQAcAprkLVETd0M3DFfT6vXRJGSM3T3Whx+LEnhjZEMWvse UyRHR4nvlQfjAGQnHpjYRT3QcAZhL4kCnl+CCl+O+h62U0ziYaxHatUnrfzaXtT1tpdr/93/A kYVK70j4IGE1t4gk0vOi6vn2a5VxmJyKsFi3Ljx4kwj1lcAb8nNJKOJnWRqHCH0vRgzxKI2XA 7wVwaS7PYn8nEC9eXSfHXU6XOgh+TdhymA62YfLH5fb+CKbq9l7yGrUjSktVEY4L18Vd8cxh6 OlMehI6HpUDV83W/+MDKmvS01NMeP+FIjo9/9WdaogokLbZMXFtrHMzI58SlD++i9JDXph13X x+ij8b7DzGR+fHqkrZqkiL6MRHDh46XG8PxJ7I0B0YnRlpeqaHrfgZ9WqYvg8fxBvoxP3c0nf BI+VHr5Pu/G6muNwDMiGVNADPBvxU6uW0ZIRNtLdyg== Received-SPF: pass client-ip=212.227.126.135; envelope-from=h.goebel@crazy-compilers.com; helo=mout.kundenserver.de X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.093, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -5.81 X-Migadu-Queue-Id: 576BE4CC07 X-Migadu-Spam-Score: -5.81 X-Migadu-Scanner: mx0.migadu.com X-TUID: rTSldVR345oY Am 15.07.23 um 17:10 schrieb Paul Collignan: > It is a little bit different for Rust packages, as described in the documentation: > "In the rust ecosystem it is common for multiple incompatible versions of a package to be used at any given time, so all package definitions should have a versioned suffix. The versioned suffix is the left-most non-zero digit" > If I understand this correctly, one should keep all packages from 0.1 to 0.46 (for example, if the versions are numbered like this). But from 1.1 to 1.46 you only keep the last one. This is correct. Anyhow, please keep in mind that the variable name for the 1.x package will stay "some-crate-1". This follows the idea of semantic versioning, which rust follows. -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |