Subject: bug#37323: closed (Re: [bug#37322] [PATCH v2 1/2] added versoining to crate import)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 09 Sep 2019 22:39:02 +0000

Your bug report

#37322: [PATCH 2/2] updated import crate docs

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
37322: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37322
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#37322] [PATCH v2 1/2] added versoining to crate import
From: Ludovic Courtès <[email-masked]>
To: Martin Becze <[email-masked]>
Cc: [email-masked]
Date: Tue, 10 Sep 2019 00:38:50 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Martin,

Martin Becze <[email-masked]> skribis:

> ---
>  guix/import/crate.scm         | 12 +++++++++---
>  guix/scripts/import/crate.scm | 10 +++++++++-
>  2 files changed, 18 insertions(+), 4 deletions(-)

Pushed as fd63ecbe050bf8fa7c8ff0a003d56cce97b6ded1.  I tweaked quite a
few things, mostly for cosmetic reasons, and added a commit log that
follows our conventions.  Please take a look!

Thank you,
Ludo’.

Subject: [PATCH 2/2] updated import crate docs
From: Martin Becze <[email-masked]>
To: [email-masked]
Cc: Martin Becze <[email-masked]>
Date: Fri, 6 Sep 2019 11:32:11 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 doc/guix.texi | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 6d6a09b36b..5c568cf929 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -8907,8 +8907,14 @@ in Guix.
 
 @item crate
 @cindex crate
-Import metadata from the crates.io Rust package repository
-@uref{https://crates.io, crates.io}.
+Import metadata from the @uref{https://crates.io, crates.io} Rust package repository.
+
+A specific package version may optionally be specified by following the
+package name by an at-sign and a version number as in the following example:
+
+@example
+guix import crate rand@@0.6.5
+@end example
 
 @item opam
 @cindex OPAM
-- 
2.23.0