diff options
Diffstat (limited to 'bitbake/doc')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst | 16 |
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 | ||
689 | It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable. | 689 | It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable. |
690 | 690 | ||
691 | Crate Fetcher (``crate://``) | ||
692 | ---------------------------- | ||
693 | |||
694 | This submodule fetches code for | ||
695 | `Rust language "crates" <https://doc.rust-lang.org/reference/glossary.html?highlight=crate#crate>`__ | ||
696 | corresponding to Rust libraries and programs to compile. Such crates are typically shared | ||
697 | on https://crates.io/ but this fetcher supports other crate registries too. | ||
698 | |||
699 | The format for the :term:`SRC_URI` setting must be:: | ||
700 | |||
701 | SRC_URI = "crate://REGISTRY/NAME/VERSION" | ||
702 | |||
703 | Here is an example URL:: | ||
704 | |||
705 | SRC_URI = "crate://crates.io/glob/0.2.11" | ||
706 | |||
691 | Other Fetchers | 707 | Other Fetchers |
692 | -------------- | 708 | -------------- |
693 | 709 | ||