update to cargo-raze 0.8.0 release

This commit is contained in:
Damien Elmes 2020-12-18 11:56:56 +10:00
parent 71f742aa56
commit 91a9307c39
2 changed files with 8 additions and 7 deletions

View file

@ -14,6 +14,7 @@ path = "src/lib.rs"
[package.metadata.raze] [package.metadata.raze]
workspace_path = "//cargo" workspace_path = "//cargo"
package_aliases_dir = "cargo" package_aliases_dir = "cargo"
rust_rules_workspace_name = "io_bazel_rules_rust"
# pull requests that add other targets (eg Arm Linux, FreeBSD) welcome - you'll # pull requests that add other targets (eg Arm Linux, FreeBSD) welcome - you'll
# need to update platforms/, BUILD.request.bazel and pylib/anki/BUILD.bazel as # need to update platforms/, BUILD.request.bazel and pylib/anki/BUILD.bazel as

View file

@ -1,16 +1,16 @@
This folder integrates Rust crates.io fetching into Bazel. This folder integrates Rust crates.io fetching into Bazel.
To update dependencies, ensure a local Rust environment is available
(eg install rustup), then run:
```
cargo install cargo-raze --version 0.8.0
```
After updating dependencies in ../rslib/Cargo.toml, change to this After updating dependencies in ../rslib/Cargo.toml, change to this
folder and run python update.py to update the external Bazel repositories folder and run python update.py to update the external Bazel repositories
to point to the updated deps. to point to the updated deps.
Currently you'll need to:
- have a local Rust environment installed
- fetch cargo-raze from GitHub
- check out 52f20dda88da0feb696ec2fea32e82840d203c13
- then change to the impl folder, and run 'cargo install --path .' to install it.
A couple of crates need extra work to build with Bazel, and are listed A couple of crates need extra work to build with Bazel, and are listed
in ../Cargo.toml. For example: in ../Cargo.toml. For example: