Fix crate_universe's `all_crate_deps` and `aliases` functions failing in case the crate's Cargo.toml has condtional dependencies (#2018) * add example with conditional platform-dependent dependency to demonstrate usecase from https://github.com/bazelbuild/rules_rust/issues/1880 * fix _CONDITIONS list values was used as a dict keys * pass platforms value to module_bzl which is the conditions map with plaform_template applyed to it's values * update crates_vendor with chages in rendering * fix formatting * execute buildifier * add default condition for selects.with_or in all_crate_deps * repin deps for cargo_conditional_deps example --------- Co-authored-by: k1nkreet <polyakovskiy.ilya@gmail.com> Co-authored-by: UebelAndre <github@uebelandre.com>
This repository provides rules for building Rust projects with Bazel.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.
Please refer to the full documentation.