[PATCH 2/2] updated import crate docs

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Martin Becze
Owner
unassigned
Submitted by
Martin Becze
Severity
normal
Merged with
M
M
Martin Becze wrote on 6 Sep 2019 17:32
(address . guix-patches@gnu.org)(name . Martin Becze)(address . mjbecze@riseup.net)
20190906153211.8613-2-mjbecze@riseup.net
---
doc/guix.texi | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
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
L
L
Ludovic Courtès wrote on 8 Sep 2019 14:28
control message for bug #37322
(address . control@debbugs.gnu.org)
875zm39dlv.fsf@gnu.org
merge 37322 37323
quit
?