bazelbuild/rules_rust (rules_rust)
### [`v0.38.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.38.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.36.2...0.38.0)
### 0.38.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-ZQGWDD5NoySV0eEAfe0HaaU0yxlcMN6jaqVPnYo/A2E=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.38.0/rules_rust-v0.38.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Switch from `sha256` to `integrity` in release notes by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2389](https://togithub.com/bazelbuild/rules_rust/pull/2389)
- Support third party crates with bzlmod by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/1910](https://togithub.com/bazelbuild/rules_rust/pull/1910)
- Replaced multiple usages of `String` with `Label`. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2363](https://togithub.com/bazelbuild/rules_rust/pull/2363)
- Fix missing .wasm output for rust_wasm_bindgen by [@alexkirsz](https://togithub.com/alexkirsz) in [https://github.com/bazelbuild/rules_rust/pull/2396](https://togithub.com/bazelbuild/rules_rust/pull/2396)
- Stringify annotation labels by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2394](https://togithub.com/bazelbuild/rules_rust/pull/2394)
- Fix name of toolchain repo by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2395](https://togithub.com/bazelbuild/rules_rust/pull/2395)
- Advertise CcInfo provider on rules by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2126](https://togithub.com/bazelbuild/rules_rust/pull/2126)
- Add test for query and cquery in the repo by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2398](https://togithub.com/bazelbuild/rules_rust/pull/2398)
- Change default Rust distribution downloads from .tar.gz to .tar.xz by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2399](https://togithub.com/bazelbuild/rules_rust/pull/2399)
- Add annotation support for transient crates. by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2392](https://togithub.com/bazelbuild/rules_rust/pull/2392)
- Allow `RustBindgen` action to get `--gcc-toolchain` from cc toolchains by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2400](https://togithub.com/bazelbuild/rules_rust/pull/2400)
- Minor cleanup of prost rules by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2397](https://togithub.com/bazelbuild/rules_rust/pull/2397)
- Fix the patch_tool annotation. by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2404](https://togithub.com/bazelbuild/rules_rust/pull/2404)
- Fix [#2402](https://togithub.com/bazelbuild/rules_rust/issues/2402): use `get_lib_name_default(lib)` instead of `lib.owner.name`. by [@thb-sb](https://togithub.com/thb-sb) in [https://github.com/bazelbuild/rules_rust/pull/2405](https://togithub.com/bazelbuild/rules_rust/pull/2405)
- Fix [#2406](https://togithub.com/bazelbuild/rules_rust/issues/2406): use codegen option `link-args` to forward `user_link_flags` in bindgen. by [@thb-sb](https://togithub.com/thb-sb) in [https://github.com/bazelbuild/rules_rust/pull/2407](https://togithub.com/bazelbuild/rules_rust/pull/2407)
- Nix Example updated `rules_nixpkgs` version and removed CI workaround. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2409](https://togithub.com/bazelbuild/rules_rust/pull/2409)
- Prep for 0.37.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2403](https://togithub.com/bazelbuild/rules_rust/pull/2403)
- Use # not / as a sed escape character by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2412](https://togithub.com/bazelbuild/rules_rust/pull/2412)
- Drop import macro by [@scentini](https://togithub.com/scentini) in [https://github.com/bazelbuild/rules_rust/pull/2411](https://togithub.com/bazelbuild/rules_rust/pull/2411)
- Fix rustfmt toolchains when consuming rules_rust with bzlmod. by [@jondo2010](https://togithub.com/jondo2010) in [https://github.com/bazelbuild/rules_rust/pull/2410](https://togithub.com/bazelbuild/rules_rust/pull/2410)
- Provide a better error message when trying to generate rust-project.json by [@jondo2010](https://togithub.com/jondo2010) in [https://github.com/bazelbuild/rules_rust/pull/2196](https://togithub.com/bazelbuild/rules_rust/pull/2196)
- Update android example to use Starlark version of android_ndk_repository by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2417](https://togithub.com/bazelbuild/rules_rust/pull/2417)
- Allow ~ in repository names by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2427](https://togithub.com/bazelbuild/rules_rust/pull/2427)
- Prepare rust rules for Starlark CcToolchainInfo. by [@buildbreaker2021](https://togithub.com/buildbreaker2021) in [https://github.com/bazelbuild/rules_rust/pull/2424](https://togithub.com/bazelbuild/rules_rust/pull/2424)
- Update rules_apple by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2436](https://togithub.com/bazelbuild/rules_rust/pull/2436)
- Prep 0.38.0 release by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2437](https://togithub.com/bazelbuild/rules_rust/pull/2437)
#### New Contributors
- [@buildbreaker2021](https://togithub.com/buildbreaker2021) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2424](https://togithub.com/bazelbuild/rules_rust/pull/2424)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.36.2...0.38.0
### [`v0.36.2`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.36.2)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.36.1...0.36.2)
### 0.36.2
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "a761d54e49db06f863468e6bba4a13252b1bd499e8f706da65e279b3bcbc5c52",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.36.2/rules_rust-v0.36.2.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Include examples/bzlmod in release tgz for BCR presubmit by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2379](https://togithub.com/bazelbuild/rules_rust/pull/2379)
- Allow using cargo_bazel_bootstrap from module extensions by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2385](https://togithub.com/bazelbuild/rules_rust/pull/2385)
- Updated crate_universe dependencies by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2381](https://togithub.com/bazelbuild/rules_rust/pull/2381)
- Added Rust 1.75.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2380](https://togithub.com/bazelbuild/rules_rust/pull/2380)
- Update wasm-bindgen to 0.2.89 by [@alexkirsz](https://togithub.com/alexkirsz) in [https://github.com/bazelbuild/rules_rust/pull/2333](https://togithub.com/bazelbuild/rules_rust/pull/2333)
- Don't re-write an identical lockfile by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2386](https://togithub.com/bazelbuild/rules_rust/pull/2386)
- Remove tests for invalid crate names by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2387](https://togithub.com/bazelbuild/rules_rust/pull/2387)
- remove incompatible_override_toolchain_transition by [@krasimirgg](https://togithub.com/krasimirgg) in [https://github.com/bazelbuild/rules_rust/pull/2344](https://togithub.com/bazelbuild/rules_rust/pull/2344)
- Release 0.36.2 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2382](https://togithub.com/bazelbuild/rules_rust/pull/2382)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.36.1...0.36.2
### [`v0.36.1`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.36.1)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.36.0...0.36.1)
### 0.36.1
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "ff1c4b8d154509154acbad7af94d1dda3b59163e62bcd81f8087df10a5f66468",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.36.1/rules_rust-v0.36.1.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Ignore bzlmod workspace from examples workspace by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2373](https://togithub.com/bazelbuild/rules_rust/pull/2373)
- Add cc_toolchain files to bindgen actions by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2375](https://togithub.com/bazelbuild/rules_rust/pull/2375)
- Release 0.36.1 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2376](https://togithub.com/bazelbuild/rules_rust/pull/2376)
- Expose crates_vendor deps to bzlmod by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2372](https://togithub.com/bazelbuild/rules_rust/pull/2372)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.36.0...0.36.1
### [`v0.36.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.36.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.35.0...0.36.0)
### 0.36.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "cb26277b9e6f2fb0a8dbd7630f1681f45207c601323ca407d2b10b34533212c7",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.36.0/rules_rust-v0.36.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Remove obsolete comment by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2362](https://togithub.com/bazelbuild/rules_rust/pull/2362)
- Remove redundant/legacy cargo_build_script.bzl by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2364](https://togithub.com/bazelbuild/rules_rust/pull/2364)
- Remove legacy bindgen.bzl interface module by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2366](https://togithub.com/bazelbuild/rules_rust/pull/2366)
- Updated Bindgen to version `0.69.1` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2367](https://togithub.com/bazelbuild/rules_rust/pull/2367)
- rust_analyzer: run bazel aquery with --include_artifacts by [@neilisaac](https://togithub.com/neilisaac) in [https://github.com/bazelbuild/rules_rust/pull/2328](https://togithub.com/bazelbuild/rules_rust/pull/2328)
- Consolidate bzlmod example workspaces by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2370](https://togithub.com/bazelbuild/rules_rust/pull/2370)
- Ensure bzlmod example tests are run by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2371](https://togithub.com/bazelbuild/rules_rust/pull/2371)
- Update `rust_bindgen_library` to only link into the direct consumer by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2361](https://togithub.com/bazelbuild/rules_rust/pull/2361)
- Release 0.36.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2365](https://togithub.com/bazelbuild/rules_rust/pull/2365)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.35.0...0.36.0
### [`v0.35.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.35.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.34.1...0.35.0)
### 0.35.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "d21c328b21f3c9ecfa4c1e92dd61ace63ff22603234067cf0fe495f75ac251ae",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.35.0/rules_rust-v0.35.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Include all toolchain files in the current toolchain by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2336](https://togithub.com/bazelbuild/rules_rust/pull/2336)
- fix: use `watch_file` in `.envrc` by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/rules_rust/pull/2343](https://togithub.com/bazelbuild/rules_rust/pull/2343)
- Minor cleanup of `.bazelrc` and `presubmit.yaml` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2341](https://togithub.com/bazelbuild/rules_rust/pull/2341)
- \_rust_binary_impl: propagate `data` to the crate info by [@krasimirgg](https://togithub.com/krasimirgg) in [https://github.com/bazelbuild/rules_rust/pull/2342](https://togithub.com/bazelbuild/rules_rust/pull/2342)
- chore: remove print from MODULE.bazel by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/rules_rust/pull/2345](https://togithub.com/bazelbuild/rules_rust/pull/2345)
- Register apple cc toolchain by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2352](https://togithub.com/bazelbuild/rules_rust/pull/2352)
- Register a toolchain by default in MODULE.bazel by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2351](https://togithub.com/bazelbuild/rules_rust/pull/2351)
- Adjust is_exec_configuration heuristic by [@sdtwigg](https://togithub.com/sdtwigg) in [https://github.com/bazelbuild/rules_rust/pull/2349](https://togithub.com/bazelbuild/rules_rust/pull/2349)
- Minor cleanup by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2357](https://togithub.com/bazelbuild/rules_rust/pull/2357)
- Added Rust 1.74.1 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2354](https://togithub.com/bazelbuild/rules_rust/pull/2354)
- Include more cc_toolchain flags in RustBindgen actions by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2358](https://togithub.com/bazelbuild/rules_rust/pull/2358)
- chore: add `//bzlmod:hello_world_test` and use it as BCR presubmit by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/rules_rust/pull/2347](https://togithub.com/bazelbuild/rules_rust/pull/2347)
- Added `rust_unpretty_aspect` and `rust_unpretty` rules by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2356](https://togithub.com/bazelbuild/rules_rust/pull/2356)
- `crate.select()` support by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/1977](https://togithub.com/bazelbuild/rules_rust/pull/1977)
- Fix `alias_rules` missing CcInfo and not being listed in `CARGO_BAZEL_SRCS` and misc Nix example fixes. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2353](https://togithub.com/bazelbuild/rules_rust/pull/2353)
- Remove `CrateFeatures::Legacy` by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2338](https://togithub.com/bazelbuild/rules_rust/pull/2338)
- Release 0.35.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2360](https://togithub.com/bazelbuild/rules_rust/pull/2360)
#### New Contributors
- [@sdtwigg](https://togithub.com/sdtwigg) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2349](https://togithub.com/bazelbuild/rules_rust/pull/2349)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.34.1...0.35.0
### [`v0.34.1`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.34.1)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.34.0...0.34.1)
### 0.34.1
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "75177226380b771be36d7efc538da842c433f14cd6c36d7660976efb53defe86",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.34.1/rules_rust-v0.34.1.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- `cargo-bazel` now supports `alias_rule` to customize the aliases generated by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2312](https://togithub.com/bazelbuild/rules_rust/pull/2312)
- fix: update download URL for BCR presubmit check by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/rules_rust/pull/2337](https://togithub.com/bazelbuild/rules_rust/pull/2337)
- Release 0.34.1 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2339](https://togithub.com/bazelbuild/rules_rust/pull/2339)
#### New Contributors
- [@cgrindel](https://togithub.com/cgrindel) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2337](https://togithub.com/bazelbuild/rules_rust/pull/2337)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.34.0...0.34.1
### [`v0.34.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.34.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.33.0...0.34.0)
### 0.34.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "049fe1866e36f7c46cd266b66bad160a9a792e90e5ddd2baeae48fadeea94832",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.34.0/rules_rust-v0.34.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Uprev bazel CI to bazel 7.0.0 by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2322](https://togithub.com/bazelbuild/rules_rust/pull/2322)
- Add `env` attribute to `rust_binary` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/1692](https://togithub.com/bazelbuild/rules_rust/pull/1692)
- cargo-bazel: Corrected sparse registry splicing code by [@JulianSchmid](https://togithub.com/JulianSchmid) in [https://github.com/bazelbuild/rules_rust/pull/2325](https://togithub.com/bazelbuild/rules_rust/pull/2325)
- Add support for QNX by [@jondo2010](https://togithub.com/jondo2010) in [https://github.com/bazelbuild/rules_rust/pull/2195](https://togithub.com/bazelbuild/rules_rust/pull/2195)
- Platform transition added to Rust binary rules. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2310](https://togithub.com/bazelbuild/rules_rust/pull/2310)
- Remove `.bazelversion` file to always use latest release available. by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2323](https://togithub.com/bazelbuild/rules_rust/pull/2323)
- Add crate for testing build configs by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2326](https://togithub.com/bazelbuild/rules_rust/pull/2326)
- Add licence to Cargo.toml by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2327](https://togithub.com/bazelbuild/rules_rust/pull/2327)
- Inform users that `crate` and `srcs` are mutually exclusive by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/1650](https://togithub.com/bazelbuild/rules_rust/pull/1650)
- Regenerate crate_universe examples by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2330](https://togithub.com/bazelbuild/rules_rust/pull/2330)
- Moved `generate_target_compatible_with` into `render_config`. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2329](https://togithub.com/bazelbuild/rules_rust/pull/2329)
- Release 0.34.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2334](https://togithub.com/bazelbuild/rules_rust/pull/2334)
#### New Contributors
- [@JulianSchmid](https://togithub.com/JulianSchmid) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2325](https://togithub.com/bazelbuild/rules_rust/pull/2325)
- [@jondo2010](https://togithub.com/jondo2010) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2195](https://togithub.com/bazelbuild/rules_rust/pull/2195)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.33.0...0.34.0
### [`v0.33.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.33.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.32.0...0.33.0)
### 0.33.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "0f18dd752b87d2203c140b3e356364b08a91eb6aa9b2d689ea69eb7cc2530f4d",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.33.0/rules_rust-v0.33.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- rust-analyzer: Include prost_runtime as a dep for rust_prost_library by [@DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/rules_rust/pull/2290](https://togithub.com/bazelbuild/rules_rust/pull/2290)
- Fix inclusion/exclusion of optional dependencies by [@kersson](https://togithub.com/kersson) in [https://github.com/bazelbuild/rules_rust/pull/2295](https://togithub.com/bazelbuild/rules_rust/pull/2295)
- Add android in runtime linking support check by [@gferon](https://togithub.com/gferon) in [https://github.com/bazelbuild/rules_rust/pull/2144](https://togithub.com/bazelbuild/rules_rust/pull/2144)
- Improve the error message when crate root couldn't be found. by [@hlopko](https://togithub.com/hlopko) in [https://github.com/bazelbuild/rules_rust/pull/2296](https://togithub.com/bazelbuild/rules_rust/pull/2296)
- Cleanup sysroot flag by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2297](https://togithub.com/bazelbuild/rules_rust/pull/2297)
- Declare dependencies in vendored crates by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2246](https://togithub.com/bazelbuild/rules_rust/pull/2246)
- Use js_info macro to populate JsInfo provider (js_rust_wasm_bindgen) by [@jstuder-gh](https://togithub.com/jstuder-gh) in [https://github.com/bazelbuild/rules_rust/pull/2303](https://togithub.com/bazelbuild/rules_rust/pull/2303)
- Add an option to save the json output from rustc to pass to rust-analyzer by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/1942](https://togithub.com/bazelbuild/rules_rust/pull/1942)
- Replace fixedReleaser by [@scentini](https://togithub.com/scentini) in [https://github.com/bazelbuild/rules_rust/pull/2304](https://togithub.com/bazelbuild/rules_rust/pull/2304)
- Updated direct dependencies by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2308](https://togithub.com/bazelbuild/rules_rust/pull/2308)
- Move implementation detail settings into private module by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2305](https://togithub.com/bazelbuild/rules_rust/pull/2305)
- Add a new presubmit environment for bzlmod by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2309](https://togithub.com/bazelbuild/rules_rust/pull/2309)
- fix: `rustc_compile_action` emits `CcInfo` for `wasm32` targets by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/1979](https://togithub.com/bazelbuild/rules_rust/pull/1979)
- NixOS added as a Platform target including a pseudo target triple by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2311](https://togithub.com/bazelbuild/rules_rust/pull/2311)
- Pin repo to bazel 6.4.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2318](https://togithub.com/bazelbuild/rules_rust/pull/2318)
- Allow additional targets to compile with bzlmod by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2314](https://togithub.com/bazelbuild/rules_rust/pull/2314)
- Introduced `TargetTriple` newtype. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2315](https://togithub.com/bazelbuild/rules_rust/pull/2315)
- Nix example switched to using `crate_universe_dependencies(bootstrap=True)` by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2313](https://togithub.com/bazelbuild/rules_rust/pull/2313)
- Release 0.33.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2319](https://togithub.com/bazelbuild/rules_rust/pull/2319)
#### New Contributors
- [@kersson](https://togithub.com/kersson) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2295](https://togithub.com/bazelbuild/rules_rust/pull/2295)
- [@jstuder-gh](https://togithub.com/jstuder-gh) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2303](https://togithub.com/bazelbuild/rules_rust/pull/2303)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.32.0...0.33.0
### [`v0.32.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.32.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.31.0...0.32.0)
### 0.32.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "1e7114ea2af800c6987ca38daeee13e3ae6e934875b4f7ca24b798857f95431e",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.32.0/rules_rust-v0.32.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Use a more recent rules_rust version in the Setup docs. by [@katre](https://togithub.com/katre) in [https://github.com/bazelbuild/rules_rust/pull/2274](https://togithub.com/bazelbuild/rules_rust/pull/2274)
- replace pwd in rust-project.json output [#1](https://togithub.com/bazelbuild/rules_rust/issues/1) by [@ibigbug](https://togithub.com/ibigbug) in [https://github.com/bazelbuild/rules_rust/pull/2272](https://togithub.com/bazelbuild/rules_rust/pull/2272)
- cargo_build_script can use rustc_env_files by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2276](https://togithub.com/bazelbuild/rules_rust/pull/2276)
- Bump cargo_toml to 0.17.1 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2278](https://togithub.com/bazelbuild/rules_rust/pull/2278)
- Add repin script by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2282](https://togithub.com/bazelbuild/rules_rust/pull/2282)
- Default experimental_toolchain_generated_sysroot to True by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2277](https://togithub.com/bazelbuild/rules_rust/pull/2277)
- crate_universe: Allow passing extra args down to crate_universe_bootstrap by [@DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/rules_rust/pull/2279](https://togithub.com/bazelbuild/rules_rust/pull/2279)
- Added support for multiple javascript rule sets to wasm_bindgen package by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2284](https://togithub.com/bazelbuild/rules_rust/pull/2284)
- Release 0.32.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2289](https://togithub.com/bazelbuild/rules_rust/pull/2289)
#### New Contributors
- [@ibigbug](https://togithub.com/ibigbug) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2272](https://togithub.com/bazelbuild/rules_rust/pull/2272)
- [@DolceTriade](https://togithub.com/DolceTriade) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2279](https://togithub.com/bazelbuild/rules_rust/pull/2279)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.31.0...0.32.0
### [`v0.31.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.31.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.30.0...0.31.0)
### 0.31.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "36ab8f9facae745c9c9c1b33d225623d976e78f2cc3f729b7973d8c20934ab95",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.31.0/rules_rust-v0.31.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Regenerated crate_universe test data by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2221](https://togithub.com/bazelbuild/rules_rust/pull/2221)
- Update default resolver version in crates_universe rules by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2220](https://togithub.com/bazelbuild/rules_rust/pull/2220)
- Added tracing (logging) to crate_universe by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2224](https://togithub.com/bazelbuild/rules_rust/pull/2224)
- Split write_splicing_manifest and write_config_file. by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2225](https://togithub.com/bazelbuild/rules_rust/pull/2225)
- Adds support for bindeps in crate universe by [@csmulhern](https://togithub.com/csmulhern) in [https://github.com/bazelbuild/rules_rust/pull/2226](https://togithub.com/bazelbuild/rules_rust/pull/2226)
- Support artifact dependencies in crate.spec by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2229](https://togithub.com/bazelbuild/rules_rust/pull/2229)
- Set --sysroot to sysroot generated by rust_toolchain by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2223](https://togithub.com/bazelbuild/rules_rust/pull/2223)
- \[prost] includes prost crate infos in rust_analyzer_aspect by [@iamricard](https://togithub.com/iamricard) in [https://github.com/bazelbuild/rules_rust/pull/2232](https://togithub.com/bazelbuild/rules_rust/pull/2232)
- Updated crate_universe dependencies by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2228](https://togithub.com/bazelbuild/rules_rust/pull/2228)
- process_wrapper: write all output from rustc if json parsing fails. by [@gigaroby](https://togithub.com/gigaroby) in [https://github.com/bazelbuild/rules_rust/pull/2234](https://togithub.com/bazelbuild/rules_rust/pull/2234)
- Take into account DependencyKind when collecting package target dependencies by [@dmitrii-ubskii](https://togithub.com/dmitrii-ubskii) in [https://github.com/bazelbuild/rules_rust/pull/2235](https://togithub.com/bazelbuild/rules_rust/pull/2235)
- Allow passing explicit labels as select keys by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2239](https://togithub.com/bazelbuild/rules_rust/pull/2239)
- Update wasm-bindgen to 0.2.88 by [@alexkirsz](https://togithub.com/alexkirsz) in [https://github.com/bazelbuild/rules_rust/pull/2240](https://togithub.com/bazelbuild/rules_rust/pull/2240)
- Run "bazel run //\*:crates_vendor" by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2245](https://togithub.com/bazelbuild/rules_rust/pull/2245)
- Rerun crates_vendor for additional packages by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2251](https://togithub.com/bazelbuild/rules_rust/pull/2251)
- Fix docs for Bazel@HEAD by [@Wyverald](https://togithub.com/Wyverald) in [https://github.com/bazelbuild/rules_rust/pull/2250](https://togithub.com/bazelbuild/rules_rust/pull/2250)
- Add configuration to mirror github releases to bazel central registry by [@kageiit](https://togithub.com/kageiit) in [https://github.com/bazelbuild/rules_rust/pull/2256](https://togithub.com/bazelbuild/rules_rust/pull/2256)
- Support rustfmt on crates with generated sources by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2255](https://togithub.com/bazelbuild/rules_rust/pull/2255)
- Added Rust 1.74.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2268](https://togithub.com/bazelbuild/rules_rust/pull/2268)
- Fix optional dependency check when crate is renamed by [@nbdd0121](https://togithub.com/nbdd0121) in [https://github.com/bazelbuild/rules_rust/pull/2265](https://togithub.com/bazelbuild/rules_rust/pull/2265)
- Release 0.31.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2270](https://togithub.com/bazelbuild/rules_rust/pull/2270)
#### New Contributors
- [@iamricard](https://togithub.com/iamricard) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2232](https://togithub.com/bazelbuild/rules_rust/pull/2232)
- [@dmitrii-ubskii](https://togithub.com/dmitrii-ubskii) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2235](https://togithub.com/bazelbuild/rules_rust/pull/2235)
- [@alexkirsz](https://togithub.com/alexkirsz) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2240](https://togithub.com/bazelbuild/rules_rust/pull/2240)
- [@kageiit](https://togithub.com/kageiit) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2256](https://togithub.com/bazelbuild/rules_rust/pull/2256)
- [@nbdd0121](https://togithub.com/nbdd0121) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2265](https://togithub.com/bazelbuild/rules_rust/pull/2265)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.30.0...0.31.0
### [`v0.30.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.30.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.29.1...0.30.0)
### 0.30.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "6357de5982dd32526e02278221bb8d6aa45717ba9bbacf43686b130aa2c72e1e",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.30.0/rules_rust-v0.30.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Support cargo_bazel_bootstrap for bzlmod by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2021](https://togithub.com/bazelbuild/rules_rust/pull/2021)
- Fix handling of proc macro deps with multiple kinds by [@ulan](https://togithub.com/ulan) in [https://github.com/bazelbuild/rules_rust/pull/2211](https://togithub.com/bazelbuild/rules_rust/pull/2211)
- Shorten test targets by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2214](https://togithub.com/bazelbuild/rules_rust/pull/2214)
- Fix issues causing the `Rustc` process wrapper to be built non-determ… by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2216](https://togithub.com/bazelbuild/rules_rust/pull/2216)
- Release 0.30.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2219](https://togithub.com/bazelbuild/rules_rust/pull/2219)
#### New Contributors
- [@ulan](https://togithub.com/ulan) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2211](https://togithub.com/bazelbuild/rules_rust/pull/2211)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.29.1...0.30.0
### [`v0.29.1`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.29.1)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.29.0...0.29.1)
### 0.29.1
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "9ecd0f2144f0a24e6bc71ebcc50a1ee5128cedeceb32187004532c9710cb2334",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.29.1/rules_rust-v0.29.1.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Update using_cxx example to cxx 1.0.109 by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2200](https://togithub.com/bazelbuild/rules_rust/pull/2200)
- Fix prost toolchain documentation typo by [@joelwachsler](https://togithub.com/joelwachsler) in [https://github.com/bazelbuild/rules_rust/pull/2202](https://togithub.com/bazelbuild/rules_rust/pull/2202)
- Update rules_cc to 0.0.9 by [@toandaominh1997](https://togithub.com/toandaominh1997) in [https://github.com/bazelbuild/rules_rust/pull/2201](https://togithub.com/bazelbuild/rules_rust/pull/2201)
- Add Android Platforms build flags. by [@katre](https://togithub.com/katre) in [https://github.com/bazelbuild/rules_rust/pull/2198](https://togithub.com/bazelbuild/rules_rust/pull/2198)
- Refactor rustc_compile_action to construct CrateInfo internally by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2188](https://togithub.com/bazelbuild/rules_rust/pull/2188)
- Remove \_rustc_env_attr from CrateInfo by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2189](https://togithub.com/bazelbuild/rules_rust/pull/2189)
- Migrade rbe_ubuntu1604 to rbe_ubuntu2004 by [@coeuvre](https://togithub.com/coeuvre) in [https://github.com/bazelbuild/rules_rust/pull/2208](https://togithub.com/bazelbuild/rules_rust/pull/2208)
- add compile_data attr to cargo_build_script by [@krasimirgg](https://togithub.com/krasimirgg) in [https://github.com/bazelbuild/rules_rust/pull/2203](https://togithub.com/bazelbuild/rules_rust/pull/2203)
- Prep release 0.29.1 by [@krasimirgg](https://togithub.com/krasimirgg) in [https://github.com/bazelbuild/rules_rust/pull/2209](https://togithub.com/bazelbuild/rules_rust/pull/2209)
#### New Contributors
- [@toandaominh1997](https://togithub.com/toandaominh1997) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2201](https://togithub.com/bazelbuild/rules_rust/pull/2201)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.29.0...0.29.1
### [`v0.29.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.29.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.28.0...0.29.0)
### 0.29.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "814680e1ab535f799fd10e8739ddca901351ceb4d2d86dd8126c22d36e9fcbd9",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.29.0/rules_rust-v0.29.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- rustdoc: respect error_format config by [@goffrie](https://togithub.com/goffrie) in [https://github.com/bazelbuild/rules_rust/pull/2166](https://togithub.com/bazelbuild/rules_rust/pull/2166)
- Set up default allocator_library and global_allocator_library by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2172](https://togithub.com/bazelbuild/rules_rust/pull/2172)
- Add `toolchain` parameter to the affected actions by [@kotlaja](https://togithub.com/kotlaja) in [https://github.com/bazelbuild/rules_rust/pull/2140](https://togithub.com/bazelbuild/rules_rust/pull/2140)
- Make more annotations select-able by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2180](https://togithub.com/bazelbuild/rules_rust/pull/2180)
- Disable Bzlmod explicitly in .bazelrc by [@meteorcloudy](https://togithub.com/meteorcloudy) in [https://github.com/bazelbuild/rules_rust/pull/2182](https://togithub.com/bazelbuild/rules_rust/pull/2182)
- Refactor CrateInfo construction by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2161](https://togithub.com/bazelbuild/rules_rust/pull/2161)
- Simplify CPU arch detection in get_host_triple by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/bazelbuild/rules_rust/pull/2183](https://togithub.com/bazelbuild/rules_rust/pull/2183)
- Added Rust 1.73.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2184](https://togithub.com/bazelbuild/rules_rust/pull/2184)
- Disable frequently failing Windows CI by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2187](https://togithub.com/bazelbuild/rules_rust/pull/2187)
- Add target_compatible_with from kwargs to build_script_kwargs by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2133](https://togithub.com/bazelbuild/rules_rust/pull/2133)
- Set CARGO_MANIFEST_LINKS if links is set by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2190](https://togithub.com/bazelbuild/rules_rust/pull/2190)
- Use canonical labels for analysistest config_settings by [@nickgooding](https://togithub.com/nickgooding) in [https://github.com/bazelbuild/rules_rust/pull/2191](https://togithub.com/bazelbuild/rules_rust/pull/2191)
- \[prost] Fix handling of message names with acronyms by [@william-smith-skydio](https://togithub.com/william-smith-skydio) in [https://github.com/bazelbuild/rules_rust/pull/2193](https://togithub.com/bazelbuild/rules_rust/pull/2193)
- \[prost] Handle argfiles by [@william-smith-skydio](https://togithub.com/william-smith-skydio) in [https://github.com/bazelbuild/rules_rust/pull/2194](https://togithub.com/bazelbuild/rules_rust/pull/2194)
- Improvements to better support cxx by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2192](https://togithub.com/bazelbuild/rules_rust/pull/2192)
- Prep release 0.29.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2197](https://togithub.com/bazelbuild/rules_rust/pull/2197)
#### New Contributors
- [@nickgooding](https://togithub.com/nickgooding) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2191](https://togithub.com/bazelbuild/rules_rust/pull/2191)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.28.0...0.29.0
### [`v0.28.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.28.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.27.0...0.28.0)
### 0.28.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "c46bdafc582d9bd48a6f97000d05af4829f62d5fee10a2a3edddf2f3d9a232c1",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.28.0/rules_rust-v0.28.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Remove cfg exec from link_deps attribute by [@kalcutter](https://togithub.com/kalcutter) in [https://github.com/bazelbuild/rules_rust/pull/2148](https://togithub.com/bazelbuild/rules_rust/pull/2148)
- Bump min Bazel version to 6.3 by [@scentini](https://togithub.com/scentini) in [https://github.com/bazelbuild/rules_rust/pull/2150](https://togithub.com/bazelbuild/rules_rust/pull/2150)
- Remove usage of grep_includes by [@kotlaja](https://togithub.com/kotlaja) in [https://github.com/bazelbuild/rules_rust/pull/2072](https://togithub.com/bazelbuild/rules_rust/pull/2072)
- Added github action to publish cargo-bazel binaries. by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2134](https://togithub.com/bazelbuild/rules_rust/pull/2134)
- Add missing comma in nightly's example in index.md by [@dayfine](https://togithub.com/dayfine) in [https://github.com/bazelbuild/rules_rust/pull/2151](https://togithub.com/bazelbuild/rules_rust/pull/2151)
- cargo_build_scripts can be run from custom directories by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2152](https://togithub.com/bazelbuild/rules_rust/pull/2152)
- Handle files from external repos (fix breaking change in Bazel 3.7.0) by [@jgsogo](https://togithub.com/jgsogo) in [https://github.com/bazelbuild/rules_rust/pull/2138](https://togithub.com/bazelbuild/rules_rust/pull/2138)
- Fix prost documentation errors by [@joelwachsler](https://togithub.com/joelwachsler) in [https://github.com/bazelbuild/rules_rust/pull/2093](https://togithub.com/bazelbuild/rules_rust/pull/2093)
- Use cc_toolchain.linker_files() for files required at linking steps by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2165](https://togithub.com/bazelbuild/rules_rust/pull/2165)
- Added Rust 1.72.1 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2163](https://togithub.com/bazelbuild/rules_rust/pull/2163)
- Export bindgen rules through `@rules_rust//bindgen:defs.bzl` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2054](https://togithub.com/bazelbuild/rules_rust/pull/2054)
- Revert "Flip experimental_use_coverage_metadata_files" by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2164](https://togithub.com/bazelbuild/rules_rust/pull/2164)
- Release 0.28.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2167](https://togithub.com/bazelbuild/rules_rust/pull/2167)
#### New Contributors
- [@kotlaja](https://togithub.com/kotlaja) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2072](https://togithub.com/bazelbuild/rules_rust/pull/2072)
- [@dayfine](https://togithub.com/dayfine) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2151](https://togithub.com/bazelbuild/rules_rust/pull/2151)
- [@jgsogo](https://togithub.com/jgsogo) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2138](https://togithub.com/bazelbuild/rules_rust/pull/2138)
- [@joelwachsler](https://togithub.com/joelwachsler) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2093](https://togithub.com/bazelbuild/rules_rust/pull/2093)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.27.0...0.28.0
### [`v0.27.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.27.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.26.0...0.27.0)
### 0.27.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "db89135f4d1eaa047b9f5518ba4037284b43fc87386d08c1d1fe91708e3730ae",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.27.0/rules_rust-v0.27.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Add `experimental_symlink_execroot` for `cargo_build_script`. by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2085](https://togithub.com/bazelbuild/rules_rust/pull/2085)
- Fix doc for proc_macro_deps attr by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2095](https://togithub.com/bazelbuild/rules_rust/pull/2095)
- Fix typo in rust_proto documentation by [@ryanpbrewster](https://togithub.com/ryanpbrewster) in [https://github.com/bazelbuild/rules_rust/pull/2099](https://togithub.com/bazelbuild/rules_rust/pull/2099)
- Make proc macros' "data" available in compile_data of crates that use macro by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2097](https://togithub.com/bazelbuild/rules_rust/pull/2097)
- Update platforms by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_rust/pull/2111](https://togithub.com/bazelbuild/rules_rust/pull/2111)
- Option to generate extra targets with crate_universe by [@adsnaider](https://togithub.com/adsnaider) in [https://github.com/bazelbuild/rules_rust/pull/2103](https://togithub.com/bazelbuild/rules_rust/pull/2103)
- Remove `mandatory = True` from the `prost_plugin_flag` attribute in `rust_prost_toolchain`. by [@thb-sb](https://togithub.com/thb-sb) in [https://github.com/bazelbuild/rules_rust/pull/2110](https://togithub.com/bazelbuild/rules_rust/pull/2110)
- Cleanup args construction by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/bazelbuild/rules_rust/pull/2122](https://togithub.com/bazelbuild/rules_rust/pull/2122)
- Add crate_name attribute by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2118](https://togithub.com/bazelbuild/rules_rust/pull/2118)
- Make @using_cxx example buildable on Windows by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2114](https://togithub.com/bazelbuild/rules_rust/pull/2114)
- Fix rust_doc_test dependency to allow either rust_library or cc_library by [@HackAttack](https://togithub.com/HackAttack) in [https://github.com/bazelbuild/rules_rust/pull/2112](https://togithub.com/bazelbuild/rules_rust/pull/2112)
- Read default annotation values from package's Cargo.toml metadata by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2124](https://togithub.com/bazelbuild/rules_rust/pull/2124)
- Fill in some crate metadata for publishing cargo-bazel to crates.io by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2132](https://togithub.com/bazelbuild/rules_rust/pull/2132)
- Add TemplateVariableInfo for build script toolchains attribute. by [@granaghan](https://togithub.com/granaghan) in [https://github.com/bazelbuild/rules_rust/pull/2123](https://togithub.com/bazelbuild/rules_rust/pull/2123)
- Fix a typo in the `rust_proto` documentation. by [@thb-sb](https://togithub.com/thb-sb) in [https://github.com/bazelbuild/rules_rust/pull/2109](https://togithub.com/bazelbuild/rules_rust/pull/2109)
- Flip experimental_use_coverage_metadata_files by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2128](https://togithub.com/bazelbuild/rules_rust/pull/2128)
- Added Rust 1.72.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2127](https://togithub.com/bazelbuild/rules_rust/pull/2127)
- crate_universe: Allow platform-specific build script env vars by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2139](https://togithub.com/bazelbuild/rules_rust/pull/2139)
- Update rules_apple by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_rust/pull/2137](https://togithub.com/bazelbuild/rules_rust/pull/2137)
- Release 0.27.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2130](https://togithub.com/bazelbuild/rules_rust/pull/2130)
#### New Contributors
- [@ryanpbrewster](https://togithub.com/ryanpbrewster) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2099](https://togithub.com/bazelbuild/rules_rust/pull/2099)
- [@adsnaider](https://togithub.com/adsnaider) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2103](https://togithub.com/bazelbuild/rules_rust/pull/2103)
- [@dzbarsky](https://togithub.com/dzbarsky) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2122](https://togithub.com/bazelbuild/rules_rust/pull/2122)
- [@HackAttack](https://togithub.com/HackAttack) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2112](https://togithub.com/bazelbuild/rules_rust/pull/2112)
**Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.26.0...0.27.0
### [`v0.26.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.26.0)
[Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.25.1...0.26.0)
### 0.26.0
```python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
sha256 = "9d04e658878d23f4b00163a72da3db03ddb451273eb347df7d7c50838d698f49",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.26.0/rules_rust-v0.26.0.tar.gz"],
)
```
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
#### What's Changed
- Have the prost process wrapper print warnings to stderr by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2053](https://togithub.com/bazelbuild/rules_rust/pull/2053)
- Enable rustfmt in bindgen toolchains by default by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2055](https://togithub.com/bazelbuild/rules_rust/pull/2055)
- Removed legacy `//proto:*.bzl` files and updated docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2057](https://togithub.com/bazelbuild/rules_rust/pull/2057)
- Improve handling of build.rs link dependencies by [@coffinmatician](https://togithub.com/coffinmatician) in [https://github.com/bazelbuild/rules_rust/pull/1970](https://togithub.com/bazelbuild/rules_rust/pull/1970)
- Add `opt_level` argument to `rust_repository_set`. by [@konkers](https://togithub.com/konkers) in [https://github.com/bazelbuild/rules_rust/pull/2036](https://togithub.com/bazelbuild/rules_rust/pull/2036)
- Update dependencies versions by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbu
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.16.0
->0.38.0
Release Notes
bazelbuild/rules_rust (rules_rust)
### [`v0.38.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.38.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.36.2...0.38.0) ### 0.38.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", integrity = "sha256-ZQGWDD5NoySV0eEAfe0HaaU0yxlcMN6jaqVPnYo/A2E=", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.38.0/rules_rust-v0.38.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Switch from `sha256` to `integrity` in release notes by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2389](https://togithub.com/bazelbuild/rules_rust/pull/2389) - Support third party crates with bzlmod by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/1910](https://togithub.com/bazelbuild/rules_rust/pull/1910) - Replaced multiple usages of `String` with `Label`. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2363](https://togithub.com/bazelbuild/rules_rust/pull/2363) - Fix missing .wasm output for rust_wasm_bindgen by [@alexkirsz](https://togithub.com/alexkirsz) in [https://github.com/bazelbuild/rules_rust/pull/2396](https://togithub.com/bazelbuild/rules_rust/pull/2396) - Stringify annotation labels by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2394](https://togithub.com/bazelbuild/rules_rust/pull/2394) - Fix name of toolchain repo by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2395](https://togithub.com/bazelbuild/rules_rust/pull/2395) - Advertise CcInfo provider on rules by [@cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2126](https://togithub.com/bazelbuild/rules_rust/pull/2126) - Add test for query and cquery in the repo by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2398](https://togithub.com/bazelbuild/rules_rust/pull/2398) - Change default Rust distribution downloads from .tar.gz to .tar.xz by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2399](https://togithub.com/bazelbuild/rules_rust/pull/2399) - Add annotation support for transient crates. by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2392](https://togithub.com/bazelbuild/rules_rust/pull/2392) - Allow `RustBindgen` action to get `--gcc-toolchain` from cc toolchains by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2400](https://togithub.com/bazelbuild/rules_rust/pull/2400) - Minor cleanup of prost rules by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2397](https://togithub.com/bazelbuild/rules_rust/pull/2397) - Fix the patch_tool annotation. by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2404](https://togithub.com/bazelbuild/rules_rust/pull/2404) - Fix [#2402](https://togithub.com/bazelbuild/rules_rust/issues/2402): use `get_lib_name_default(lib)` instead of `lib.owner.name`. by [@thb-sb](https://togithub.com/thb-sb) in [https://github.com/bazelbuild/rules_rust/pull/2405](https://togithub.com/bazelbuild/rules_rust/pull/2405) - Fix [#2406](https://togithub.com/bazelbuild/rules_rust/issues/2406): use codegen option `link-args` to forward `user_link_flags` in bindgen. by [@thb-sb](https://togithub.com/thb-sb) in [https://github.com/bazelbuild/rules_rust/pull/2407](https://togithub.com/bazelbuild/rules_rust/pull/2407) - Nix Example updated `rules_nixpkgs` version and removed CI workaround. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2409](https://togithub.com/bazelbuild/rules_rust/pull/2409) - Prep for 0.37.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2403](https://togithub.com/bazelbuild/rules_rust/pull/2403) - Use # not / as a sed escape character by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2412](https://togithub.com/bazelbuild/rules_rust/pull/2412) - Drop import macro by [@scentini](https://togithub.com/scentini) in [https://github.com/bazelbuild/rules_rust/pull/2411](https://togithub.com/bazelbuild/rules_rust/pull/2411) - Fix rustfmt toolchains when consuming rules_rust with bzlmod. by [@jondo2010](https://togithub.com/jondo2010) in [https://github.com/bazelbuild/rules_rust/pull/2410](https://togithub.com/bazelbuild/rules_rust/pull/2410) - Provide a better error message when trying to generate rust-project.json by [@jondo2010](https://togithub.com/jondo2010) in [https://github.com/bazelbuild/rules_rust/pull/2196](https://togithub.com/bazelbuild/rules_rust/pull/2196) - Update android example to use Starlark version of android_ndk_repository by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2417](https://togithub.com/bazelbuild/rules_rust/pull/2417) - Allow ~ in repository names by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2427](https://togithub.com/bazelbuild/rules_rust/pull/2427) - Prepare rust rules for Starlark CcToolchainInfo. by [@buildbreaker2021](https://togithub.com/buildbreaker2021) in [https://github.com/bazelbuild/rules_rust/pull/2424](https://togithub.com/bazelbuild/rules_rust/pull/2424) - Update rules_apple by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2436](https://togithub.com/bazelbuild/rules_rust/pull/2436) - Prep 0.38.0 release by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2437](https://togithub.com/bazelbuild/rules_rust/pull/2437) #### New Contributors - [@buildbreaker2021](https://togithub.com/buildbreaker2021) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2424](https://togithub.com/bazelbuild/rules_rust/pull/2424) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.36.2...0.38.0 ### [`v0.36.2`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.36.2) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.36.1...0.36.2) ### 0.36.2 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "a761d54e49db06f863468e6bba4a13252b1bd499e8f706da65e279b3bcbc5c52", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.36.2/rules_rust-v0.36.2.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Include examples/bzlmod in release tgz for BCR presubmit by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2379](https://togithub.com/bazelbuild/rules_rust/pull/2379) - Allow using cargo_bazel_bootstrap from module extensions by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2385](https://togithub.com/bazelbuild/rules_rust/pull/2385) - Updated crate_universe dependencies by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2381](https://togithub.com/bazelbuild/rules_rust/pull/2381) - Added Rust 1.75.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2380](https://togithub.com/bazelbuild/rules_rust/pull/2380) - Update wasm-bindgen to 0.2.89 by [@alexkirsz](https://togithub.com/alexkirsz) in [https://github.com/bazelbuild/rules_rust/pull/2333](https://togithub.com/bazelbuild/rules_rust/pull/2333) - Don't re-write an identical lockfile by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2386](https://togithub.com/bazelbuild/rules_rust/pull/2386) - Remove tests for invalid crate names by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2387](https://togithub.com/bazelbuild/rules_rust/pull/2387) - remove incompatible_override_toolchain_transition by [@krasimirgg](https://togithub.com/krasimirgg) in [https://github.com/bazelbuild/rules_rust/pull/2344](https://togithub.com/bazelbuild/rules_rust/pull/2344) - Release 0.36.2 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2382](https://togithub.com/bazelbuild/rules_rust/pull/2382) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.36.1...0.36.2 ### [`v0.36.1`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.36.1) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.36.0...0.36.1) ### 0.36.1 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "ff1c4b8d154509154acbad7af94d1dda3b59163e62bcd81f8087df10a5f66468", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.36.1/rules_rust-v0.36.1.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Ignore bzlmod workspace from examples workspace by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2373](https://togithub.com/bazelbuild/rules_rust/pull/2373) - Add cc_toolchain files to bindgen actions by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2375](https://togithub.com/bazelbuild/rules_rust/pull/2375) - Release 0.36.1 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2376](https://togithub.com/bazelbuild/rules_rust/pull/2376) - Expose crates_vendor deps to bzlmod by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2372](https://togithub.com/bazelbuild/rules_rust/pull/2372) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.36.0...0.36.1 ### [`v0.36.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.36.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.35.0...0.36.0) ### 0.36.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "cb26277b9e6f2fb0a8dbd7630f1681f45207c601323ca407d2b10b34533212c7", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.36.0/rules_rust-v0.36.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Remove obsolete comment by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2362](https://togithub.com/bazelbuild/rules_rust/pull/2362) - Remove redundant/legacy cargo_build_script.bzl by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2364](https://togithub.com/bazelbuild/rules_rust/pull/2364) - Remove legacy bindgen.bzl interface module by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2366](https://togithub.com/bazelbuild/rules_rust/pull/2366) - Updated Bindgen to version `0.69.1` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2367](https://togithub.com/bazelbuild/rules_rust/pull/2367) - rust_analyzer: run bazel aquery with --include_artifacts by [@neilisaac](https://togithub.com/neilisaac) in [https://github.com/bazelbuild/rules_rust/pull/2328](https://togithub.com/bazelbuild/rules_rust/pull/2328) - Consolidate bzlmod example workspaces by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2370](https://togithub.com/bazelbuild/rules_rust/pull/2370) - Ensure bzlmod example tests are run by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2371](https://togithub.com/bazelbuild/rules_rust/pull/2371) - Update `rust_bindgen_library` to only link into the direct consumer by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2361](https://togithub.com/bazelbuild/rules_rust/pull/2361) - Release 0.36.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2365](https://togithub.com/bazelbuild/rules_rust/pull/2365) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.35.0...0.36.0 ### [`v0.35.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.35.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.34.1...0.35.0) ### 0.35.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "d21c328b21f3c9ecfa4c1e92dd61ace63ff22603234067cf0fe495f75ac251ae", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.35.0/rules_rust-v0.35.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Include all toolchain files in the current toolchain by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2336](https://togithub.com/bazelbuild/rules_rust/pull/2336) - fix: use `watch_file` in `.envrc` by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/rules_rust/pull/2343](https://togithub.com/bazelbuild/rules_rust/pull/2343) - Minor cleanup of `.bazelrc` and `presubmit.yaml` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2341](https://togithub.com/bazelbuild/rules_rust/pull/2341) - \_rust_binary_impl: propagate `data` to the crate info by [@krasimirgg](https://togithub.com/krasimirgg) in [https://github.com/bazelbuild/rules_rust/pull/2342](https://togithub.com/bazelbuild/rules_rust/pull/2342) - chore: remove print from MODULE.bazel by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/rules_rust/pull/2345](https://togithub.com/bazelbuild/rules_rust/pull/2345) - Register apple cc toolchain by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2352](https://togithub.com/bazelbuild/rules_rust/pull/2352) - Register a toolchain by default in MODULE.bazel by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2351](https://togithub.com/bazelbuild/rules_rust/pull/2351) - Adjust is_exec_configuration heuristic by [@sdtwigg](https://togithub.com/sdtwigg) in [https://github.com/bazelbuild/rules_rust/pull/2349](https://togithub.com/bazelbuild/rules_rust/pull/2349) - Minor cleanup by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2357](https://togithub.com/bazelbuild/rules_rust/pull/2357) - Added Rust 1.74.1 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2354](https://togithub.com/bazelbuild/rules_rust/pull/2354) - Include more cc_toolchain flags in RustBindgen actions by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2358](https://togithub.com/bazelbuild/rules_rust/pull/2358) - chore: add `//bzlmod:hello_world_test` and use it as BCR presubmit by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/rules_rust/pull/2347](https://togithub.com/bazelbuild/rules_rust/pull/2347) - Added `rust_unpretty_aspect` and `rust_unpretty` rules by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2356](https://togithub.com/bazelbuild/rules_rust/pull/2356) - `crate.select()` support by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/1977](https://togithub.com/bazelbuild/rules_rust/pull/1977) - Fix `alias_rules` missing CcInfo and not being listed in `CARGO_BAZEL_SRCS` and misc Nix example fixes. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2353](https://togithub.com/bazelbuild/rules_rust/pull/2353) - Remove `CrateFeatures::Legacy` by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2338](https://togithub.com/bazelbuild/rules_rust/pull/2338) - Release 0.35.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2360](https://togithub.com/bazelbuild/rules_rust/pull/2360) #### New Contributors - [@sdtwigg](https://togithub.com/sdtwigg) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2349](https://togithub.com/bazelbuild/rules_rust/pull/2349) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.34.1...0.35.0 ### [`v0.34.1`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.34.1) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.34.0...0.34.1) ### 0.34.1 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "75177226380b771be36d7efc538da842c433f14cd6c36d7660976efb53defe86", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.34.1/rules_rust-v0.34.1.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - `cargo-bazel` now supports `alias_rule` to customize the aliases generated by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2312](https://togithub.com/bazelbuild/rules_rust/pull/2312) - fix: update download URL for BCR presubmit check by [@cgrindel](https://togithub.com/cgrindel) in [https://github.com/bazelbuild/rules_rust/pull/2337](https://togithub.com/bazelbuild/rules_rust/pull/2337) - Release 0.34.1 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2339](https://togithub.com/bazelbuild/rules_rust/pull/2339) #### New Contributors - [@cgrindel](https://togithub.com/cgrindel) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2337](https://togithub.com/bazelbuild/rules_rust/pull/2337) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.34.0...0.34.1 ### [`v0.34.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.34.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.33.0...0.34.0) ### 0.34.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "049fe1866e36f7c46cd266b66bad160a9a792e90e5ddd2baeae48fadeea94832", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.34.0/rules_rust-v0.34.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Uprev bazel CI to bazel 7.0.0 by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2322](https://togithub.com/bazelbuild/rules_rust/pull/2322) - Add `env` attribute to `rust_binary` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/1692](https://togithub.com/bazelbuild/rules_rust/pull/1692) - cargo-bazel: Corrected sparse registry splicing code by [@JulianSchmid](https://togithub.com/JulianSchmid) in [https://github.com/bazelbuild/rules_rust/pull/2325](https://togithub.com/bazelbuild/rules_rust/pull/2325) - Add support for QNX by [@jondo2010](https://togithub.com/jondo2010) in [https://github.com/bazelbuild/rules_rust/pull/2195](https://togithub.com/bazelbuild/rules_rust/pull/2195) - Platform transition added to Rust binary rules. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2310](https://togithub.com/bazelbuild/rules_rust/pull/2310) - Remove `.bazelversion` file to always use latest release available. by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2323](https://togithub.com/bazelbuild/rules_rust/pull/2323) - Add crate for testing build configs by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2326](https://togithub.com/bazelbuild/rules_rust/pull/2326) - Add licence to Cargo.toml by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2327](https://togithub.com/bazelbuild/rules_rust/pull/2327) - Inform users that `crate` and `srcs` are mutually exclusive by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/1650](https://togithub.com/bazelbuild/rules_rust/pull/1650) - Regenerate crate_universe examples by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2330](https://togithub.com/bazelbuild/rules_rust/pull/2330) - Moved `generate_target_compatible_with` into `render_config`. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2329](https://togithub.com/bazelbuild/rules_rust/pull/2329) - Release 0.34.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2334](https://togithub.com/bazelbuild/rules_rust/pull/2334) #### New Contributors - [@JulianSchmid](https://togithub.com/JulianSchmid) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2325](https://togithub.com/bazelbuild/rules_rust/pull/2325) - [@jondo2010](https://togithub.com/jondo2010) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2195](https://togithub.com/bazelbuild/rules_rust/pull/2195) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.33.0...0.34.0 ### [`v0.33.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.33.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.32.0...0.33.0) ### 0.33.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "0f18dd752b87d2203c140b3e356364b08a91eb6aa9b2d689ea69eb7cc2530f4d", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.33.0/rules_rust-v0.33.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - rust-analyzer: Include prost_runtime as a dep for rust_prost_library by [@DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/rules_rust/pull/2290](https://togithub.com/bazelbuild/rules_rust/pull/2290) - Fix inclusion/exclusion of optional dependencies by [@kersson](https://togithub.com/kersson) in [https://github.com/bazelbuild/rules_rust/pull/2295](https://togithub.com/bazelbuild/rules_rust/pull/2295) - Add android in runtime linking support check by [@gferon](https://togithub.com/gferon) in [https://github.com/bazelbuild/rules_rust/pull/2144](https://togithub.com/bazelbuild/rules_rust/pull/2144) - Improve the error message when crate root couldn't be found. by [@hlopko](https://togithub.com/hlopko) in [https://github.com/bazelbuild/rules_rust/pull/2296](https://togithub.com/bazelbuild/rules_rust/pull/2296) - Cleanup sysroot flag by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2297](https://togithub.com/bazelbuild/rules_rust/pull/2297) - Declare dependencies in vendored crates by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2246](https://togithub.com/bazelbuild/rules_rust/pull/2246) - Use js_info macro to populate JsInfo provider (js_rust_wasm_bindgen) by [@jstuder-gh](https://togithub.com/jstuder-gh) in [https://github.com/bazelbuild/rules_rust/pull/2303](https://togithub.com/bazelbuild/rules_rust/pull/2303) - Add an option to save the json output from rustc to pass to rust-analyzer by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/1942](https://togithub.com/bazelbuild/rules_rust/pull/1942) - Replace fixedReleaser by [@scentini](https://togithub.com/scentini) in [https://github.com/bazelbuild/rules_rust/pull/2304](https://togithub.com/bazelbuild/rules_rust/pull/2304) - Updated direct dependencies by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2308](https://togithub.com/bazelbuild/rules_rust/pull/2308) - Move implementation detail settings into private module by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2305](https://togithub.com/bazelbuild/rules_rust/pull/2305) - Add a new presubmit environment for bzlmod by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2309](https://togithub.com/bazelbuild/rules_rust/pull/2309) - fix: `rustc_compile_action` emits `CcInfo` for `wasm32` targets by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/1979](https://togithub.com/bazelbuild/rules_rust/pull/1979) - NixOS added as a Platform target including a pseudo target triple by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2311](https://togithub.com/bazelbuild/rules_rust/pull/2311) - Pin repo to bazel 6.4.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2318](https://togithub.com/bazelbuild/rules_rust/pull/2318) - Allow additional targets to compile with bzlmod by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2314](https://togithub.com/bazelbuild/rules_rust/pull/2314) - Introduced `TargetTriple` newtype. by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2315](https://togithub.com/bazelbuild/rules_rust/pull/2315) - Nix example switched to using `crate_universe_dependencies(bootstrap=True)` by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuild/rules_rust/pull/2313](https://togithub.com/bazelbuild/rules_rust/pull/2313) - Release 0.33.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2319](https://togithub.com/bazelbuild/rules_rust/pull/2319) #### New Contributors - [@kersson](https://togithub.com/kersson) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2295](https://togithub.com/bazelbuild/rules_rust/pull/2295) - [@jstuder-gh](https://togithub.com/jstuder-gh) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2303](https://togithub.com/bazelbuild/rules_rust/pull/2303) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.32.0...0.33.0 ### [`v0.32.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.32.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.31.0...0.32.0) ### 0.32.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "1e7114ea2af800c6987ca38daeee13e3ae6e934875b4f7ca24b798857f95431e", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.32.0/rules_rust-v0.32.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Use a more recent rules_rust version in the Setup docs. by [@katre](https://togithub.com/katre) in [https://github.com/bazelbuild/rules_rust/pull/2274](https://togithub.com/bazelbuild/rules_rust/pull/2274) - replace pwd in rust-project.json output [#1](https://togithub.com/bazelbuild/rules_rust/issues/1) by [@ibigbug](https://togithub.com/ibigbug) in [https://github.com/bazelbuild/rules_rust/pull/2272](https://togithub.com/bazelbuild/rules_rust/pull/2272) - cargo_build_script can use rustc_env_files by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2276](https://togithub.com/bazelbuild/rules_rust/pull/2276) - Bump cargo_toml to 0.17.1 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2278](https://togithub.com/bazelbuild/rules_rust/pull/2278) - Add repin script by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2282](https://togithub.com/bazelbuild/rules_rust/pull/2282) - Default experimental_toolchain_generated_sysroot to True by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2277](https://togithub.com/bazelbuild/rules_rust/pull/2277) - crate_universe: Allow passing extra args down to crate_universe_bootstrap by [@DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/rules_rust/pull/2279](https://togithub.com/bazelbuild/rules_rust/pull/2279) - Added support for multiple javascript rule sets to wasm_bindgen package by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2284](https://togithub.com/bazelbuild/rules_rust/pull/2284) - Release 0.32.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2289](https://togithub.com/bazelbuild/rules_rust/pull/2289) #### New Contributors - [@ibigbug](https://togithub.com/ibigbug) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2272](https://togithub.com/bazelbuild/rules_rust/pull/2272) - [@DolceTriade](https://togithub.com/DolceTriade) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2279](https://togithub.com/bazelbuild/rules_rust/pull/2279) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.31.0...0.32.0 ### [`v0.31.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.31.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.30.0...0.31.0) ### 0.31.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "36ab8f9facae745c9c9c1b33d225623d976e78f2cc3f729b7973d8c20934ab95", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.31.0/rules_rust-v0.31.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Regenerated crate_universe test data by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2221](https://togithub.com/bazelbuild/rules_rust/pull/2221) - Update default resolver version in crates_universe rules by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2220](https://togithub.com/bazelbuild/rules_rust/pull/2220) - Added tracing (logging) to crate_universe by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2224](https://togithub.com/bazelbuild/rules_rust/pull/2224) - Split write_splicing_manifest and write_config_file. by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2225](https://togithub.com/bazelbuild/rules_rust/pull/2225) - Adds support for bindeps in crate universe by [@csmulhern](https://togithub.com/csmulhern) in [https://github.com/bazelbuild/rules_rust/pull/2226](https://togithub.com/bazelbuild/rules_rust/pull/2226) - Support artifact dependencies in crate.spec by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2229](https://togithub.com/bazelbuild/rules_rust/pull/2229) - Set --sysroot to sysroot generated by rust_toolchain by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2223](https://togithub.com/bazelbuild/rules_rust/pull/2223) - \[prost] includes prost crate infos in rust_analyzer_aspect by [@iamricard](https://togithub.com/iamricard) in [https://github.com/bazelbuild/rules_rust/pull/2232](https://togithub.com/bazelbuild/rules_rust/pull/2232) - Updated crate_universe dependencies by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2228](https://togithub.com/bazelbuild/rules_rust/pull/2228) - process_wrapper: write all output from rustc if json parsing fails. by [@gigaroby](https://togithub.com/gigaroby) in [https://github.com/bazelbuild/rules_rust/pull/2234](https://togithub.com/bazelbuild/rules_rust/pull/2234) - Take into account DependencyKind when collecting package target dependencies by [@dmitrii-ubskii](https://togithub.com/dmitrii-ubskii) in [https://github.com/bazelbuild/rules_rust/pull/2235](https://togithub.com/bazelbuild/rules_rust/pull/2235) - Allow passing explicit labels as select keys by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2239](https://togithub.com/bazelbuild/rules_rust/pull/2239) - Update wasm-bindgen to 0.2.88 by [@alexkirsz](https://togithub.com/alexkirsz) in [https://github.com/bazelbuild/rules_rust/pull/2240](https://togithub.com/bazelbuild/rules_rust/pull/2240) - Run "bazel run //\*:crates_vendor" by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2245](https://togithub.com/bazelbuild/rules_rust/pull/2245) - Rerun crates_vendor for additional packages by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2251](https://togithub.com/bazelbuild/rules_rust/pull/2251) - Fix docs for Bazel@HEAD by [@Wyverald](https://togithub.com/Wyverald) in [https://github.com/bazelbuild/rules_rust/pull/2250](https://togithub.com/bazelbuild/rules_rust/pull/2250) - Add configuration to mirror github releases to bazel central registry by [@kageiit](https://togithub.com/kageiit) in [https://github.com/bazelbuild/rules_rust/pull/2256](https://togithub.com/bazelbuild/rules_rust/pull/2256) - Support rustfmt on crates with generated sources by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2255](https://togithub.com/bazelbuild/rules_rust/pull/2255) - Added Rust 1.74.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2268](https://togithub.com/bazelbuild/rules_rust/pull/2268) - Fix optional dependency check when crate is renamed by [@nbdd0121](https://togithub.com/nbdd0121) in [https://github.com/bazelbuild/rules_rust/pull/2265](https://togithub.com/bazelbuild/rules_rust/pull/2265) - Release 0.31.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2270](https://togithub.com/bazelbuild/rules_rust/pull/2270) #### New Contributors - [@iamricard](https://togithub.com/iamricard) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2232](https://togithub.com/bazelbuild/rules_rust/pull/2232) - [@dmitrii-ubskii](https://togithub.com/dmitrii-ubskii) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2235](https://togithub.com/bazelbuild/rules_rust/pull/2235) - [@alexkirsz](https://togithub.com/alexkirsz) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2240](https://togithub.com/bazelbuild/rules_rust/pull/2240) - [@kageiit](https://togithub.com/kageiit) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2256](https://togithub.com/bazelbuild/rules_rust/pull/2256) - [@nbdd0121](https://togithub.com/nbdd0121) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2265](https://togithub.com/bazelbuild/rules_rust/pull/2265) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.30.0...0.31.0 ### [`v0.30.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.30.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.29.1...0.30.0) ### 0.30.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "6357de5982dd32526e02278221bb8d6aa45717ba9bbacf43686b130aa2c72e1e", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.30.0/rules_rust-v0.30.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Support cargo_bazel_bootstrap for bzlmod by [@matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2021](https://togithub.com/bazelbuild/rules_rust/pull/2021) - Fix handling of proc macro deps with multiple kinds by [@ulan](https://togithub.com/ulan) in [https://github.com/bazelbuild/rules_rust/pull/2211](https://togithub.com/bazelbuild/rules_rust/pull/2211) - Shorten test targets by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2214](https://togithub.com/bazelbuild/rules_rust/pull/2214) - Fix issues causing the `Rustc` process wrapper to be built non-determ… by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2216](https://togithub.com/bazelbuild/rules_rust/pull/2216) - Release 0.30.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2219](https://togithub.com/bazelbuild/rules_rust/pull/2219) #### New Contributors - [@ulan](https://togithub.com/ulan) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2211](https://togithub.com/bazelbuild/rules_rust/pull/2211) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.29.1...0.30.0 ### [`v0.29.1`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.29.1) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.29.0...0.29.1) ### 0.29.1 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "9ecd0f2144f0a24e6bc71ebcc50a1ee5128cedeceb32187004532c9710cb2334", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.29.1/rules_rust-v0.29.1.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Update using_cxx example to cxx 1.0.109 by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2200](https://togithub.com/bazelbuild/rules_rust/pull/2200) - Fix prost toolchain documentation typo by [@joelwachsler](https://togithub.com/joelwachsler) in [https://github.com/bazelbuild/rules_rust/pull/2202](https://togithub.com/bazelbuild/rules_rust/pull/2202) - Update rules_cc to 0.0.9 by [@toandaominh1997](https://togithub.com/toandaominh1997) in [https://github.com/bazelbuild/rules_rust/pull/2201](https://togithub.com/bazelbuild/rules_rust/pull/2201) - Add Android Platforms build flags. by [@katre](https://togithub.com/katre) in [https://github.com/bazelbuild/rules_rust/pull/2198](https://togithub.com/bazelbuild/rules_rust/pull/2198) - Refactor rustc_compile_action to construct CrateInfo internally by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2188](https://togithub.com/bazelbuild/rules_rust/pull/2188) - Remove \_rustc_env_attr from CrateInfo by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2189](https://togithub.com/bazelbuild/rules_rust/pull/2189) - Migrade rbe_ubuntu1604 to rbe_ubuntu2004 by [@coeuvre](https://togithub.com/coeuvre) in [https://github.com/bazelbuild/rules_rust/pull/2208](https://togithub.com/bazelbuild/rules_rust/pull/2208) - add compile_data attr to cargo_build_script by [@krasimirgg](https://togithub.com/krasimirgg) in [https://github.com/bazelbuild/rules_rust/pull/2203](https://togithub.com/bazelbuild/rules_rust/pull/2203) - Prep release 0.29.1 by [@krasimirgg](https://togithub.com/krasimirgg) in [https://github.com/bazelbuild/rules_rust/pull/2209](https://togithub.com/bazelbuild/rules_rust/pull/2209) #### New Contributors - [@toandaominh1997](https://togithub.com/toandaominh1997) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2201](https://togithub.com/bazelbuild/rules_rust/pull/2201) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.29.0...0.29.1 ### [`v0.29.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.29.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.28.0...0.29.0) ### 0.29.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "814680e1ab535f799fd10e8739ddca901351ceb4d2d86dd8126c22d36e9fcbd9", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.29.0/rules_rust-v0.29.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - rustdoc: respect error_format config by [@goffrie](https://togithub.com/goffrie) in [https://github.com/bazelbuild/rules_rust/pull/2166](https://togithub.com/bazelbuild/rules_rust/pull/2166) - Set up default allocator_library and global_allocator_library by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2172](https://togithub.com/bazelbuild/rules_rust/pull/2172) - Add `toolchain` parameter to the affected actions by [@kotlaja](https://togithub.com/kotlaja) in [https://github.com/bazelbuild/rules_rust/pull/2140](https://togithub.com/bazelbuild/rules_rust/pull/2140) - Make more annotations select-able by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2180](https://togithub.com/bazelbuild/rules_rust/pull/2180) - Disable Bzlmod explicitly in .bazelrc by [@meteorcloudy](https://togithub.com/meteorcloudy) in [https://github.com/bazelbuild/rules_rust/pull/2182](https://togithub.com/bazelbuild/rules_rust/pull/2182) - Refactor CrateInfo construction by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2161](https://togithub.com/bazelbuild/rules_rust/pull/2161) - Simplify CPU arch detection in get_host_triple by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/bazelbuild/rules_rust/pull/2183](https://togithub.com/bazelbuild/rules_rust/pull/2183) - Added Rust 1.73.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2184](https://togithub.com/bazelbuild/rules_rust/pull/2184) - Disable frequently failing Windows CI by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2187](https://togithub.com/bazelbuild/rules_rust/pull/2187) - Add target_compatible_with from kwargs to build_script_kwargs by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2133](https://togithub.com/bazelbuild/rules_rust/pull/2133) - Set CARGO_MANIFEST_LINKS if links is set by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2190](https://togithub.com/bazelbuild/rules_rust/pull/2190) - Use canonical labels for analysistest config_settings by [@nickgooding](https://togithub.com/nickgooding) in [https://github.com/bazelbuild/rules_rust/pull/2191](https://togithub.com/bazelbuild/rules_rust/pull/2191) - \[prost] Fix handling of message names with acronyms by [@william-smith-skydio](https://togithub.com/william-smith-skydio) in [https://github.com/bazelbuild/rules_rust/pull/2193](https://togithub.com/bazelbuild/rules_rust/pull/2193) - \[prost] Handle argfiles by [@william-smith-skydio](https://togithub.com/william-smith-skydio) in [https://github.com/bazelbuild/rules_rust/pull/2194](https://togithub.com/bazelbuild/rules_rust/pull/2194) - Improvements to better support cxx by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2192](https://togithub.com/bazelbuild/rules_rust/pull/2192) - Prep release 0.29.0 by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2197](https://togithub.com/bazelbuild/rules_rust/pull/2197) #### New Contributors - [@nickgooding](https://togithub.com/nickgooding) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2191](https://togithub.com/bazelbuild/rules_rust/pull/2191) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.28.0...0.29.0 ### [`v0.28.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.28.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.27.0...0.28.0) ### 0.28.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "c46bdafc582d9bd48a6f97000d05af4829f62d5fee10a2a3edddf2f3d9a232c1", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.28.0/rules_rust-v0.28.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Remove cfg exec from link_deps attribute by [@kalcutter](https://togithub.com/kalcutter) in [https://github.com/bazelbuild/rules_rust/pull/2148](https://togithub.com/bazelbuild/rules_rust/pull/2148) - Bump min Bazel version to 6.3 by [@scentini](https://togithub.com/scentini) in [https://github.com/bazelbuild/rules_rust/pull/2150](https://togithub.com/bazelbuild/rules_rust/pull/2150) - Remove usage of grep_includes by [@kotlaja](https://togithub.com/kotlaja) in [https://github.com/bazelbuild/rules_rust/pull/2072](https://togithub.com/bazelbuild/rules_rust/pull/2072) - Added github action to publish cargo-bazel binaries. by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2134](https://togithub.com/bazelbuild/rules_rust/pull/2134) - Add missing comma in nightly's example in index.md by [@dayfine](https://togithub.com/dayfine) in [https://github.com/bazelbuild/rules_rust/pull/2151](https://togithub.com/bazelbuild/rules_rust/pull/2151) - cargo_build_scripts can be run from custom directories by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2152](https://togithub.com/bazelbuild/rules_rust/pull/2152) - Handle files from external repos (fix breaking change in Bazel 3.7.0) by [@jgsogo](https://togithub.com/jgsogo) in [https://github.com/bazelbuild/rules_rust/pull/2138](https://togithub.com/bazelbuild/rules_rust/pull/2138) - Fix prost documentation errors by [@joelwachsler](https://togithub.com/joelwachsler) in [https://github.com/bazelbuild/rules_rust/pull/2093](https://togithub.com/bazelbuild/rules_rust/pull/2093) - Use cc_toolchain.linker_files() for files required at linking steps by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2165](https://togithub.com/bazelbuild/rules_rust/pull/2165) - Added Rust 1.72.1 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2163](https://togithub.com/bazelbuild/rules_rust/pull/2163) - Export bindgen rules through `@rules_rust//bindgen:defs.bzl` by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2054](https://togithub.com/bazelbuild/rules_rust/pull/2054) - Revert "Flip experimental_use_coverage_metadata_files" by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2164](https://togithub.com/bazelbuild/rules_rust/pull/2164) - Release 0.28.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2167](https://togithub.com/bazelbuild/rules_rust/pull/2167) #### New Contributors - [@kotlaja](https://togithub.com/kotlaja) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2072](https://togithub.com/bazelbuild/rules_rust/pull/2072) - [@dayfine](https://togithub.com/dayfine) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2151](https://togithub.com/bazelbuild/rules_rust/pull/2151) - [@jgsogo](https://togithub.com/jgsogo) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2138](https://togithub.com/bazelbuild/rules_rust/pull/2138) - [@joelwachsler](https://togithub.com/joelwachsler) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2093](https://togithub.com/bazelbuild/rules_rust/pull/2093) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.27.0...0.28.0 ### [`v0.27.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.27.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.26.0...0.27.0) ### 0.27.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "db89135f4d1eaa047b9f5518ba4037284b43fc87386d08c1d1fe91708e3730ae", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.27.0/rules_rust-v0.27.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Add `experimental_symlink_execroot` for `cargo_build_script`. by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2085](https://togithub.com/bazelbuild/rules_rust/pull/2085) - Fix doc for proc_macro_deps attr by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2095](https://togithub.com/bazelbuild/rules_rust/pull/2095) - Fix typo in rust_proto documentation by [@ryanpbrewster](https://togithub.com/ryanpbrewster) in [https://github.com/bazelbuild/rules_rust/pull/2099](https://togithub.com/bazelbuild/rules_rust/pull/2099) - Make proc macros' "data" available in compile_data of crates that use macro by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2097](https://togithub.com/bazelbuild/rules_rust/pull/2097) - Update platforms by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_rust/pull/2111](https://togithub.com/bazelbuild/rules_rust/pull/2111) - Option to generate extra targets with crate_universe by [@adsnaider](https://togithub.com/adsnaider) in [https://github.com/bazelbuild/rules_rust/pull/2103](https://togithub.com/bazelbuild/rules_rust/pull/2103) - Remove `mandatory = True` from the `prost_plugin_flag` attribute in `rust_prost_toolchain`. by [@thb-sb](https://togithub.com/thb-sb) in [https://github.com/bazelbuild/rules_rust/pull/2110](https://togithub.com/bazelbuild/rules_rust/pull/2110) - Cleanup args construction by [@dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/bazelbuild/rules_rust/pull/2122](https://togithub.com/bazelbuild/rules_rust/pull/2122) - Add crate_name attribute by [@daivinhtran](https://togithub.com/daivinhtran) in [https://github.com/bazelbuild/rules_rust/pull/2118](https://togithub.com/bazelbuild/rules_rust/pull/2118) - Make @using_cxx example buildable on Windows by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2114](https://togithub.com/bazelbuild/rules_rust/pull/2114) - Fix rust_doc_test dependency to allow either rust_library or cc_library by [@HackAttack](https://togithub.com/HackAttack) in [https://github.com/bazelbuild/rules_rust/pull/2112](https://togithub.com/bazelbuild/rules_rust/pull/2112) - Read default annotation values from package's Cargo.toml metadata by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2124](https://togithub.com/bazelbuild/rules_rust/pull/2124) - Fill in some crate metadata for publishing cargo-bazel to crates.io by [@dtolnay](https://togithub.com/dtolnay) in [https://github.com/bazelbuild/rules_rust/pull/2132](https://togithub.com/bazelbuild/rules_rust/pull/2132) - Add TemplateVariableInfo for build script toolchains attribute. by [@granaghan](https://togithub.com/granaghan) in [https://github.com/bazelbuild/rules_rust/pull/2123](https://togithub.com/bazelbuild/rules_rust/pull/2123) - Fix a typo in the `rust_proto` documentation. by [@thb-sb](https://togithub.com/thb-sb) in [https://github.com/bazelbuild/rules_rust/pull/2109](https://togithub.com/bazelbuild/rules_rust/pull/2109) - Flip experimental_use_coverage_metadata_files by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2128](https://togithub.com/bazelbuild/rules_rust/pull/2128) - Added Rust 1.72.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2127](https://togithub.com/bazelbuild/rules_rust/pull/2127) - crate_universe: Allow platform-specific build script env vars by [@illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2139](https://togithub.com/bazelbuild/rules_rust/pull/2139) - Update rules_apple by [@keith](https://togithub.com/keith) in [https://github.com/bazelbuild/rules_rust/pull/2137](https://togithub.com/bazelbuild/rules_rust/pull/2137) - Release 0.27.0 by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2130](https://togithub.com/bazelbuild/rules_rust/pull/2130) #### New Contributors - [@ryanpbrewster](https://togithub.com/ryanpbrewster) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2099](https://togithub.com/bazelbuild/rules_rust/pull/2099) - [@adsnaider](https://togithub.com/adsnaider) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2103](https://togithub.com/bazelbuild/rules_rust/pull/2103) - [@dzbarsky](https://togithub.com/dzbarsky) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2122](https://togithub.com/bazelbuild/rules_rust/pull/2122) - [@HackAttack](https://togithub.com/HackAttack) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2112](https://togithub.com/bazelbuild/rules_rust/pull/2112) **Full Changelog**: https://github.com/bazelbuild/rules_rust/compare/0.26.0...0.27.0 ### [`v0.26.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.26.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.25.1...0.26.0) ### 0.26.0 ```python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", sha256 = "9d04e658878d23f4b00163a72da3db03ddb451273eb347df7d7c50838d698f49", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.26.0/rules_rust-v0.26.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Have the prost process wrapper print warnings to stderr by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2053](https://togithub.com/bazelbuild/rules_rust/pull/2053) - Enable rustfmt in bindgen toolchains by default by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2055](https://togithub.com/bazelbuild/rules_rust/pull/2055) - Removed legacy `//proto:*.bzl` files and updated docs by [@UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2057](https://togithub.com/bazelbuild/rules_rust/pull/2057) - Improve handling of build.rs link dependencies by [@coffinmatician](https://togithub.com/coffinmatician) in [https://github.com/bazelbuild/rules_rust/pull/1970](https://togithub.com/bazelbuild/rules_rust/pull/1970) - Add `opt_level` argument to `rust_repository_set`. by [@konkers](https://togithub.com/konkers) in [https://github.com/bazelbuild/rules_rust/pull/2036](https://togithub.com/bazelbuild/rules_rust/pull/2036) - Update dependencies versions by [@rickvanprim](https://togithub.com/rickvanprim) in [https://github.com/bazelbuConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.