Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions on how to update Rustboard dependencies. (tensorflow…
…#5757) Update instructions about how to update Rust dependencies, based on my experiences with tensorflow#5755. Notably: * Recommend using `cargo update -p <dependency name>` instead of `cargo fetch` when updating an existing dependency. `cargo fetch` will work when updating a dependency to a new major release but will not work when updating a dependency to a new minor release. * Recommend updating crate-specific metadata versions in `Cargo.toml` based on the update to crate versions in `Cargo.lock`. Do this before running `cargo raze` to avoid unnecessary confusion. * The targets to test are actually in `//tensorboard/data/server/cargo`. There do not appear to be valid targets in `//third_party/rust`. * Run `bazel test tensorboard/data/server:update_protos_test` to determine if the proto source files need to be updated. It's best to run this test first before attempting to test, build, and run the rest of the server, otherwise the error messages can be quite confusing.
- Loading branch information