summaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/functions/_build_target_base.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/yaml/functions/_build_target_base.yaml b/docs/yaml/functions/_build_target_base.yaml
index 8b169c8f7..abc5bf94a 100644
--- a/docs/yaml/functions/_build_target_base.yaml
+++ b/docs/yaml/functions/_build_target_base.yaml
@@ -302,3 +302,13 @@ kwargs:
"proc-macro" is a special rust procedural macro crate.
"proc-macro" is new in 0.62.0.
+
+ rust_dependency_map:
+ type: dict[str]
+ since: 1.2.0
+ description: |
+ On rust targets this provides a map of library names to the crate name
+ with which it would be available inside the rust code.
+
+ This allows renaming similar to the dependency renaming feature of cargo
+ or `extern crate foo as bar` inside rust code.