From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: rust: Crate Dependencies Date: Thu, 29 Dec 2016 20:10:05 +0000 Message-ID: <87vau25wf6.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> References: <20161228155134.3dedfd06@scratchpost.org> <20161229121255.750fa1e3@scratchpost.org> <87k2ai6hko.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMh1K-0001wW-TJ for guix-devel@gnu.org; Thu, 29 Dec 2016 15:09:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMh1G-0004zH-9u for guix-devel@gnu.org; Thu, 29 Dec 2016 15:09:50 -0500 Received: from aibo.runbox.com ([91.220.196.211]:49951) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cMh1G-0004yQ-2Q for guix-devel@gnu.org; Thu, 29 Dec 2016 15:09:46 -0500 In-Reply-To: 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel@gnu.org David Craven writes: >> Same here for libc crate after the update, but I guess that's >> because cargo is currently packaged and used from the bootstrap >> rust, which is dated one version before the actual rustc you can >> use now, so 0.13.0 cargo and 0.14.0 rustc. > > I submitted some experimental patches to the ML which fix this. Thanks, I will try them out next week. > Since you have I assume a web application that is written in rust, and > you want to deploy it using guixsd, I think that vendoring the > dependencies like the example cargo package is what you should do. The > goal of using guixsd is fixing the deployment problem. If you vendor > your dependencies and deploy your application like the example cargo > package you should get an environment that is controlled 100% by your > company. Would be awesome to see some real commercial webapps deployed > using guixsd! I don't really get the "vendoring" term, but I will when I look at the cargo package and its source. To give context to my packaging, it is for the current secushare (see secushare.org or its .onion) prototype. This is not a web application (I understand web application as something which runs just in the browser), it's an extendable application using GNUnet and PSYC2, more or less a social network (and more). If I remember correctly, we do not bundle and everything which might currently be bundled is because of rusts limitations in some parts. And even then, this is nothing intended to be packaged publicly at the present state ("prototype"), but what I do work on this will get integrated into GuixSD (secushare+gnunet live-system). -- ♥Ⓐ ng0 PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org