Releases: bazelbuild/rules_rust
0.55.1
0.55.1
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
Not published.
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-sZE3UChEimlTIEbpAdjm5iemsA1YvseQJ6BcHT4JDQA=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.55.1/rules_rust-0.55.1.tar.gz"],
)Extensions
Bindgen
Bzlmod
Not published.
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_bindgen",
integrity = "sha256-hmxnyxdpcc3l2TXcLEwh6HdxjKePH7wwuWmfQSBfWBU=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.55.1/rules_rust_bindgen-0.55.1.tar.gz"],
)Prost
Bzlmod
Not published.
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_prost",
integrity = "sha256-JcThy2iGBxUu7+hgr2JBW8E602URdDyNW8oJTEwJQr0=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.55.1/rules_rust_prost-0.55.1.tar.gz"],
)Protobuf
Bzlmod
Not published.
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_protobuf",
integrity = "sha256-/TuQsepwVp1dDDup1Ue67GLcUR763Bn7H5btvqR/Xbs=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.55.1/rules_rust_protobuf-0.55.1.tar.gz"],
)Wasm-Bindgen
Bzlmod
Not published.
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_wasm_bindgen",
integrity = "sha256-/U6uMLnN3G94qJuoni5OAyvoY3lGhGpDeZ/hMBvtyeY=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.55.1/rules_rust_wasm_bindgen-0.55.1.tar.gz"],
)What's Changed
- Revert "Run CI without building runfiles links" by @UebelAndre in #3054
- Added missing CI for prost by @UebelAndre in #3053
- Added test to ensure extension rules pin the right rules_rust version by @UebelAndre in #3052
- Release 0.55.1 by @UebelAndre in #3051
Full Changelog: 0.55.0...0.55.1
0.55.0
0.55.0
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
Bzlmod
Not published.
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-+ETFhat8dugqC27Vq9WVUIud2AdBGerXW8S8msBSU6E=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.55.0/rules_rust-0.55.0.tar.gz"],
)Extensions
Bindgen
Bzlmod
Not published.
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_bindgen",
integrity = "sha256-mrBcoKl5B8EYU5FJWThNHZ+rgUsnxgVcI6yyHDlKFl8=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.55.0/rules_rust_bindgen-0.55.0.tar.gz"],
)Prost
Bzlmod
Not published.
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_prost",
integrity = "sha256-7ka9wQosOI/J/1ZK5r5/Z7rizcAhpQYAISy6MeCuWV4=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.55.0/rules_rust_prost-0.55.0.tar.gz"],
)Protobuf
Bzlmod
Not published.
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_protobuf",
integrity = "sha256-QhHUbpOG2x2lsh6uBpEkFRVOGLl8nA8Mm3uE9KQpt3g=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.55.0/rules_rust_protobuf-0.55.0.tar.gz"],
)Wasm-Bindgen
Bzlmod
Not published.
WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust_wasm_bindgen",
integrity = "sha256-gUj52p1Q89m9oR2k8PBJ6fmS9N1skOd7efm+6FwyYfk=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.55.0/rules_rust_wasm_bindgen-0.55.0.tar.gz"],
)What's Changed
- Add opt-out from merging cc_lib object files in bindgen by @hlopko in #2959
- Add proc_macro_deps for rust_doc_test by @erenon in #2928
- feat: add extra rustc flags to bzlmod by @finn-ball in #2996
- feat: add extra_rustc_flags_triples by @finn-ball in #2999
- Update macos presubmit runners to macos_arm64 by @UebelAndre in #3000
- Update rust build rules to use dict union rather than adding dict_items by @pefoley2 in #3003
- Write protoc args to a file to avoid windows argument length limits. by @freeformstu in #3009
- Reduce number of jobs run in BazelCI by @UebelAndre in #3010
- provide flag to exclude data at compile time by @ajwerner in #3005
- Add example with a non-workspace Cargo.toml by @illicitonion in #3019
- Moved rust extension rules into a separate workspaces. by @UebelAndre in #3007
- Bump various dependencies by @UebelAndre in #3002
- Moved cargo_build_script test into appropriate dir. by @UebelAndre in #3024
- Update cross_rs by @UebelAndre in #3026
- Drop references to
wasm-wasiby @UebelAndre in #3027 - rust_analyzer: make all paths in rust-project.json absolute by @sam-mccall in #3033
- Added Rust 1.83.0 by @UebelAndre in #3029
- Migrate all settings labels from aliases to using settings package by @UebelAndre in #3032
- Pass HOME env var when fetching version by @mvukov in #2698
- Added bzlmod support to core rules_rust by @UebelAndre in #3034
- Shorten wasm_bindgen dependency repo prefix by @UebelAndre in #3036
- Added support for compact windows repository names, avoiding MAX_PATH by @UebelAndre in #3023
- Added bzlmod support to all extension rules. by @UebelAndre in #3037
- Allow rust_wasm_bindgen rules to re-expose rust-analyzer providers by @UebelAndre in #3035
- External path dependencies work by @illicitonion in #3025
- Regenerated crate_universe outputs. by @UebelAndre in #3043
- rust_analyzer: don't build a tree of RustAnalyzerInfos by @sam-mccall in #3028
- Remove accidental double backticks by @illicitonion in #3044
- Improve workspace discovery logic by @illicitonion in #3030
- Bumped various crate_universe dependencies by @UebelAndre in #3046
- Revert "Pin to Bazel 7.3.2" by @UebelAndre in #2998
- Added additional formatters to CI by @UebelAndre in #3048
- crate_universe Release 0.16.0 by @UebelAndre in #3047
- Release 0.55.0 by @UebelAndre in #3042
- Fix release workflow on macos by @UebelAndre in #3049
- Run CI without building runfiles links by @UebelAndre in #2340
- Fix missing bzlmod extensions by @UebelAndre in #3050
New Contributors
- @finn-ball made their first contribution in #2996
- @pefoley2 made their first contribution in #3003
- @ajwerner made their first contribution in #3005
Full Changelog: 0.54.1...0.55.0
0.54.1
0.54.1
Bzlmod
bazel_dep(name = "rules_rust", version = "0.54.1")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-r09Wyq5QqZpov845sUG1Cd1oVIyCBLmKt6HK/JTVuwI=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.54.1/rules_rust-v0.54.1.tar.gz"],
)Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Fix bzlmod support for bazel 6 by @illicitonion in #2989
Full Changelog: 0.54.0...0.54.1
0.54.0
0.54.0
Bzlmod
bazel_dep(name = "rules_rust", version = "0.54.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-e46nr3+xbcSiMitKC3yeH6BUtNv59tBYTkO+f3zGqWs=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.54.0/rules_rust-v0.54.0.tar.gz"],
)Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Fix fuchsia platform triple by @UebelAndre in #2945
- Make crate module extension os and arch dependent by @cerisier in #2939
- add a Source::parse arm for sparse repos (keeping it in the scheme). … by @sthornington in #2950
- Added Rust 1.82.0 by @UebelAndre in #2944
- Updated Bazelmod cross compilation to catch MacOS sys dependency issues by @marvin-hansen in #2926
- Pin to Bazel 7.3.2 by @illicitonion in #2957
- Flipped
incompatible_runfiles_cargo_manifest_dirby @UebelAndre in #2948 - Remove duplicate build metadata depset by @cerisier in #2954
- Add per-target link flags in the right place by @illicitonion in #2963
- rust_test(crate=foo) inherits foo.aliases by @sam-mccall in #2965
- Add support for wasm32-wasip1 target. by @PiotrSikora in #2967
- Make toolchain vars available but don't automatically set them by @illicitonion in #2969
- Bring back splicing_config for crate_universe module extension by @cerisier in #2971
- feat: add an attr to rust_binary for customization of the binary name by @mattem in #2970
- Add aliases attribute to rust tag class. by @sputt in #2975
- Made
cargo_build_scriptstreamsoutput group optional. by @UebelAndre in #2976 - A rust_test_suite(srcs=[]) should be empty. by @sam-mccall in #2966
- Remove dependency on spectral by @dzbarsky in #2964
- Remove tera optional features by @dzbarsky in #2984
- Fix annotations' crate.select for lists by @nmattia in #2981
- Stop using config.string(allow_multiple = True) by @EdSchouten in #2983
- Remove duplication of rustc_flags introduced in 4e593b6 by @sam-mccall in #2987
- Added utility library for parsing workspace status stamps. by @UebelAndre in #2982
- Added
cargo_configattribute tocargo_bootstrap_repository. by @UebelAndre in #2986 - Release 0.54.0 by @UebelAndre in #2979
New Contributors
- @sthornington made their first contribution in #2950
- @sam-mccall made their first contribution in #2965
- @sputt made their first contribution in #2975
Full Changelog: 0.53.0...0.54.0
0.53.0
0.53.0
Bzlmod
bazel_dep(name = "rules_rust", version = "0.53.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-heIBNyerJvsiq9/+SyrAwnotW2KWFnumPY9uExQPUfk=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.53.0/rules_rust-v0.53.0.tar.gz"],
)Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Add target specific rustc_flags last to the command line by @erenon in #2927
- cargo_build_script: add some tests for the cc_args_and_env processing by @krasimirgg in #2931
- Update
BUILD.bazellocation by @emmanuel-ferdman in #2937 - Update wasm_bindgen to non-deprecated rules_js API by @dzbarsky in #2934
- cargo_build_script: Add support for
-fsanitize-ignorelist=by @vitalybuka in #2935 - cargo_build_script: Add regression test for revert #2925 by @vitalybuka in #2936
- [Prost] Remove extra generated modules and opt-in to transitively including deps by @freeformstu in #2943
- gen_rust_project: optimize aquery with many targets by @TheLortex in #2941
- Release version 53.0 by @freeformstu in #2949
New Contributors
- @erenon made their first contribution in #2927
- @emmanuel-ferdman made their first contribution in #2937
- @TheLortex made their first contribution in #2941
Full Changelog: 0.52.2...0.53.0
0.52.2
0.52.2
Bzlmod
bazel_dep(name = "rules_rust", version = "0.52.2")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-Zx3bP+Xrz53TTQUeynNS+68z+lO/Ye7Qt1pMNIKeVIA=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.52.2/rules_rust-v0.52.2.tar.gz"],
)Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Restore lost "is_absolute" by @vitalybuka in #2922
- Revert #2911 and #2922 by @UebelAndre in #2925
Full Changelog: 0.52.1...0.52.2
0.52.1
0.52.1
Bzlmod
bazel_dep(name = "rules_rust", version = "0.52.1")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-CRrEsKZ7wlLCyE2Eu7lBq3mrwecfvTIk2kr9+6c3VPA=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.52.1/rules_rust-v0.52.1.tar.gz"],
)Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Add missing inputs to CargoBuildScriptRun action by @UebelAndre in #2918
- Avoid builds-without-the-bytes bug on Windows by @UebelAndre in #2919
- Release 0.52.1 by @UebelAndre in #2920
Full Changelog: 0.52.0...0.52.1
0.52.0
0.52.0
Bzlmod
bazel_dep(name = "rules_rust", version = "0.52.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-eTHntUQQe2ICm/L8cuefnXdSOtZQ1ELZPD/M6a1ewes=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.52.0/rules_rust-v0.52.0.tar.gz"],
)Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Allowlist more clang flags in bindgen by @hlopko in #2902
- Allow
+in repo names by @fmeum in #2908 - Added utility for parsing action Args param files by @UebelAndre in #2897
- Updated platform triple mapping to support T3 platforms without
std. by @UebelAndre in #2899 - Fix
override_targetskeys in docs by @max-heller in #2905 - Use absolute path with "-fsanitize-ignorelist" by @vitalybuka in #2911
- Fix platform validation for wasm32-wasip1 target by @c16a in #2894
- Update
cargo_build_scriptto always render custom runfiles dirs. by @UebelAndre in #2891 - Check target tags before ignore tags for lint/fmt aspects by @UebelAndre in #2913
- Get rolling releases CI green by @illicitonion in #2916
- Avoid uses of shell to improve Windows tests by @UebelAndre in #2912
- Prep release 0.52.0 by @illicitonion in #2910
New Contributors
- @fmeum made their first contribution in #2908
- @max-heller made their first contribution in #2905
- @vitalybuka made their first contribution in #2911
- @c16a made their first contribution in #2894
Full Changelog: 0.51.0...0.52.0
0.51.0
0.51.0
Bzlmod
bazel_dep(name = "rules_rust", version = "0.51.0")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-BCrPtzRpstGEj+FI2Bw0IsYepHqeGQDxyew29R6OcZM=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.51.0/rules_rust-v0.51.0.tar.gz"],
)Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Promote experimental_toolchain_generated_sysroot to non-experimental by @krasimirgg in #2849
- Propagate
cargo_build_script.datatoRustccompile actions by @UebelAndre in #2856 - Build
rust_testtargets using a crate name different from the underlying lib by @felipeamp in #2828 - Allow
crates_vendorto read theCARGO_BAZEL_DEBUGenv var by @UebelAndre in #2862 - crate_universe: Don't preform path translation on
out_dirby @konkers in #2844 - Allow bzlmod users to inhibit toolchain registration by @konkers in #2819
- Add wasm64 support. by @freeformstu in #2866
- Update crate_universe to determine dep+feature trees per host by @UebelAndre in #2877
- Added tests for
runfiles::parse_repo_mappingby @UebelAndre in #2869 - Move all settings flags into
//rust/settingsby @UebelAndre in #2870 - Update bindgen version to 0.70.1 by @UebelAndre in #2872
- Fix runfiles creation for directory based runfiles. by @UebelAndre in #2883
- crate_universe release 0.15.0 by @UebelAndre in #2880
- Update
cargo_build_scriptto work without runfiles support. by @UebelAndre in #2871 - Revert "Update
cargo_build_scriptto work without runfiles support (#2871)" by @UebelAndre in #2885 - Fix keyword handling in prost wrapper by @purkhusid in #2888
- Improved various tests to be more compatible on Windows by @UebelAndre in #2886
- Document upstream tooling wrappers by @illicitonion in #2890
- Update
cargo_build_scriptto work without runfiles support. by @UebelAndre in #2887 - Release 0.51.0 by @UebelAndre in #2881
New Contributors
- @purkhusid made their first contribution in #2888
Full Changelog: 0.50.1...0.51.0
0.50.1
0.50.1
Bzlmod
bazel_dep(name = "rules_rust", version = "0.50.1")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_rust",
integrity = "sha256-MZscNcESBO9WsdlKVJ9rnTUygTt3jwLXCe9oyDcDbPE=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.50.1/rules_rust-v0.50.1.tar.gz"],
)Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup
What's Changed
- Update crate universe to generate build script targets with compile data by @UebelAndre in #2855
- Release 0.50.1 by @UebelAndre in #2857
Full Changelog: 0.50.0...0.50.1