0.57.0
0.57.0
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
bazel_dep(name = "rules_rust", version = "0.57.0")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-cefSsSsYM5EzZEM1sxsVHa7bXYWLvtF0/h3GFe8I6iM=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.57.0/rules_rust-0.57.0.tar.gz"],
)
Extensions
Bindgen
Bzlmod
bazel_dep(name = "rules_rust_bindgen", version = "0.57.0")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_bindgen",
integrity = "sha256-cefSsSsYM5EzZEM1sxsVHa7bXYWLvtF0/h3GFe8I6iM=",
strip_prefix = "extensions/bindgen",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.57.0/rules_rust-0.57.0.tar.gz"],
)
MdBook
Bzlmod
bazel_dep(name = "rules_rust_mdbook", version = "0.57.0")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_mdbook",
integrity = "sha256-cefSsSsYM5EzZEM1sxsVHa7bXYWLvtF0/h3GFe8I6iM=",
strip_prefix = "extensions/mdbook",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.57.0/rules_rust-0.57.0.tar.gz"],
)
Prost
Bzlmod
bazel_dep(name = "rules_rust_prost", version = "0.57.0")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_prost",
integrity = "sha256-cefSsSsYM5EzZEM1sxsVHa7bXYWLvtF0/h3GFe8I6iM=",
strip_prefix = "extensions/prost",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.57.0/rules_rust-0.57.0.tar.gz"],
)
Protobuf
Bzlmod
bazel_dep(name = "rules_rust_protobuf", version = "0.57.0")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_protobuf",
integrity = "sha256-cefSsSsYM5EzZEM1sxsVHa7bXYWLvtF0/h3GFe8I6iM=",
strip_prefix = "extensions/protobuf",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.57.0/rules_rust-0.57.0.tar.gz"],
)
Wasm-Bindgen
Bzlmod
bazel_dep(name = "rules_rust_wasm_bindgen", version = "0.57.0")
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_wasm_bindgen",
integrity = "sha256-cefSsSsYM5EzZEM1sxsVHa7bXYWLvtF0/h3GFe8I6iM=",
strip_prefix = "extensions/wasm_bindgen",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.57.0/rules_rust-0.57.0.tar.gz"],
)
What's Changed
- Added documentation for all rules_rust settings by @UebelAndre in #3114
- Add test for editing patch Cargo.toml files by @illicitonion in #3063
- Rerun repository rule if manifests changed by @illicitonion in #3117
- Remove the unused implicit attribute
_cc_toolchains
. by @katre in #3116 - Added
codegen_units
flag for settingRustc
resource sets by @UebelAndre in #3112 - Remove crosstool files by @katre in #3118
- Added bzlmod support to rust-analyzer tests by @UebelAndre in #3125
- Look up CARGO_BAZEL_GENERATOR_PATH correctly by @HackAttack in #2088
- Added render_config and splicing_config to create_universe bzlmod by @UebelAndre in #3136
- Migrate sys example to bzlmod by @UebelAndre in #3130
- Updated clippy and rustfmt failure tests to use bzlmod by @UebelAndre in #3131
- Cleanup bazel_env example. by @UebelAndre in #3134
- Consolidated docs for crate_universe by @UebelAndre in #3138
- fix: add 'manual' option for
//rust/settings/lto
by @ParkMyCar in #3120 - Migrate ffi examples to bzlmod by @UebelAndre in #3129
- Bump min tested Bazel version to 7.4.1 by @UebelAndre in #3140
- workspace: Pay attention to members by @illicitonion in #3102
- Ignore symlinks in workspace discovery by @illicitonion in #3142
- Warn less by @illicitonion in #3145
- Updated crates_vendor rule to accurately use runfiles by @UebelAndre in #3146
- Consolidate example packages by @UebelAndre in #3144
- Remove rules_foreign_cc example by @UebelAndre in #3151
- Bump llvm-project module to include upstreamed patch by @UebelAndre in #3149
- Make lto toolchain options public and don't link proc-macros with LTO by @havasd in #3147
- Update hello_comp_opt example with new LTO settings by @havasd in #3155
- Replace symlinks in the output of cargo build scripts by @havasd in #3067
- Updated crate_universe bzlmod to support skipping splicing by @UebelAndre in #3148
- Fixed crate_universe examples not vendoring consistent crate versions by @UebelAndre in #3169
- feat: Add
rust_lint_group
andcargo_lints
rule to define lint groups by @ParkMyCar in #2993 - Generate docs from source. by @UebelAndre in #3152
- Migrated Android example to bzlmod by @UebelAndre in #3133
- Added
cargo_manifest_dir
submodule tocargo_build_script_runner
. by @UebelAndre in #3161 - Marked various extensions as reproducible to reduce bzlmod lock size by @UebelAndre in #3164
- Added missing modules to various workspaces by @UebelAndre in #3175
- Pin non-bzlmod tests to Bazel 7 by @UebelAndre in #3173
- Run
bazel mod tidy
after vendoring crate_universe outputs by @UebelAndre in #3177 - Add support for UEFI targets and OS by @lorenz in #2142
- Add documentation about using binary dependencies in crate_universe by @havasd in #3183
- Improve handling of compile_data with mixed sources by @martingms in #3176
- Updated crate_universe depednencies by @UebelAndre in #3182
- Add objective-c and java to clang-format by @UebelAndre in #3154
- Delete rules_nodejs rules from wasm_bindgen by @UebelAndre in #3153
- Migrated iOS examples to bzlmod by @UebelAndre in #3132
- Fix toolchain repo aliases and add a test. by @sputt in #3181
- Added Rust 1.84.0 by @UebelAndre in #3179
- Don't register rust_host_tools twice by @hauserx in #3188
- Release 0.57.0 by @UebelAndre in #3165
- Fix crate_universe release action for MacOS by @UebelAndre in #3190
New Contributors
- @havasd made their first contribution in #3147
- @lorenz made their first contribution in #2142
- @martingms made their first contribution in #3176
Full Changelog: 0.56.0...0.57.0