8 breaking releases

0.11.0 Nov 29, 2024
0.9.0 Sep 27, 2024

#1053 in Network programming

Download history 200/week @ 2024-09-06 212/week @ 2024-09-13 171/week @ 2024-09-20 225/week @ 2024-09-27 13/week @ 2024-10-04 12/week @ 2024-10-11 4/week @ 2024-10-18 91/week @ 2024-10-25 47/week @ 2024-11-01 11/week @ 2024-11-08 73/week @ 2024-11-15 376/week @ 2024-11-22 332/week @ 2024-11-29

797 downloads per month

MIT license

10MB
145K SLoC

Bazel 133K SLoC // 0.1% comments Go 7K SLoC // 0.3% comments Rust 5K SLoC // 0.0% comments Shell 250 SLoC // 0.3% comments Forge Config 2 SLoC // 0.8% comments

Bazel Remote Apis for Rust

Usage

To use in your project, add into [dependencies]:

bazel-remote-apis = { git = "https://github.com/amkartashov/bazel-remote-apis-rust", tag = "0.2.0" }

Development

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

Dependencies

~5–11MB
~116K SLoC