summaryrefslogtreecommitdiffstats
path: root/bitbake/doc
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-03-07 11:26:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-08 09:45:57 +0000
commit2d559fca130fb499d2fa0be0974ddab0289c627f (patch)
tree591f8e50a4e1a756cda379910babee18382b45b6 /bitbake/doc
parentbf707d4431c83fea0c2a04872a3f966782f7a6d0 (diff)
downloadpoky-2d559fca130fb499d2fa0be0974ddab0289c627f.tar.gz
bitbake: bitbake-user-manual: add "crate" fetcher
(Bitbake rev: cca1533e9a684bef8b27130c42abcd1125332038) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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