[bug#37323,2/2] updated import crate docs
diff mbox series

Message ID 20190906153211.8613-2-mjbecze@riseup.net
State New
Headers show
  • [bug#37322,1/2] adds the capability of importing a specified version to the crate importer
Related show

Commit Message

Martin Becze Sept. 6, 2019, 3:32 p.m. UTC
 doc/guix.texi | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff mbox series

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:
+guix import crate rand@@0.6.5
+@end example
 @item opam
 @cindex OPAM