bazelbuild / rules_rust

Rust rules for Bazel
https://bazelbuild.github.io/rules_rust/
Apache License 2.0
659 stars 424 forks source link

Add cargo_crate repository rule #2

Closed davidzchen closed 3 years ago

davidzchen commented 8 years ago

Add a cargo_crate repository rule for fetching Rust crates from Cargo.io.

UebelAndre commented 3 years ago

Understanding there's a sort of bootstrapping issue, I think it'd still be worth getting the code in. Maybe BuildKite has a way to build artifacts and commit them back to the repo?

illicitonion commented 3 years ago

I think it's time to open a PR for this then 😄 So we can appropriately comment on the changes.

I just created https://github.com/bazelbuild/rules_rust/pull/598 adding the crate_universe rule to //cargo:repositories.bzl :)

UebelAndre commented 3 years ago

@illicitonion @hlopko I think this issue could be closed now that https://github.com/bazelbuild/rules_rust/pull/598 is in

hlopko commented 3 years ago

Makes sense to me. Please complain if anybody disagrees :)