From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6C7ELiDBQmXYIAAAauVa8A:P1 (envelope-from ) for ; Wed, 01 Nov 2023 22:20:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6C7ELiDBQmXYIAAAauVa8A (envelope-from ) for ; Wed, 01 Nov 2023 22:20:32 +0100 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 A45DF59C4A for ; Wed, 1 Nov 2023 22:20:31 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector2 header.b=E1PakQy5; dmarc=pass (policy=quarantine) header.from=runbox.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698873632; a=rsa-sha256; cv=none; b=BJmdXuQRW/Pc421WH1/7N4WuHBDNEoUwaCdCqt+hyj4nxIGYA9K3p82bOrkpIOZGRIxW6U hgttzN0lf2CAJeH6GzSIFDFs8ftCze8yQlkfmTvGYaFSMg/n3F4HSyTfGzaTfTGUZr7A2R d3CUDH6v9aFQ4aVG4xWmrTinX6l+KUbbycdnVvZ/XlXjpbU/r9BUY/TADqhXLj60ctrbQH +d8tDEZEAIx5jgFGDAJP+W1T+pJnGjpKFw/vesK+o+ltd3Hjr0ZvjjlafjVDfLiiYMBBjD iQcQh8BxGOalMykS1LS6ogkYcKpqzlNcEltCgVaDojfYm3Emv97LMgt+vOqqwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698873632; 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:dkim-signature; bh=+LbPr2XdFlja+Si7M/OXA9Dft6kMTrPTEWsUc8wZyZA=; b=q66gMbq9Q3hBHOk2pO1jlPicW4wGfP60qzOYrn/GDYJgsHc89r8CYmzAYdip9CdjEv8hhx fNJKRxn0/oUig2nJVBWelrRhzVgRNFskJhZUIyeO47EVaTyZQHW+w3h85EGyQdPnE9HM9W maq+pDh5qOxunj5QgsG8ihpIhs2O5EKtPQPbd6MqVxpl/v/dy6QtIblykRSlcOEzovHak2 WKRd6dBxBBPkja6A1Os5oUwafJ0uXUQIfd1RP+1MuvblKO6QfXVBvklzdK4OfZ7NWR00ha bRc8krXrwKI2C70IbdF99pgAkVfgraoTX5GjfpnIRLO3u2rsYZPHSZSn3ChGXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector2 header.b=E1PakQy5; dmarc=pass (policy=quarantine) header.from=runbox.com; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyId5-0002SC-7p; Wed, 01 Nov 2023 17:19:59 -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 1qyIcy-0002RU-AH for guix-devel@gnu.org; Wed, 01 Nov 2023 17:19:54 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qyIcv-0000YX-Tv for guix-devel@gnu.org; Wed, 01 Nov 2023 17:19:52 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qyIcp-003JYo-0y; Wed, 01 Nov 2023 22:19:43 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID; bh=+LbPr2XdFlja+Si7M/OXA9Dft6kMTrPTEWsUc8wZyZA=; b=E1PakQy5zVGKF8ZJOHB6dk9hmy wqTEoiUCtTCmXYwhSiE2p2dqZfQ/Cv9iUtMinh0cN9dGYVAwvV2oM51EZ0tXcARiV1ugWwWSKzVEX GUiosRSTTZ6P+2/MaCgc3JSx66utQNJEZ/btNfixyRwsqYVMsN5KjGB8ZNQnx3EjxqfzHhkKKN+sC xdPabCrRDSsL38A5UmC4NxJH7nL9hU+pCyNOcpznjn6nXm8L3nFbzSxGYe7H0r8OVWVMXVQjCSXM6 +V9x4Ipp8D5VpqN+z5NJ73b+8a9cA2h5SYTk4hfv1tIynUV5qyjvPdkPDnKE4yaT8h87I+tB3Ae8W 3FqGY9DQ==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qyIco-00026S-MD; Wed, 01 Nov 2023 22:19:42 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1174703)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qyIch-00Dosa-Hr; Wed, 01 Nov 2023 22:19:35 +0100 Message-ID: Date: Wed, 1 Nov 2023 14:19:31 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: packaging Typst? [or other rust apps that have several internal crates] Content-Language: en-US To: =?UTF-8?Q?Sergio_Pastor_P=C3=A9rez?= , guix-devel@gnu.org References: From: Alexis Simon In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a0c:5a00:149::25; envelope-from=alexis.simon@runbox.com; helo=mailtransmit04.runbox.com 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -10.62 X-Migadu-Queue-Id: A45DF59C4A X-Migadu-Spam-Score: -10.62 X-TUID: WlgquzV+Xpy7 Thank you Sergio On 01/11/2023 14:04, Sergio Pastor PĂ©rez wrote: > Hi, Alexis. > > `typst` seems to use a structure that relies on multiple smaller > crates. There has been some discussions over the IRC on how this could > be packaged using the current cargo build system. Yes I asked the question there as I figured this was a more general approach to trying to figure out how to package this kind of app. I'll also add what I mentioned on irc, that packaging helix [1] would be pretty similar also. Maybe someone in the rust team would be willing to look at that and/or try to mentor me into looking at rust related packaging. > > The discussion where I participated revolved around `pathfinder` > (https://github.com/servo/pathfinder). > > Unfortunately there has not been any consensus on what could be done to > package this kind of structure. > > I'm hoping that someone has some ideas on how to approach the issue. > > Thanks. > Sergio. > > Alexis Simon writes: > >> Hi, >> >> Is anyone looking into packaging Typst (https://github.com/typst/typst)? >> >> This is a very promising Latex alternative. >> >> If no one is doing that I could try to investigate packaging it but I >> would need some help on where to start. >> This is a rust app but not available on crates.io. >> >> Thanks! >> Alexis One thing I don't really understand right now in the cargo build system is how dependencies are managed compared to other build systems. If anyone has a beginner blog post or tutorial on that please share. Cheers, Alexis [1] https://github.com/helix-editor/helix