0.46.0
0.46.0
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-F8U7+AC5MvMtPKGdLLnorVM84cDXKfDRgwd7/dq3rUY=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.46.0/rules_rust-v0.46.0.tar.gz"],
)
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- fix: default rustfmt version to supplied rust version by @mattem in #2660
- Use repo-mapping-aware runfiles API in rust-analyzer by @dzbarsky in #2666
- Fix protobuf generated srcs to include all sources by @matts1 in #2676
- Fix cargo_build_script executables. by @matts1 in #2675
- crate_universe: Don't include crate name in build script path. by @criemen in #2663
- Ensure dynamic library dependencies end up in the runfiles directory by @EdSchouten in #2671
- use bazel_ci_rules bazel_dep instead of http_archive by @mmorel-35 in #2678
- Ensure that running
bazel build
on a cargo_build_script target actually runs the build script by @matts1 in #2680 - Allow overriding crate universe packages to local packages by @ograff in #2674
- Depend on a copy of rustfmt for the target by @EdSchouten in #2685
- [Bugfix] Convert metadata keys to screaming snake case instead of screaming kebab case in
cargo_build_script_runner
by @Pagten in #2682 - Add support for override_target when using bzlmod by @AmeliasCode in #2683
- Release 0.46.0 by @illicitonion in #2686
New Contributors
- @mattem made their first contribution in #2660
- @EdSchouten made their first contribution in #2671
- @mmorel-35 made their first contribution in #2678
- @ograff made their first contribution in #2674
- @Pagten made their first contribution in #2682
Full Changelog: 0.45.1...0.46.0