Crates.io | bazel-remote-apis |
lib.rs | bazel-remote-apis |
version | |
source | src |
created_at | 2024-09-08 18:42:52.384658 |
updated_at | 2024-11-29 05:39:37.340121 |
description | Rust bindings for Bazel Remote APIs |
homepage | https://github.com/amkartashov/bazel-remote-apis-rust |
repository | https://github.com/amkartashov/bazel-remote-apis-rust.git |
max_upload_size | |
id | 1368455 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
To use in your project, add into [dependencies]
:
bazel-remote-apis = { git = "https://github.com/amkartashov/bazel-remote-apis-rust", tag = "0.2.0" }
Protobuf files are vendored with git-vendor:
$ git vendor list
googleapis@master:
name: googleapis
dir: bzl-remote-apis/thirdparty/github.com/googleapis/googleapis
repo: https://github.com/googleapis/googleapis
ref: master
commit: 351713de98ef863ad79e24e46a3d72c5f656d960
remote-apis@main:
name: remote-apis
dir: bzl-remote-apis/thirdparty/github.com/bazelbuild/remote-apis
repo: https://github.com/bazelbuild/remote-apis.git
ref: main
commit: 080024152253a987d6bc4bcba4b20aa3484c1488
Build script is used to generate Rust source code from proto files into src/generated
.
To update vendored dependencies and generate code run:
git vendor update googleapis
git vendor update bazel-remote-apis
cargo build --features codegen