bazel-example-rust
An example repository demonstrating Bazel rust_binary and rust_library build targets. (by laramiel)
rules_jvm
Contributed Bazel rules that make working with java projects more pleasant (by bazel-contrib)
bazel-example-rust | rules_jvm | |
---|---|---|
1 | 2 | |
4 | 39 | |
- | - | |
10.0 | 7.9 | |
about 8 years ago | 10 days ago | |
Python | Java | |
- | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bazel-example-rust
Posts with mentions or reviews of bazel-example-rust.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-24.
-
Scaling Rust Builds with Bazel
I think this would have been useful with some code. My experience with Bazel is that you need a BUILD file in each subdirectory or something like that and every time I add a file I have to add it to that BUILD file.
Exceedingly tedious to use and has poor support in Clion.
It is likely that I don't have the constraints that this company has.
I found an example repo for rust and Bazel and it is just as tedious as I recall https://github.com/laramiel/bazel-example-rust
rules_jvm
Posts with mentions or reviews of rules_jvm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-24.
-
Scaling Rust Builds with Bazel
It is super tedious but for some languages a tool called Gazelle can auto-generate these for you. I know Go works well and there is a Java plugin too [0]. There is definitely some level rust support because that is how external crates are handled.
0 - https://github.com/bazel-contrib/rules_jvm/tree/main/java/ga...
-
First Bazel project. WORKSPACE questions.
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "contrib_rules_jvm", sha256 = "59af045d288ad3e2d9000b1cddb1135f889d798830f7106a4792cc95427bcd99", strip_prefix = "rules_jvm-0.7.0", url = "https://github.com/bazel-contrib/rules_jvm/archive/refs/tags/v0.7.0.zip", ) # Fetches the contrib_rules_jvm dependencies. # If you want to have a different version of some dependency, # you should fetch it *before* calling this. load("@contrib_rules_jvm//:repositories.bzl", "contrib_rules_jvm_deps") contrib_rules_jvm_deps() # Now ensure that the downloaded deps are properly configured load("@contrib_rules_jvm//:setup.bzl", "contrib_rules_jvm_setup") contrib_rules_jvm_setup()
What are some alternatives?
When comparing bazel-example-rust and rules_jvm you can also consider the following projects:
opentelemetry-cpp - The OpenTelemetry C++ Client
depot - @ghuntley's personal monorepo [Moved to: https://github.com/ghuntley/ghuntley]
bazel - Correct, reproducible, and fast builds for everyone.
librunecoral
bazel-ex-20230324
magma - Platform for building access networks and modular network services
buck2 - Build system, successor to Buck
envoy - Cloud-native high-performance edge/middle/service proxy
bazel-example-rust vs opentelemetry-cpp
rules_jvm vs opentelemetry-cpp
bazel-example-rust vs depot
rules_jvm vs bazel
bazel-example-rust vs librunecoral
rules_jvm vs librunecoral
bazel-example-rust vs bazel
rules_jvm vs depot
bazel-example-rust vs bazel-ex-20230324
rules_jvm vs magma
bazel-example-rust vs buck2
rules_jvm vs envoy