You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cargo.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ A rule for bootstrapping a Rust binary using [Cargo](https://doc.rust-lang.org/c
32
32
| <aid="cargo_bootstrap_repository-repo_mapping"></a>repo_mapping | A dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<p>For example, an entry <code>"@foo": "@bar"</code> declares that, for any time this repository depends on <code>@foo</code> (such as a dependency on <code>@foo//some:target</code>, it should actually resolve that dependency within globally-declared <code>@bar</code> (<code>@bar//some:target</code>). | <ahref="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a> | required ||
33
33
| <aid="cargo_bootstrap_repository-rust_toolchain_repository_template"></a>rust_toolchain_repository_template | The template to use for finding the host <code>rust_toolchain</code> repository. <code>{version}</code> (eg. '1.53.0'), <code>{triple}</code> (eg. 'x86_64-unknown-linux-gnu'), <code>{system}</code> (eg. 'darwin'), and <code>{arch}</code> (eg. 'aarch64') will be replaced in the string if present. | String | optional | "rust_{system}_{arch}" |
34
34
| <aid="cargo_bootstrap_repository-srcs"></a>srcs | Souce files of the crate to build. Passing source files here can be used to trigger rebuilds when changes are made | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
35
-
| <aid="cargo_bootstrap_repository-version"></a>version | The version of cargo the resolver should use | String | optional | "1.55.0" |
35
+
| <aid="cargo_bootstrap_repository-version"></a>version | The version of cargo the resolver should use | String | optional | "1.56.0" |
Copy file name to clipboardExpand all lines: docs/crate_universe.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ Environment Variables:
162
162
| <aid="crate_universe-rust_toolchain_repository_template"></a>rust_toolchain_repository_template | The template to use for finding the host <code>rust_toolchain</code> repository. <code>{version}</code> (eg. '1.53.0'), <code>{triple}</code> (eg. 'x86_64-unknown-linux-gnu'), <code>{system}</code> (eg. 'darwin'), and <code>{arch}</code> (eg. 'aarch64') will be replaced in the string if present. | String | optional | "rust_{system}_{arch}" |
163
163
| <aid="crate_universe-sha256s"></a>sha256s | The sha256 checksum of the desired rust artifacts | <ahref="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a> | optional | {} |
164
164
| <aid="crate_universe-supported_targets"></a>supported_targets | A list of supported [platform triples](https://doc.rust-lang.org/nightly/rustc/platform-support.html) to consider when resoliving dependencies. | List of strings | optional |["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"]|
165
-
| <aid="crate_universe-version"></a>version | The version of cargo the resolver should use | String | optional | "1.55.0" |
165
+
| <aid="crate_universe-version"></a>version | The version of cargo the resolver should use | String | optional | "1.56.0" |
Copy file name to clipboardExpand all lines: docs/flatten.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ A rule for bootstrapping a Rust binary using [Cargo](https://doc.rust-lang.org/c
93
93
| <aid="cargo_bootstrap_repository-repo_mapping"></a>repo_mapping | A dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<p>For example, an entry <code>"@foo": "@bar"</code> declares that, for any time this repository depends on <code>@foo</code> (such as a dependency on <code>@foo//some:target</code>, it should actually resolve that dependency within globally-declared <code>@bar</code> (<code>@bar//some:target</code>). | <ahref="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a> | required ||
94
94
| <aid="cargo_bootstrap_repository-rust_toolchain_repository_template"></a>rust_toolchain_repository_template | The template to use for finding the host <code>rust_toolchain</code> repository. <code>{version}</code> (eg. '1.53.0'), <code>{triple}</code> (eg. 'x86_64-unknown-linux-gnu'), <code>{system}</code> (eg. 'darwin'), and <code>{arch}</code> (eg. 'aarch64') will be replaced in the string if present. | String | optional | "rust_{system}_{arch}" |
95
95
| <aid="cargo_bootstrap_repository-srcs"></a>srcs | Souce files of the crate to build. Passing source files here can be used to trigger rebuilds when changes are made | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
96
-
| <aid="cargo_bootstrap_repository-version"></a>version | The version of cargo the resolver should use | String | optional | "1.55.0" |
96
+
| <aid="cargo_bootstrap_repository-version"></a>version | The version of cargo the resolver should use | String | optional | "1.56.0" |
97
97
98
98
99
99
<aid="#crate_universe"></a>
@@ -139,7 +139,7 @@ Environment Variables:
139
139
| <aid="crate_universe-rust_toolchain_repository_template"></a>rust_toolchain_repository_template | The template to use for finding the host <code>rust_toolchain</code> repository. <code>{version}</code> (eg. '1.53.0'), <code>{triple}</code> (eg. 'x86_64-unknown-linux-gnu'), <code>{system}</code> (eg. 'darwin'), and <code>{arch}</code> (eg. 'aarch64') will be replaced in the string if present. | String | optional | "rust_{system}_{arch}" |
140
140
| <aid="crate_universe-sha256s"></a>sha256s | The sha256 checksum of the desired rust artifacts | <ahref="https://bazel.build/docs/skylark/lib/dict.html">Dictionary: String -> String</a> | optional | {} |
141
141
| <aid="crate_universe-supported_targets"></a>supported_targets | A list of supported [platform triples](https://doc.rust-lang.org/nightly/rustc/platform-support.html) to consider when resoliving dependencies. | List of strings | optional |["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"]|
142
-
| <aid="crate_universe-version"></a>version | The version of cargo the resolver should use | String | optional | "1.55.0" |
142
+
| <aid="crate_universe-version"></a>version | The version of cargo the resolver should use | String | optional | "1.56.0" |
143
143
144
144
145
145
<aid="#error_format"></a>
@@ -1782,7 +1782,7 @@ See `load_arbitrary_tool` in `@rules_rust//rust:repositories.bzl` for more detai
| <aid="rust_repositories-version"></a>version | The version of Rust. Either "nightly", "beta", or an exact version. Defaults to a modern version. | <code>"1.55.0"</code> |
1785
+
| <aid="rust_repositories-version"></a>version | The version of Rust. Either "nightly", "beta", or an exact version. Defaults to a modern version. | <code>"1.56.0"</code> |
1786
1786
| <aid="rust_repositories-iso_date"></a>iso_date | The date of the nightly or beta release (ignored if the version is a specific version). | <code>None</code> |
1787
1787
| <aid="rust_repositories-rustfmt_version"></a>rustfmt_version | The version of rustfmt. Either "nightly", "beta", or an exact version. Defaults to <code>version</code> if not specified. | <code>None</code> |
1788
1788
| <aid="rust_repositories-edition"></a>edition | The rust edition to be used by default (2015, 2018 (default), or 2021) | <code>None</code> |
| <aid="rust_repositories-version"></a>version | The version of Rust. Either "nightly", "beta", or an exact version. Defaults to a modern version. | <code>"1.55.0"</code> |
200
+
| <aid="rust_repositories-version"></a>version | The version of Rust. Either "nightly", "beta", or an exact version. Defaults to a modern version. | <code>"1.56.0"</code> |
201
201
| <aid="rust_repositories-iso_date"></a>iso_date | The date of the nightly or beta release (ignored if the version is a specific version). | <code>None</code> |
202
202
| <aid="rust_repositories-rustfmt_version"></a>rustfmt_version | The version of rustfmt. Either "nightly", "beta", or an exact version. Defaults to <code>version</code> if not specified. | <code>None</code> |
203
203
| <aid="rust_repositories-edition"></a>edition | The rust edition to be used by default (2015, 2018 (default), or 2021) | <code>None</code> |
0 commit comments