From 2d559fca130fb499d2fa0be0974ddab0289c627f Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Mon, 7 Mar 2022 11:26:53 +0100 Subject: [PATCH] bitbake: bitbake-user-manual: add "crate" fetcher (Bitbake rev: cca1533e9a684bef8b27130c42abcd1125332038) Signed-off-by: Michael Opdenacker Reviewed-by: Quentin Schulz Signed-off-by: Richard Purdie --- .../bitbake-user-manual-fetching.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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:: It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable. +Crate Fetcher (``crate://``) +---------------------------- + +This submodule fetches code for +`Rust language "crates" `__ +corresponding to Rust libraries and programs to compile. Such crates are typically shared +on https://crates.io/ but this fetcher supports other crate registries too. + +The format for the :term:`SRC_URI` setting must be:: + + SRC_URI = "crate://REGISTRY/NAME/VERSION" + +Here is an example URL:: + + SRC_URI = "crate://crates.io/glob/0.2.11" + Other Fetchers --------------