summaryrefslogtreecommitdiffstats
path: root/bitbake/doc
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/doc')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
index 77384cfdc7..9ff4e16194 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
@@ -688,6 +688,22 @@ Here is an example URL::
688 688
689It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable. 689It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable.
690 690
691Crate Fetcher (``crate://``)
692----------------------------
693
694This submodule fetches code for
695`Rust language "crates" <https://doc.rust-lang.org/reference/glossary.html?highlight=crate#crate>`__
696corresponding to Rust libraries and programs to compile. Such crates are typically shared
697on https://crates.io/ but this fetcher supports other crate registries too.
698
699The format for the :term:`SRC_URI` setting must be::
700
701 SRC_URI = "crate://REGISTRY/NAME/VERSION"
702
703Here is an example URL::
704
705 SRC_URI = "crate://crates.io/glob/0.2.11"
706
691Other Fetchers 707Other Fetchers
692-------------- 708--------------
693 709