bitbake-user-manual: add "crate" fetcher
PATCH RESEND v3 1/1 bitbake-user-manual: add "crate" fetcher
Signed-off-by Michael Opdenacker <[email protected]>
Reviewed-by Quentin Schulz <[email protected]>
--- .../bitbake-user-manual-fetching.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-fetching.rst +16 -0
@@ -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" <https://doc.rust-lang.org/reference/glossary.html?highlight=crate#crate>`__ +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 --------------
Signature · 1 line
2.25.1