Skip to content

Commit

Permalink
Cleanup instructions for updating dependencies. (#60)
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
  • Loading branch information
PiotrSikora authored Dec 4, 2020
1 parent 56a680a commit 42572fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
+ [Extending Envoy with WASM and Rust](https://antweiss.com/blog/extending-envoy-with-wasm-and-rust/)
+ [Extending Istio with Rust and WebAssembly](https://blog.red-badger.com/extending-istio-with-rust-and-webassembly)

# Updating dependencies
## Updating dependencies

When updating dependencies, you need to regenerate `BUILD` files to match updated `Cargo.toml`:
When updating dependencies, you need to regenerate Bazel `BUILD` files to match updated `Cargo.toml`:
```
cargo install cargo-raze --git https://github.com/google/cargo-raze --rev cb9f85d22b1c81cceb9acaf1fa4336c5fc4e6bff
cargo install cargo-raze --version 0.7.0
rm -rf bazel/cargo/
cargo generate-lockfile
cargo raze --output=bazel/cargo
Expand Down

0 comments on commit 42572fb

Please sign in to comment.