1# rules_rust with bazel_env 2 3This example uses [bazel_env.bzl](https://github.com/buildbuddy-io/bazel_env.bzl) to 4provide `cargo`, `cargo-clippy`, `rustc` and `rustfmt` from the bazel toolchains 5to the user. They will be available directly in the PATH when the user 6enters this directory and has [direnv](https://direnv.net/) set up. 7 8Advantages: 9 10- The user doesn't have to install the toolchains themselves. 11- The tool versions will always match exactly those that bazel uses. 12