[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37323] [PATCH 2/2] updated import crate docs
From: |
Martin Becze |
Subject: |
[bug#37323] [PATCH 2/2] updated import crate docs |
Date: |
Fri, 6 Sep 2019 11:32:11 -0400 |
---
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